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
 
int32 PreloadFileDataID
 
std::array< int32, 3 > Flags
 
uint32 Id = 0
 
int32 WdtFileDataId = 0
 
std::string Name
 
std::string Directory
 

Detailed Description

Definition at line 2782 of file DB2Structure.h.

Member Function Documentation

◆ Expansion()

uint8 MapEntry::Expansion ( ) const
inline

Definition at line 2812 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 2824 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ GetFlags()

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

Definition at line 2868 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ GetFlags2()

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

Definition at line 2869 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ Instanceable()

bool MapEntry::Instanceable ( ) const
inline

Definition at line 2816 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsBattleArena()

bool MapEntry::IsBattleArena ( ) const
inline

Definition at line 2819 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsBattleground()

bool MapEntry::IsBattleground ( ) const
inline

Definition at line 2818 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsBattlegroundOrArena()

bool MapEntry::IsBattlegroundOrArena ( ) const
inline

Definition at line 2820 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsContinent()

bool MapEntry::IsContinent ( ) const
inline

Definition at line 2835 of file DB2Structure.h.

◆ IsDungeon()

bool MapEntry::IsDungeon ( ) const
inline

Definition at line 2814 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 2856 of file DB2Structure.h.

+ Here is the call graph for this function:

◆ IsFlexLocking()

bool MapEntry::IsFlexLocking ( ) const
inline

Definition at line 2857 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 2858 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 2815 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsRaid()

bool MapEntry::IsRaid ( ) const
inline

Definition at line 2817 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsScenario()

bool MapEntry::IsScenario ( ) const
inline

Definition at line 2821 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsSplitByFaction()

bool MapEntry::IsSplitByFaction ( ) const
inline

Definition at line 2859 of file DB2Structure.h.

+ Here is the caller graph for this function:

◆ IsWorldMap()

bool MapEntry::IsWorldMap ( ) const
inline

Definition at line 2822 of file DB2Structure.h.

Member Data Documentation

◆ AreaTableID

uint16 MapEntry::AreaTableID

Definition at line 2795 of file DB2Structure.h.

◆ Corpse

DBCPosition2D MapEntry::Corpse

Definition at line 2791 of file DB2Structure.h.

◆ CorpseMapID

int16 MapEntry::CorpseMapID

Definition at line 2802 of file DB2Structure.h.

◆ CosmeticParentMapID

int16 MapEntry::CosmeticParentMapID

Definition at line 2799 of file DB2Structure.h.

◆ Directory [1/2]

std::string MapEntry::Directory

Definition at line 2785 of file DB2Structure.h.

◆ Directory [2/2]

std::string MapEntry::Directory

Definition at line 57 of file System.cpp.

◆ ExpansionID

uint8 MapEntry::ExpansionID

Definition at line 2794 of file DB2Structure.h.

◆ Flags

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

Definition at line 2809 of file DB2Structure.h.

◆ ID

uint32 MapEntry::ID

Definition at line 2784 of file DB2Structure.h.

◆ Id

uint32 MapEntry::Id = 0

Definition at line 54 of file System.cpp.

◆ InstanceType

int8 MapEntry::InstanceType

Definition at line 2793 of file DB2Structure.h.

◆ LoadingScreenID

int16 MapEntry::LoadingScreenID

Definition at line 2796 of file DB2Structure.h.

◆ MapDescription0

LocalizedString MapEntry::MapDescription0

Definition at line 2787 of file DB2Structure.h.

◆ MapDescription1

LocalizedString MapEntry::MapDescription1

Definition at line 2788 of file DB2Structure.h.

◆ MapName

LocalizedString MapEntry::MapName

Definition at line 2786 of file DB2Structure.h.

◆ MapType

uint8 MapEntry::MapType

Definition at line 2792 of file DB2Structure.h.

◆ MaxPlayers

uint8 MapEntry::MaxPlayers

Definition at line 2803 of file DB2Structure.h.

◆ MinimapIconScale

float MapEntry::MinimapIconScale

Definition at line 2801 of file DB2Structure.h.

◆ Name

std::string MapEntry::Name

Definition at line 56 of file System.cpp.

◆ NavigationMaxDistance

int32 MapEntry::NavigationMaxDistance

Definition at line 2807 of file DB2Structure.h.

◆ ParentMapID

int16 MapEntry::ParentMapID = 0

Definition at line 2798 of file DB2Structure.h.

◆ PreloadFileDataID

int32 MapEntry::PreloadFileDataID

Definition at line 2808 of file DB2Structure.h.

◆ PvpLongDescription

LocalizedString MapEntry::PvpLongDescription

Definition at line 2790 of file DB2Structure.h.

◆ PvpShortDescription

LocalizedString MapEntry::PvpShortDescription

Definition at line 2789 of file DB2Structure.h.

◆ TimeOfDayOverride

int16 MapEntry::TimeOfDayOverride

Definition at line 2797 of file DB2Structure.h.

◆ TimeOffset

uint8 MapEntry::TimeOffset

Definition at line 2800 of file DB2Structure.h.

◆ WdtFileDataID

int32 MapEntry::WdtFileDataID

Definition at line 2806 of file DB2Structure.h.

◆ WdtFileDataId

int32 MapEntry::WdtFileDataId = 0

Definition at line 55 of file System.cpp.

◆ WindSettingsID

int16 MapEntry::WindSettingsID

Definition at line 2804 of file DB2Structure.h.

◆ ZmpFileDataID

int32 MapEntry::ZmpFileDataID

Definition at line 2805 of file DB2Structure.h.


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