Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
MapEntry Struct Reference

#include <DBCStructure.h>

Public Member Functions

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

Public Attributes

uint32 addon
int32 entrance_map
float entrance_x
float entrance_y
uint32 linked_zone
uint32 map_type
uint32 MapID
char * name
int32 rootPhaseMap

Detailed Description

Definition at line 1961 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 1998 of file DBCStructure.h.

References entrance_map, entrance_x, and entrance_y.

◆ Instanceable()

◆ IsBattleArena()

bool MapEntry::IsBattleArena ( ) const
inline

Definition at line 1991 of file DBCStructure.h.

References MAP_ARENA, and map_type.

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

◆ IsBattleground()

bool MapEntry::IsBattleground ( ) const
inline

Definition at line 1990 of file DBCStructure.h.

References MAP_BATTLEGROUND, and map_type.

Referenced by SpellInfo::CheckLocation().

◆ IsBattlegroundOrArena()

◆ IsContinent()

bool MapEntry::IsContinent ( ) const
inline

Definition at line 2008 of file DBCStructure.h.

References MapID.

Referenced by SpellInfo::CheckLocation().

◆ IsDungeon()

bool MapEntry::IsDungeon ( ) const
inline

Definition at line 1986 of file DBCStructure.h.

References MAP_DUNGEON, and map_type.

◆ IsInstance()

◆ IsNonRaidInstance()

bool MapEntry::IsNonRaidInstance ( ) const
inline

Definition at line 1987 of file DBCStructure.h.

References MAP_DUNGEON, MAP_SCENARIO, and map_type.

Referenced by MapManager::CanPlayerEnter().

◆ IsRaid()

◆ IsScenario()

bool MapEntry::IsScenario ( ) const
inline

Definition at line 1992 of file DBCStructure.h.

References MAP_SCENARIO, and map_type.

Referenced by GetDownscaledMapDifficultyData().

◆ IsWorldMap()

bool MapEntry::IsWorldMap ( ) const
inline

Definition at line 1994 of file DBCStructure.h.

References MAP_COMMON, and map_type.

Member Data Documentation

◆ addon

uint32 MapEntry::addon

Definition at line 1978 of file DBCStructure.h.

Referenced by SpellInfo::CheckLocation(), and Expansion().

◆ entrance_map

◆ entrance_x

float MapEntry::entrance_x

Definition at line 1975 of file DBCStructure.h.

Referenced by ObjectMgr::GetClosestGraveYard(), and GetEntrancePos().

◆ entrance_y

float MapEntry::entrance_y

Definition at line 1976 of file DBCStructure.h.

Referenced by ObjectMgr::GetClosestGraveYard(), and GetEntrancePos().

◆ linked_zone

uint32 MapEntry::linked_zone

Definition at line 1969 of file DBCStructure.h.

◆ map_type

◆ MapID

◆ name

◆ rootPhaseMap


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