Core/SAI: Added SAI support for new areatriggers
Port From (https://github.com/TrinityCore/TrinityCore/commit/875fd4107f29c00f148ea77c6ff6d49f7ca92b76)
This commit is contained in:
@@ -2779,6 +2779,8 @@ namespace Game.Entities
|
||||
|
||||
public GameObjectAI GetAI() { return m_AI; }
|
||||
|
||||
public T GetAI<T>() where T : GameObjectAI { return (T)m_AI; }
|
||||
|
||||
public uint GetDisplayId() { return m_gameObjectData.DisplayID; }
|
||||
|
||||
public uint GetFaction() { return m_gameObjectData.FactionTemplate; }
|
||||
|
||||
Reference in New Issue
Block a user