mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 10:55:43 +00:00
feat(Core/Instance): InstanceScript: create Remove functions (#17702)
InstanceScript: create `Remove` helper functions
This commit is contained in:
@@ -275,12 +275,17 @@ protected:
|
||||
void LoadMinionData(MinionData const* data);
|
||||
void LoadObjectData(ObjectData const* creatureData, ObjectData const* gameObjectData);
|
||||
|
||||
void AddObject(Creature* obj, bool add);
|
||||
void AddObject(GameObject* obj, bool add);
|
||||
void AddObject(WorldObject* obj, uint32 type, bool add);
|
||||
void AddObject(Creature* obj, bool add = true);
|
||||
void RemoveObject(Creature* obj);
|
||||
void AddObject(GameObject* obj, bool add = true);
|
||||
void RemoveObject(GameObject* obj);
|
||||
void AddObject(WorldObject* obj, uint32 type, bool add = true);
|
||||
void RemoveObject(WorldObject* obj, uint32 type);
|
||||
|
||||
void AddDoor(GameObject* door, bool add);
|
||||
void AddMinion(Creature* minion, bool add);
|
||||
void AddDoor(GameObject* door, bool add = true);
|
||||
void RemoveDoor(GameObject* door);
|
||||
void AddMinion(Creature* minion, bool add = true);
|
||||
void RemoveMinion(Creature* minion);
|
||||
|
||||
void UpdateDoorState(GameObject* door);
|
||||
void UpdateMinionState(Creature* minion, EncounterState state);
|
||||
|
||||
Reference in New Issue
Block a user