Core: Add function to find players by low guid

--HG--
branch : trunk
This commit is contained in:
Spp
2010-09-13 09:16:57 +02:00
parent 62d0d8921d
commit 6e55c22a12
2 changed files with 9 additions and 2 deletions
+1
View File
@@ -394,6 +394,7 @@ class ObjectMgr
Player* GetPlayer(const char* name) const { return sObjectAccessor.FindPlayerByName(name);}
Player* GetPlayer(uint64 guid) const { return ObjectAccessor::FindPlayer(guid); }
Player* GetPlayerByLowGUID(uint32 lowguid) const;
static GameObjectInfo const *GetGameObjectInfo(uint32 id) { return sGOStorage.LookupEntry<GameObjectInfo>(id); }
int LoadReferenceVendor(int32 vendor, int32 item_id, std::set<uint32> *skip_vendors);