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
|
|
@ -70,6 +70,7 @@ void InstanceScript::OnGameObjectCreate(GameObject* go)
|
|||
{
|
||||
AddObject(go);
|
||||
AddDoor(go);
|
||||
sScriptMgr->AfterInstanceGameObjectCreate(instance, go);
|
||||
}
|
||||
|
||||
void InstanceScript::OnGameObjectRemove(GameObject* go)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue