Reverting: Game/Scripting: Add OnGameEvent hook for game objects.

This commit is contained in:
Aokromes committed 2017-02-19 09:09:43 +01:00
1 parent e956ea4e62
commit e09c37334d
3 files changed
-15

No files matched your search

-4
View File
@@ -483,9 +483,6 @@ 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.
virtual void OnGameEvent(bool /*start*/, uint16 /*eventId*/) { }
};
class TC_GAME_API AreaTriggerScript : public ScriptObject
@@ -986,7 +983,6 @@ 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);
public: /* AreaTriggerScript */