![]() |
TrinityCore
|
#include <DB2Structure.h>
Public Member Functions | |
| uint8 | Expansion () const |
| bool | IsDungeon () const |
| bool | IsNonRaidDungeon () const |
| bool | Instanceable () const |
| bool | IsRaid () const |
| bool | IsBattleground () const |
| bool | IsBattleArena () const |
| bool | IsBattlegroundOrArena () const |
| bool | IsScenario () const |
| bool | IsWorldMap () const |
| bool | GetEntrancePos (int32 &mapid, float &x, float &y) const |
| bool | IsContinent () const |
| bool | IsDynamicDifficultyMap () const |
| bool | IsFlexLocking () const |
| bool | IsGarrison () const |
| bool | IsSplitByFaction () const |
| EnumFlag< MapFlags > | GetFlags () const |
| EnumFlag< MapFlags2 > | GetFlags2 () const |
| EnumFlag< MapFlags3 > | GetFlags3 () const |
Public Attributes | |
| uint32 | ID |
| char const * | Directory |
| LocalizedString | MapName |
| LocalizedString | MapDescription0 |
| LocalizedString | MapDescription1 |
| LocalizedString | PvpShortDescription |
| LocalizedString | PvpLongDescription |
| DBCPosition2D | Corpse |
| uint8 | MapType |
| int8 | InstanceType |
| uint8 | ExpansionID |
| uint16 | AreaTableID |
| int16 | LoadingScreenID |
| int16 | TimeOfDayOverride |
| int16 | ParentMapID = 0 |
| int16 | CosmeticParentMapID |
| uint8 | TimeOffset |
| float | MinimapIconScale |
| int16 | CorpseMapID |
| uint8 | MaxPlayers |
| int16 | WindSettingsID |
| int32 | ZmpFileDataID |
| int32 | WdtFileDataID |
| int32 | NavigationMaxDistance |
| int32 | PreloadFileDataID |
| std::array< int32, 3 > | Flags |
| uint32 | Id = 0 |
| int32 | WdtFileDataId = 0 |
| std::string | Name |
| std::string | Directory |
| uint32 | ChildDepth = 0 |
| bool | IsParent = false |
Definition at line 2898 of file DB2Structure.h.
|
inline |
Definition at line 2928 of file DB2Structure.h.
References ExpansionID.
Referenced by Player::_LoadHomeBind(), Player::CheckInstanceValidity(), Player::LoadFromDB(), Map::PlayerCannotEnter(), and Player::TeleportTo().
|
inline |
Definition at line 2940 of file DB2Structure.h.
References CorpseMapID.
Referenced by Map::GetEntrancePos().
Definition at line 2985 of file DB2Structure.h.
References Flags.
Referenced by IsDynamicDifficultyMap(), IsFlexLocking(), and IsGarrison().
Definition at line 2986 of file DB2Structure.h.
References Flags.
Referenced by Map::PlayerCannotEnter().
Definition at line 2987 of file DB2Structure.h.
References Flags.
|
inline |
Definition at line 2932 of file DB2Structure.h.
References InstanceType, MAP_ARENA, MAP_BATTLEGROUND, MAP_INSTANCE, MAP_RAID, and MAP_SCENARIO.
Referenced by Player::_LoadHomeBind(), Player::GetInstanceEntrance(), Map::Instanceable(), ObjectMgr::LoadLinkedRespawn(), Map::PlayerCannotEnter(), and ObjectMgr::SetCreatureLinkedRespawn().
|
inline |
Definition at line 2935 of file DB2Structure.h.
References InstanceType, and MAP_ARENA.
Referenced by SpellInfo::CheckLocation(), Map::IsBattleArena(), and Player::TeleportTo().
|
inline |
Definition at line 2934 of file DB2Structure.h.
References InstanceType, and MAP_BATTLEGROUND.
Referenced by SpellInfo::CheckLocation(), and Map::IsBattleground().
|
inline |
Definition at line 2936 of file DB2Structure.h.
References InstanceType, MAP_ARENA, and MAP_BATTLEGROUND.
Referenced by MapManager::CreateMap(), MapManager::FindInstanceIdForPlayer(), WorldSession::HandleMoveWorldportAck(), tele_commandscript::HandleTeleCommand(), tele_commandscript::HandleTeleGroupCommand(), Map::IsBattlegroundOrArena(), BattlegroundMgr::LoadBattlegroundScriptTemplate(), Player::LoadFromDB(), and Player::TeleportTo().
|
inline |
Definition at line 2951 of file DB2Structure.h.
References ID.
|
inline |
Definition at line 2930 of file DB2Structure.h.
References InstanceType, IsGarrison(), MAP_INSTANCE, MAP_RAID, and MAP_SCENARIO.
Referenced by SpellInfo::CheckLocation(), MapManager::CreateMap(), MapManager::FindInstanceIdForPlayer(), ObjectMgr::GetGoBackTrigger(), debug_commandscript::HandleDebugRaidResetCommand(), WorldSession::HandleMoveWorldportAck(), DisableMgr::IsDisabledFor(), Map::IsDungeon(), ObjectMgr::LoadCreatures(), Player::LoadFromDB(), and Map::PlayerCannotEnter().
|
inline |
Definition at line 2973 of file DB2Structure.h.
References DynamicDifficulty, and GetFlags().
|
inline |
Definition at line 2974 of file DB2Structure.h.
References FlexibleRaidLocking, and GetFlags().
Referenced by InstanceLockMgr::CanJoinInstanceLock(), and InstanceMap::Reset().
|
inline |
Definition at line 2975 of file DB2Structure.h.
References Garrison, and GetFlags().
Referenced by MapManager::CreateMap(), MapManager::FindInstanceIdForPlayer(), IsDungeon(), and Map::IsGarrison().
|
inline |
Definition at line 2931 of file DB2Structure.h.
References InstanceType, and MAP_INSTANCE.
Referenced by Map::IsNonRaidDungeon().
|
inline |
Definition at line 2933 of file DB2Structure.h.
References InstanceType, and MAP_RAID.
Referenced by SpellInfo::CheckLocation(), Player::GetDifficultyID(), Group::GetDifficultyID(), Map::IsRaid(), and Map::PlayerCannotEnter().
|
inline |
Definition at line 2937 of file DB2Structure.h.
References InstanceType, and MAP_SCENARIO.
Referenced by Map::IsScenario().
|
inline |
Definition at line 2976 of file DB2Structure.h.
References ID.
Referenced by MapManager::CreateMap(), and MapManager::FindInstanceIdForPlayer().
|
inline |
Definition at line 2938 of file DB2Structure.h.
References InstanceType, and MAP_COMMON.
Referenced by ForEachMapScript(), and Map::IsWorldMap().
| uint16 MapEntry::AreaTableID |
Definition at line 2911 of file DB2Structure.h.
| uint32 MapEntry::ChildDepth = 0 |
Definition at line 67 of file vmapexport.cpp.
| DBCPosition2D MapEntry::Corpse |
Definition at line 2907 of file DB2Structure.h.
Referenced by ObjectMgr::GetClosestGraveyardInZone().
| int16 MapEntry::CorpseMapID |
Definition at line 2918 of file DB2Structure.h.
Referenced by ObjectMgr::GetClosestGraveyardInZone(), GetEntrancePos(), and ObjectMgr::GetGoBackTrigger().
| int16 MapEntry::CosmeticParentMapID |
Definition at line 2915 of file DB2Structure.h.
Referenced by Unit::GetMountCapability(), TerrainMgr::LoadTerrain(), CriteriaHandler::ModifierSatisfied(), and Player::TeleportTo().
| std::string MapEntry::Directory |
Definition at line 2901 of file DB2Structure.h.
Referenced by ReadMapDBC(), and ReadMapTable().
| std::string MapEntry::Directory |
Definition at line 58 of file System.cpp.
| uint8 MapEntry::ExpansionID |
Definition at line 2910 of file DB2Structure.h.
Referenced by Expansion(), and CriteriaHandler::ModifierSatisfied().
| std::array<int32, 3> MapEntry::Flags |
Definition at line 2925 of file DB2Structure.h.
Referenced by GetFlags(), GetFlags2(), GetFlags3(), and Player::UpdateItemLevelAreaBasedScaling().
| uint32 MapEntry::ID |
Definition at line 2900 of file DB2Structure.h.
Referenced by InstanceLockMgr::CreateInstanceLockForNewInstance(), ForEachMapScriptType(), Player::GetDifficultyID(), Group::GetDifficultyID(), Map::GetId(), debug_commandscript::HandleDebugRaidResetCommand(), WorldSession::HandleMoveWorldportAck(), IsContinent(), IsSplitByFaction(), CriteriaHandler::ModifierSatisfied(), InstanceLockMgr::UpdateInstanceLockExtensionForPlayer(), and InstanceLockMgr::UpdateInstanceLockForPlayer().
| uint32 MapEntry::Id = 0 |
Definition at line 55 of file System.cpp.
Referenced by ParsMapFiles(), ReadMapDBC(), and ReadMapTable().
| int8 MapEntry::InstanceType |
Definition at line 2909 of file DB2Structure.h.
Referenced by Instanceable(), IsBattleArena(), IsBattleground(), IsBattlegroundOrArena(), DisableMgr::IsDisabledFor(), IsDungeon(), IsNonRaidDungeon(), IsRaid(), IsScenario(), IsWorldMap(), DisableMgr::LoadDisables(), and CriteriaHandler::ModifierSatisfied().
| bool MapEntry::IsParent = false |
Definition at line 68 of file vmapexport.cpp.
Referenced by ReadMapTable().
| int16 MapEntry::LoadingScreenID |
Definition at line 2912 of file DB2Structure.h.
| LocalizedString MapEntry::MapDescription0 |
Definition at line 2903 of file DB2Structure.h.
| LocalizedString MapEntry::MapDescription1 |
Definition at line 2904 of file DB2Structure.h.
| LocalizedString MapEntry::MapName |
Definition at line 2902 of file DB2Structure.h.
Referenced by InstanceLockMgr::CreateInstanceLockForNewInstance(), WorldLocation::GetDebugInfo(), Map::GetMapName(), debug_commandscript::HandleDebugRaidResetCommand(), go_commandscript::HandleGoBossCommand(), misc_commandscript::HandleGPSCommand(), misc_commandscript::HandlePInfoCommand(), LinkValidator< LinkTags::instancelock >::IsTextValid(), InstanceLockMgr::UpdateInstanceLockExtensionForPlayer(), and InstanceLockMgr::UpdateInstanceLockForPlayer().
| uint8 MapEntry::MapType |
Definition at line 2908 of file DB2Structure.h.
| uint8 MapEntry::MaxPlayers |
Definition at line 2919 of file DB2Structure.h.
Referenced by InstanceMap::GetMaxPlayers().
| float MapEntry::MinimapIconScale |
Definition at line 2917 of file DB2Structure.h.
| std::string MapEntry::Name |
Definition at line 57 of file System.cpp.
Referenced by ReadMapDBC(), and ReadMapTable().
| int32 MapEntry::NavigationMaxDistance |
Definition at line 2923 of file DB2Structure.h.
| int16 MapEntry::ParentMapID = 0 |
Definition at line 2914 of file DB2Structure.h.
Referenced by ObjectMgr::GetClosestGraveyardInZone(), Unit::GetMountCapability(), modify_commandscript::HandleModifyPhaseCommand(), ObjectMgr::LoadCreatures(), ObjectMgr::LoadGameObjects(), TerrainMgr::LoadTerrain(), ReadMapTable(), and Garrison::SendRemoteInfo().
| int32 MapEntry::PreloadFileDataID |
Definition at line 2924 of file DB2Structure.h.
| LocalizedString MapEntry::PvpLongDescription |
Definition at line 2906 of file DB2Structure.h.
| LocalizedString MapEntry::PvpShortDescription |
Definition at line 2905 of file DB2Structure.h.
| int16 MapEntry::TimeOfDayOverride |
Definition at line 2913 of file DB2Structure.h.
| uint8 MapEntry::TimeOffset |
Definition at line 2916 of file DB2Structure.h.
| int32 MapEntry::WdtFileDataID |
Definition at line 2922 of file DB2Structure.h.
| int32 MapEntry::WdtFileDataId = 0 |
Definition at line 56 of file System.cpp.
Referenced by ReadMapDBC(), and ReadMapTable().
| int16 MapEntry::WindSettingsID |
Definition at line 2920 of file DB2Structure.h.
| int32 MapEntry::ZmpFileDataID |
Definition at line 2921 of file DB2Structure.h.