Core/GameObject: Implement method GetDisplayId, use it for GameObjectModels
This commit is contained in:
1 parent
24d1a5a98e
commit
d45a768810
2 files changed
+2
-1
No files matched your search
@@ -802,6 +802,7 @@ class GameObject : public WorldObject, public GridObject<GameObject>
|
||||
|
||||
std::string GetAIName() const;
|
||||
void SetDisplayId(uint32 displayid);
|
||||
uint32 GetDisplayId() const { return GetUInt32Value(GAMEOBJECT_DISPLAYID); }
|
||||
|
||||
GameObjectModel * m_model;
|
||||
protected:
|
||||
|
||||
Reference in new issue
Block a user