mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-15 10:00:28 +00:00
feat(Core/Scripting): Implement AfterInstanceGameObjectCreate() global hook (#17935)
This commit is contained in:
@@ -72,6 +72,9 @@ public:
|
||||
|
||||
// Called when any raid boss has their state updated (e.g. pull, reset, kill)
|
||||
virtual void OnBeforeSetBossState(uint32 /*id*/, EncounterState /*newState*/, EncounterState /*oldState*/, Map* /*instance*/) { }
|
||||
|
||||
// Called when a gameobject is created by an instance
|
||||
virtual void AfterInstanceGameObjectCreate(Map* /*instance*/, GameObject* /*go*/) { }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user