mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-13 15:33:59 +00:00
feat(Core/Instances): Implement SummonData (#20582)
This commit is contained in:
@@ -288,6 +288,11 @@ protected:
|
||||
void LoadDoorData(DoorData const* data);
|
||||
void LoadMinionData(MinionData const* data);
|
||||
void LoadObjectData(ObjectData const* creatureData, ObjectData const* gameObjectData);
|
||||
// Allows setting another creature as summoner for a creature.
|
||||
// This is used to handle summons that are not directly controlled by the summoner.
|
||||
// Summoner creature must be loaded in the instance data (LoadObjectData).
|
||||
void LoadSummonData(ObjectData const* data);
|
||||
void SetSummoner(Creature* creature);
|
||||
|
||||
void AddObject(Creature* obj, bool add = true);
|
||||
void RemoveObject(Creature* obj);
|
||||
@@ -324,6 +329,7 @@ private:
|
||||
MinionInfoMap minions;
|
||||
ObjectInfoMap _creatureInfo;
|
||||
ObjectInfoMap _gameObjectInfo;
|
||||
ObjectInfoMap _summonInfo;
|
||||
ObjectGuidMap _objectGuids;
|
||||
ObjectStateMap _objectStateMap;
|
||||
uint32 completedEncounters; // completed encounter mask, bit indexes are DungeonEncounter.dbc boss numbers, used for packets
|
||||
|
||||
Reference in New Issue
Block a user