This commit is contained in:
Kittnz
2017-02-17 20:19:05 +01:00
parent 343d2c7f91
commit a5ccbe9906

View File

@@ -485,8 +485,8 @@ class TC_GAME_API GameObjectScript : public ScriptObject, public UpdatableScript
// Called when a GameObjectAI object is needed for the gameobject.
virtual GameObjectAI* GetAI(GameObject* /*go*/) const { return NULL; }
// Called when specific game event starts.
// Called when specific game event starts.
virtual void OnGameEvent(bool /*start*/, uint16 /*eventId*/) { }
};
@@ -988,7 +988,7 @@ class TC_GAME_API ScriptMgr
void OnGameObjectStateChanged(GameObject* go, uint32 state);
void OnGameObjectUpdate(GameObject* go, uint32 diff);
GameObjectAI* GetGameObjectAI(GameObject* go);
void OnGameEvent(bool start, uint16 eventId);
void OnGameEvent(bool start, uint16 eventId);
public: /* AreaTriggerScript */