![]() |
TrinityCore
|
#include <SpawnData.h>
Inheritance diagram for SpawnData:Public Attributes | |
| uint32 | id = 0 |
| Position | spawnPoint |
| uint8 | phaseUseFlags = 0 |
| uint32 | phaseId = 0 |
| uint32 | phaseGroup = 0 |
| int32 | terrainSwapMap = -1 |
| uint32 | poolId = 0 |
| int32 | spawntimesecs = 0 |
| std::vector< Difficulty > | spawnDifficulties |
| uint32 | scriptId = 0 |
| std::string | StringId |
Public Attributes inherited from SpawnMetadata | |
| SpawnObjectType const | type |
| uint64 | spawnId = 0 |
| uint32 | mapId = MAPID_INVALID |
| bool | dbData = true |
| SpawnGroupTemplateData const * | spawnGroupData = nullptr |
| SpawnTrackingTemplateData const * | spawnTrackingData = nullptr |
| std::vector< uint32 > | spawnTrackingQuestObjectives |
| std::array< SpawnTrackingStateData, size_t(SpawnTrackingState::Max)> | spawnTrackingStates |
Protected Member Functions | |
| SpawnData (SpawnObjectType t) | |
Protected Member Functions inherited from SpawnMetadata | |
| SpawnMetadata (SpawnObjectType t) | |
Additional Inherited Members | |
Public Member Functions inherited from SpawnMetadata | |
| SpawnData const * | ToSpawnData () const |
Static Public Member Functions inherited from SpawnMetadata | |
| static constexpr bool | TypeInMask (SpawnObjectType type, SpawnObjectTypeMask mask) |
| static constexpr bool | TypeHasData (SpawnObjectType type) |
| static constexpr bool | TypeIsValid (SpawnObjectType type) |
Static Public Attributes inherited from SpawnMetadata | |
| template<typename T > | |
| static constexpr SpawnObjectType | TypeFor = Trinity::Impl::SpawnObjectTypeForImpl<T>::value |
Definition at line 133 of file SpawnData.h.
|
inlineprotected |
Definition at line 148 of file SpawnData.h.
| uint32 SpawnData::id = 0 |
Definition at line 135 of file SpawnData.h.
Referenced by instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::GetCreatureEntry(), instance_forge_of_souls::instance_forge_of_souls_InstanceScript::GetCreatureEntry(), instance_pit_of_saron::instance_pit_of_saron_InstanceScript::GetCreatureEntry(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::GetCreatureEntry(), instance_nexus::instance_nexus_InstanceMapScript::GetCreatureEntry(), instance_ulduar::instance_ulduar_InstanceMapScript::GetCreatureEntry(), gobject_commandscript::HandleGameObjectInfoCommand(), go_commandscript::HandleGoBossCommand(), list_commandscript::HandleListSpawnPointsCommand(), npc_commandscript::HandleNpcAddCommand(), WorldSession::HandleSpawnTrackingUpdate(), tele_commandscript::HandleTeleNameNpcSpawnIdCommand(), SmartAIMgr::IsEventValid(), SmartAIMgr::IsTargetValid(), SmartAIMgr::IsTextValid(), ObjectMgr::LoadCreatures(), Creature::LoadFromDB(), GameObject::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadLinkedRespawn(), ObjectMgr::LoadScripts(), SmartAIMgr::LoadSmartAIFromDB(), Creature::SaveToDB(), GameObject::SaveToDB(), ObjectMgr::SetCreatureLinkedRespawn(), and Player::UpdateQuestObjectiveProgress().
| uint32 SpawnData::phaseGroup = 0 |
Definition at line 139 of file SpawnData.h.
Referenced by AreaTrigger::Create(), Creature::Create(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), AreaTriggerDataStore::LoadAreaTriggerSpawns(), ObjectMgr::LoadCreatures(), GameObject::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadSpawnTrackings(), Creature::SaveToDB(), GameObject::SaveToDB(), and Player::UpdateQuestObjectiveProgress().
| uint32 SpawnData::phaseId = 0 |
Definition at line 138 of file SpawnData.h.
Referenced by ObjectMgr::AddSpawnDataToGrid(), AreaTrigger::Create(), Creature::Create(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), AreaTriggerDataStore::LoadAreaTriggerSpawns(), ObjectMgr::LoadCreatures(), GameObject::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadSpawnTrackings(), ObjectMgr::RemoveSpawnDataFromGrid(), Creature::SaveToDB(), GameObject::SaveToDB(), and Player::UpdateQuestObjectiveProgress().
| uint8 SpawnData::phaseUseFlags = 0 |
Definition at line 137 of file SpawnData.h.
Referenced by AreaTrigger::Create(), Creature::Create(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), AreaTriggerDataStore::LoadAreaTriggerSpawns(), ObjectMgr::LoadCreatures(), GameObject::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadSpawnTrackings(), Creature::SaveToDB(), GameObject::SaveToDB(), and Player::UpdateQuestObjectiveProgress().
| uint32 SpawnData::poolId = 0 |
Definition at line 141 of file SpawnData.h.
Referenced by GameObject::Delete(), ObjectMgr::LoadCreatures(), GameEventMgr::LoadFromDB(), Creature::LoadFromDB(), ObjectMgr::LoadGameObjects(), Creature::Respawn(), Map::ShouldBeSpawnedOnGridLoad(), and GameObject::Update().
| uint32 SpawnData::scriptId = 0 |
Definition at line 144 of file SpawnData.h.
Referenced by AreaTriggerDataStore::LoadAreaTriggerSpawns(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadGameObjects(), Creature::SaveToDB(), and GameObject::SaveToDB().
| std::vector<Difficulty> SpawnData::spawnDifficulties |
Definition at line 143 of file SpawnData.h.
Referenced by ObjectMgr::AddSpawnDataToGrid(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadLinkedRespawn(), ObjectMgr::RemoveSpawnDataFromGrid(), Creature::SaveToDB(), GameObject::SaveToDB(), Creature::SaveToDB(), GameObject::SaveToDB(), and ObjectMgr::SetCreatureLinkedRespawn().
| Position SpawnData::spawnPoint |
Definition at line 136 of file SpawnData.h.
Referenced by ObjectMgr::AddSpawnDataToGrid(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::GetCreatureEntry(), GameObject::GetRespawnPosition(), Creature::GetRespawnPosition(), gobject_commandscript::HandleGameObjectInfoCommand(), go_commandscript::HandleGoCreatureCIdCommand(), go_commandscript::HandleGoCreatureSpawnIdCommand(), go_commandscript::HandleGoGameObjectGOIdCommand(), go_commandscript::HandleGoGameObjectSpawnIdCommand(), list_commandscript::HandleListSpawnPointsCommand(), npc_commandscript::HandleNpcAddCommand(), tele_commandscript::HandleTeleNameNpcIdCommand(), tele_commandscript::HandleTeleNameNpcSpawnIdCommand(), AreaTriggerDataStore::LoadAreaTriggerSpawns(), ObjectMgr::LoadCreatures(), AreaTrigger::LoadFromDB(), Creature::LoadFromDB(), GameObject::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::RemoveSpawnDataFromGrid(), Creature::SaveToDB(), and GameObject::SaveToDB().
| int32 SpawnData::spawntimesecs = 0 |
Definition at line 142 of file SpawnData.h.
Referenced by GameObject::DespawnOrUnsummon(), ObjectMgr::LoadCreatures(), Creature::LoadFromDB(), GameObject::LoadFromDB(), ObjectMgr::LoadGameObjects(), Creature::SaveToDB(), and GameObject::SaveToDB().
| std::string SpawnData::StringId |
Definition at line 145 of file SpawnData.h.
Referenced by ObjectMgr::LoadCreatures(), Creature::LoadFromDB(), GameObject::LoadFromDB(), and ObjectMgr::LoadGameObjects().
| int32 SpawnData::terrainSwapMap = -1 |
Definition at line 140 of file SpawnData.h.
Referenced by Creature::Create(), Transport::CreateGOPassenger(), Transport::CreateNPCPassenger(), ObjectMgr::LoadCreatures(), GameObject::LoadFromDB(), ObjectMgr::LoadGameObjects(), Creature::SaveToDB(), and GameObject::SaveToDB().