TrinityCore
Loading...
Searching...
No Matches
MapEntry Struct Reference

#include <DBCStructure.h>

Public Member Functions

uint32 Expansion () const
 
bool IsDungeon () const
 
bool IsNonRaidDungeon () const
 
bool Instanceable () const
 
bool IsRaid () const
 
bool IsBattleground () const
 
bool IsBattleArena () const
 
bool IsBattlegroundOrArena () const
 
bool IsWorldMap () const
 
bool GetEntrancePos (int32 &mapid, float &x, float &y) const
 
bool IsContinent () const
 
bool IsDynamicDifficultyMap () const
 

Public Attributes

uint32 ID
 
uint32 InstanceType
 
uint32 Flags
 
char const * MapName [16]
 
uint32 AreaTableID
 
uint32 LoadingScreenID
 
int32 CorpseMapID
 
DBCPosition2D Corpse
 
uint32 ExpansionID
 
uint32 RaidOffset
 
uint32 MaxPlayers
 

Detailed Description

Definition at line 1063 of file DBCStructure.h.

Member Function Documentation

◆ Expansion()

uint32 MapEntry::Expansion ( ) const
inline

◆ GetEntrancePos()

bool MapEntry::GetEntrancePos ( int32 &  mapid,
float &  x,
float &  y 
) const
inline

Definition at line 1098 of file DBCStructure.h.

References CorpseMapID.

Referenced by Map::GetEntrancePos().

◆ Instanceable()

◆ IsBattleArena()

bool MapEntry::IsBattleArena ( ) const
inline

Definition at line 1094 of file DBCStructure.h.

References InstanceType, and MAP_ARENA.

Referenced by SpellInfo::CheckLocation(), Map::IsBattleArena(), and Player::TeleportTo().

◆ IsBattleground()

bool MapEntry::IsBattleground ( ) const
inline

Definition at line 1093 of file DBCStructure.h.

References InstanceType, and MAP_BATTLEGROUND.

Referenced by SpellInfo::CheckLocation(), and Map::IsBattleground().

◆ IsBattlegroundOrArena()

◆ IsContinent()

bool MapEntry::IsContinent ( ) const
inline

Definition at line 1108 of file DBCStructure.h.

References ID.

Referenced by SpellInfo::CheckLocation().

◆ IsDungeon()

◆ IsDynamicDifficultyMap()

bool MapEntry::IsDynamicDifficultyMap ( ) const
inline

Definition at line 1113 of file DBCStructure.h.

References Flags, and MAP_FLAG_DYNAMIC_DIFFICULTY.

◆ IsNonRaidDungeon()

bool MapEntry::IsNonRaidDungeon ( ) const
inline

◆ IsRaid()

◆ IsWorldMap()

bool MapEntry::IsWorldMap ( ) const
inline

Definition at line 1096 of file DBCStructure.h.

References InstanceType, and MAP_COMMON.

Referenced by Map::IsWorldMap().

Member Data Documentation

◆ AreaTableID

uint32 MapEntry::AreaTableID

Definition at line 1072 of file DBCStructure.h.

Referenced by Map::GetAreaId(), and Map::GetFullTerrainStatusForPosition().

◆ Corpse

DBCPosition2D MapEntry::Corpse

Definition at line 1080 of file DBCStructure.h.

Referenced by ObjectMgr::GetClosestGraveyard().

◆ CorpseMapID

int32 MapEntry::CorpseMapID

◆ ExpansionID

uint32 MapEntry::ExpansionID

Definition at line 1082 of file DBCStructure.h.

Referenced by Expansion().

◆ Flags

uint32 MapEntry::Flags

Definition at line 1068 of file DBCStructure.h.

Referenced by IsDynamicDifficultyMap().

◆ ID

◆ InstanceType

◆ LoadingScreenID

uint32 MapEntry::LoadingScreenID

Definition at line 1077 of file DBCStructure.h.

◆ MapName

◆ MaxPlayers

uint32 MapEntry::MaxPlayers

Definition at line 1084 of file DBCStructure.h.

Referenced by InstanceMap::GetMaxPlayers().

◆ RaidOffset

uint32 MapEntry::RaidOffset

Definition at line 1083 of file DBCStructure.h.


The documentation for this struct was generated from the following file: