TrinityCore
MapEntry Struct Reference

#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< MapFlagsGetFlags () const
 
EnumFlag< MapFlags2GetFlags2 () 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
 
std::array< int32, 3 > Flags
 
uint32 Id = 0
 
int32 WdtFileDataId = 0
 
std::string Name
 
std::string Directory
 

Detailed Description

Definition at line 2689 of file DB2Structure.h.

Member Function Documentation

◆ Expansion()

uint8 MapEntry::Expansion ( ) const
inline

Definition at line 2718 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ GetEntrancePos()

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

Definition at line 2730 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ GetFlags()

EnumFlag< MapFlags > MapEntry::GetFlags ( ) const
inline

Definition at line 2774 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ GetFlags2()

EnumFlag< MapFlags2 > MapEntry::GetFlags2 ( ) const
inline

Definition at line 2775 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ Instanceable()

bool MapEntry::Instanceable ( ) const
inline

Definition at line 2722 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsBattleArena()

bool MapEntry::IsBattleArena ( ) const
inline

Definition at line 2725 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsBattleground()

bool MapEntry::IsBattleground ( ) const
inline

Definition at line 2724 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsBattlegroundOrArena()

bool MapEntry::IsBattlegroundOrArena ( ) const
inline

Definition at line 2726 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsContinent()

bool MapEntry::IsContinent ( ) const
inline

Definition at line 2741 of file DB2Structure.h.

◆ IsDungeon()

bool MapEntry::IsDungeon ( ) const
inline

Definition at line 2720 of file DB2Structure.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsDynamicDifficultyMap()

bool MapEntry::IsDynamicDifficultyMap ( ) const
inline

Definition at line 2762 of file DB2Structure.h.

+ Here is the call graph for this function:

◆ IsFlexLocking()

bool MapEntry::IsFlexLocking ( ) const
inline

Definition at line 2763 of file DB2Structure.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsGarrison()

bool MapEntry::IsGarrison ( ) const
inline

Definition at line 2764 of file DB2Structure.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ IsNonRaidDungeon()

bool MapEntry::IsNonRaidDungeon ( ) const
inline

Definition at line 2721 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsRaid()

bool MapEntry::IsRaid ( ) const
inline

Definition at line 2723 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsScenario()

bool MapEntry::IsScenario ( ) const
inline

Definition at line 2727 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsSplitByFaction()

bool MapEntry::IsSplitByFaction ( ) const
inline

Definition at line 2765 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsWorldMap()

bool MapEntry::IsWorldMap ( ) const
inline

Definition at line 2728 of file DB2Structure.h.

Member Data Documentation

◆ AreaTableID

uint16 MapEntry::AreaTableID

Definition at line 2702 of file DB2Structure.h.

◆ Corpse

DBCPosition2D MapEntry::Corpse

Definition at line 2698 of file DB2Structure.h.

◆ CorpseMapID

int16 MapEntry::CorpseMapID

Definition at line 2709 of file DB2Structure.h.

◆ CosmeticParentMapID

int16 MapEntry::CosmeticParentMapID

Definition at line 2706 of file DB2Structure.h.

◆ Directory [1/2]

std::string MapEntry::Directory

Definition at line 2692 of file DB2Structure.h.

◆ Directory [2/2]

std::string MapEntry::Directory

Definition at line 56 of file System.cpp.

◆ ExpansionID

uint8 MapEntry::ExpansionID

Definition at line 2701 of file DB2Structure.h.

◆ Flags

std::array<int32, 3> MapEntry::Flags

Definition at line 2715 of file DB2Structure.h.

◆ ID

uint32 MapEntry::ID

Definition at line 2691 of file DB2Structure.h.

◆ Id

uint32 MapEntry::Id = 0

Definition at line 53 of file System.cpp.

◆ InstanceType

int8 MapEntry::InstanceType

Definition at line 2700 of file DB2Structure.h.

◆ LoadingScreenID

int16 MapEntry::LoadingScreenID

Definition at line 2703 of file DB2Structure.h.

◆ MapDescription0

LocalizedString MapEntry::MapDescription0

Definition at line 2694 of file DB2Structure.h.

◆ MapDescription1

LocalizedString MapEntry::MapDescription1

Definition at line 2695 of file DB2Structure.h.

◆ MapName

LocalizedString MapEntry::MapName

Definition at line 2693 of file DB2Structure.h.

◆ MapType

uint8 MapEntry::MapType

Definition at line 2699 of file DB2Structure.h.

◆ MaxPlayers

uint8 MapEntry::MaxPlayers

Definition at line 2710 of file DB2Structure.h.

◆ MinimapIconScale

float MapEntry::MinimapIconScale

Definition at line 2708 of file DB2Structure.h.

◆ Name

std::string MapEntry::Name

Definition at line 55 of file System.cpp.

◆ NavigationMaxDistance

int32 MapEntry::NavigationMaxDistance

Definition at line 2714 of file DB2Structure.h.

◆ ParentMapID

int16 MapEntry::ParentMapID = 0

Definition at line 2705 of file DB2Structure.h.

◆ PvpLongDescription

LocalizedString MapEntry::PvpLongDescription

Definition at line 2697 of file DB2Structure.h.

◆ PvpShortDescription

LocalizedString MapEntry::PvpShortDescription

Definition at line 2696 of file DB2Structure.h.

◆ TimeOfDayOverride

int16 MapEntry::TimeOfDayOverride

Definition at line 2704 of file DB2Structure.h.

◆ TimeOffset

uint8 MapEntry::TimeOffset

Definition at line 2707 of file DB2Structure.h.

◆ WdtFileDataID

int32 MapEntry::WdtFileDataID

Definition at line 2713 of file DB2Structure.h.

◆ WdtFileDataId

int32 MapEntry::WdtFileDataId = 0

Definition at line 54 of file System.cpp.

◆ WindSettingsID

int16 MapEntry::WindSettingsID

Definition at line 2711 of file DB2Structure.h.

◆ ZmpFileDataID

int32 MapEntry::ZmpFileDataID

Definition at line 2712 of file DB2Structure.h.


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