feat(Core/Scripting): Implement AfterInstanceGameObjectCreate() global hook (#17935)
This commit is contained in:
parent
8702568033
commit
0fa6a67815
4 changed files with 19 additions and 0 deletions
|
|
@ -518,6 +518,7 @@ public: /* GlobalScript */
|
|||
bool OnAllowedToLootContainerCheck(Player const* player, ObjectGuid source);
|
||||
void OnInstanceIdRemoved(uint32 instanceId);
|
||||
void OnBeforeSetBossState(uint32 id, EncounterState newState, EncounterState oldState, Map* instance);
|
||||
void AfterInstanceGameObjectCreate(Map* instance, GameObject* go);
|
||||
|
||||
public: /* Scheduled scripts */
|
||||
uint32 IncreaseScheduledScriptsCount() { return ++_scheduledScripts; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue