mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 10:37:02 +00:00
[9580] Add ObjectGuid const& Object::GetObjectGuid() and restore build.
This commit is contained in:
parent
2bf75e7a10
commit
ab7840a591
16 changed files with 32 additions and 32 deletions
|
|
@ -420,7 +420,7 @@ class ObjectMgr
|
|||
typedef std::vector<std::string> ScriptNameMap;
|
||||
|
||||
Player* GetPlayer(const char* name) const { return ObjectAccessor::FindPlayerByName(name);}
|
||||
Player* GetPlayer(uint64 guid) const { return ObjectAccessor::FindPlayer(guid); }
|
||||
Player* GetPlayer(ObjectGuid guid) const { return ObjectAccessor::FindPlayer(guid); }
|
||||
|
||||
static GameObjectInfo const *GetGameObjectInfo(uint32 id) { return sGOStorage.LookupEntry<GameObjectInfo>(id); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue