![]() |
TrinityCore
|
#include <SpawnData.h>
Inheritance diagram for SpawnMetadata:Public Member Functions | |
| SpawnData const * | ToSpawnData () const |
Static Public Member Functions | |
| static constexpr bool | TypeInMask (SpawnObjectType type, SpawnObjectTypeMask mask) |
| static constexpr bool | TypeHasData (SpawnObjectType type) |
| static constexpr bool | TypeIsValid (SpawnObjectType type) |
Public Attributes | |
| 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 |
Static Public Attributes | |
| template<typename T > | |
| static constexpr SpawnObjectType | TypeFor = Trinity::Impl::SpawnObjectTypeForImpl<T>::value |
Protected Member Functions | |
| SpawnMetadata (SpawnObjectType t) | |
Definition at line 110 of file SpawnData.h.
|
inlineprotected |
Definition at line 130 of file SpawnData.h.
|
inline |
Definition at line 118 of file SpawnData.h.
References type, and TypeHasData().
Referenced by list_commandscript::HandleListRespawnsCommand(), WorldSession::HandleSpawnTrackingUpdate(), InstanceScenario::LoadInstanceData(), ObjectMgr::LoadSpawnTrackings(), Map::ShouldBeSpawnedOnGridLoad(), Map::SpawnGroupSpawn(), and Player::UpdateQuestObjectiveProgress().
|
inlinestaticconstexpr |
Definition at line 113 of file SpawnData.h.
References NUM_SPAWN_TYPES_WITH_DATA, and type.
Referenced by Map::AddRespawnInfo(), ObjectMgr::GetSpawnData(), ObjectMgr::GetSpawnMetadata(), Map::LoadRespawnTimes(), Map::ShouldBeSpawnedOnGridLoad(), Map::SpawnGroupSpawn(), and ToSpawnData().
|
inlinestaticconstexpr |
Definition at line 112 of file SpawnData.h.
References type.
|
inlinestaticconstexpr |
Definition at line 114 of file SpawnData.h.
References NUM_SPAWN_TYPES, and type.
Referenced by ObjectMgr::LoadSpawnGroups(), ObjectMgr::LoadSpawnTrackings(), and ObjectMgr::LoadSpawnTrackingStates().
| bool SpawnMetadata::dbData = true |
Definition at line 123 of file SpawnData.h.
Referenced by Creature::SaveRespawnTime().
| uint32 SpawnMetadata::mapId = MAPID_INVALID |
Definition at line 122 of file SpawnData.h.
Referenced by ObjectMgr::AddSpawnDataToGrid(), GameEventMgr::ChangeEquipOrModel(), Creature::DeleteFromDB(), GameObject::DeleteFromDB(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::GetCreatureEntry(), go_commandscript::HandleGoBossCommand(), go_commandscript::HandleGoCreatureCIdCommand(), go_commandscript::HandleGoCreatureSpawnIdCommand(), go_commandscript::HandleGoGameObjectGOIdCommand(), go_commandscript::HandleGoGameObjectSpawnIdCommand(), list_commandscript::HandleListSpawnPointsCommand(), npc_commandscript::HandleNpcMoveCommand(), tele_commandscript::HandleTeleNameNpcIdCommand(), tele_commandscript::HandleTeleNameNpcSpawnIdCommand(), AreaTriggerDataStore::LoadAreaTriggerSpawns(), ObjectMgr::LoadCreatures(), PoolMgr::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadLinkedRespawn(), ObjectMgr::LoadSpawnGroups(), ObjectMgr::LoadSpawnTrackings(), ObjectMgr::RemoveSpawnDataFromGrid(), Creature::SaveToDB(), GameObject::SaveToDB(), ObjectMgr::SetCreatureLinkedRespawn(), Map::SpawnGroupDespawn(), and Map::SpawnGroupSpawn().
| SpawnGroupTemplateData const* SpawnMetadata::spawnGroupData = nullptr |
Definition at line 124 of file SpawnData.h.
Referenced by Map::ApplyDynamicModeRespawnScaling(), Map::CheckRespawn(), ObjectMgr::GetSpawnGroupData(), gobject_commandscript::HandleGameObjectInfoCommand(), list_commandscript::HandleListRespawnsCommand(), npc_commandscript::HandleNpcAddCommand(), npc_commandscript::HandleNpcInfoCommand(), AreaTriggerDataStore::LoadAreaTriggerSpawns(), ObjectMgr::LoadCreatures(), Creature::LoadFromDB(), GameObject::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadSpawnGroups(), ObjectMgr::OnDeleteSpawnData(), Creature::SaveToDB(), GameObject::SaveToDB(), Map::ShouldBeSpawnedOnGridLoad(), and Creature::Update().
| uint64 SpawnMetadata::spawnId = 0 |
Definition at line 121 of file SpawnData.h.
Referenced by ObjectMgr::AddSpawnDataToGrid(), gobject_commandscript::HandleGameObjectInfoCommand(), go_commandscript::HandleGoBossCommand(), list_commandscript::HandleListSpawnPointsCommand(), npc_commandscript::HandleNpcAddCommand(), AreaTriggerDataStore::LoadAreaTriggerSpawns(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadGameObjects(), ObjectMgr::OnDeleteSpawnData(), ObjectMgr::RemoveSpawnDataFromGrid(), Map::SaveRespawnTime(), Creature::SaveToDB(), GameObject::SaveToDB(), Map::SpawnGroupDespawn(), and Map::SpawnGroupSpawn().
| SpawnTrackingTemplateData const* SpawnMetadata::spawnTrackingData = nullptr |
Definition at line 125 of file SpawnData.h.
Referenced by ObjectMgr::LoadSpawnTrackings(), ObjectMgr::LoadSpawnTrackingStates(), ObjectMgr::OnDeleteSpawnData(), Player::UpdateQuestObjectiveProgress(), and Player::UpdateVisibleObjectInteractions().
| std::vector<uint32> SpawnMetadata::spawnTrackingQuestObjectives |
Definition at line 126 of file SpawnData.h.
Referenced by GameObject::LoadFromDB(), Creature::UpdateEntry(), Player::UpdateQuestObjectiveProgress(), and Player::UpdateVisibleObjectInteractions().
| std::array<SpawnTrackingStateData, size_t(SpawnTrackingState::Max)> SpawnMetadata::spawnTrackingStates |
Definition at line 127 of file SpawnData.h.
Referenced by Player::UpdateQuestObjectiveProgress().
| SpawnObjectType const SpawnMetadata::type |
Definition at line 120 of file SpawnData.h.
Referenced by list_commandscript::HandleListSpawnPointsCommand(), ObjectMgr::OnDeleteSpawnData(), Map::SaveRespawnTime(), Map::SpawnGroupDespawn(), Map::SpawnGroupSpawn(), ToSpawnData(), TypeHasData(), TypeInMask(), and TypeIsValid().
|
staticconstexpr |
Definition at line 116 of file SpawnData.h.