Jump to content

GetCreatureInWorld function


Guest Prefect

Recommended Posts

hi all, i have a problem, i use SD2 and i need this function, i set access to FindPlayer() function by _declspec(dllexport) :

        // Player access
       static _declspec(dllexport) Player* FindPlayer(ObjectGuid guid);

But when i set same to GetCreatureInWorld :

        static _declspec(dllexport) Creature*   GetCreatureInWorld(ObjectGuid guid)

I get a compile error :

8>ScriptMgr.obj : error LNK2001: unresolved external symbol ""public: static class std::list<class Map *,class std::allocator<class Map *> > ObjectAccessor::i_mapList" (?i_mapList@ObjectAccessor@@2V?$list@PEAVMap@@V?$allocator@PEAVMap@@@std@@@std@@A)"

What i need to do to allow use this function from SD2 ?

*Sorry for bad english

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use