![]() |
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 |
| uint32 | spawnId = 0 |
| uint32 | mapId = MAPID_INVALID |
| bool | dbData = true |
| SpawnGroupTemplateData const * | spawnGroupData = nullptr |
Static Public Attributes | |
| template<typename T > | |
| static constexpr SpawnObjectType | TypeFor = Trinity::Impl::SpawnObjectTypeForImpl<T>::value |
Protected Member Functions | |
| SpawnMetadata (SpawnObjectType t) | |
Definition at line 74 of file SpawnData.h.
|
inlineprotected |
Definition at line 91 of file SpawnData.h.
|
inline |
Definition at line 82 of file SpawnData.h.
References type, and TypeHasData().
Referenced by list_commandscript::HandleListRespawnsCommand(), and Map::SpawnGroupSpawn().
|
inlinestaticconstexpr |
Definition at line 77 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 76 of file SpawnData.h.
References type.
|
inlinestaticconstexpr |
Definition at line 78 of file SpawnData.h.
References NUM_SPAWN_TYPES, and type.
Referenced by ObjectMgr::LoadSpawnGroups().
| bool SpawnMetadata::dbData = true |
Definition at line 87 of file SpawnData.h.
Referenced by ObjectMgr::AddCreatureData(), ObjectMgr::AddGameObjectData(), and Creature::SaveRespawnTime().
| uint32 SpawnMetadata::mapId = MAPID_INVALID |
Definition at line 86 of file SpawnData.h.
Referenced by ObjectMgr::AddCreatureData(), ObjectMgr::AddCreatureToGrid(), ObjectMgr::AddGameObjectData(), ObjectMgr::AddGameobjectToGrid(), 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(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadLinkedRespawn(), ObjectMgr::LoadSpawnGroups(), ObjectMgr::RemoveCreatureFromGrid(), ObjectMgr::RemoveGameobjectFromGrid(), Creature::SaveToDB(), GameObject::SaveToDB(), ObjectMgr::SetCreatureLinkedRespawn(), Map::SpawnGroupDespawn(), and Map::SpawnGroupSpawn().
| SpawnGroupTemplateData const* SpawnMetadata::spawnGroupData = nullptr |
Definition at line 88 of file SpawnData.h.
Referenced by BattlegroundAV::AddAVCreature(), ObjectMgr::AddCreatureData(), ObjectMgr::AddGameObjectData(), Map::ApplyDynamicModeRespawnScaling(), Map::CheckRespawn(), ObjectMgr::GetSpawnGroupData(), gobject_commandscript::HandleGameObjectInfoCommand(), list_commandscript::HandleListRespawnsCommand(), npc_commandscript::HandleNpcAddCommand(), npc_commandscript::HandleNpcInfoCommand(), ObjectMgr::LoadCreatures(), Creature::LoadFromDB(), GameObject::LoadFromDB(), ObjectMgr::LoadGameObjects(), ObjectMgr::LoadSpawnGroups(), ObjectMgr::OnDeleteSpawnData(), Creature::SaveToDB(), GameObject::SaveToDB(), Map::ShouldBeSpawnedOnGridLoad(), and Creature::Update().
| uint32 SpawnMetadata::spawnId = 0 |
Definition at line 85 of file SpawnData.h.
Referenced by ObjectMgr::AddCreatureData(), ObjectMgr::AddGameObjectData(), gobject_commandscript::HandleGameObjectInfoCommand(), go_commandscript::HandleGoBossCommand(), list_commandscript::HandleListSpawnPointsCommand(), npc_commandscript::HandleNpcAddCommand(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadGameObjects(), ObjectMgr::OnDeleteSpawnData(), Map::SaveRespawnTime(), Creature::SaveToDB(), GameObject::SaveToDB(), Map::SpawnGroupDespawn(), and Map::SpawnGroupSpawn().
| SpawnObjectType const SpawnMetadata::type |
Definition at line 84 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 80 of file SpawnData.h.