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