TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
lfg::LFGDungeonData Struct Reference

#include <LFGMgr.h>

Public Member Functions

 LFGDungeonData ()
 
 LFGDungeonData (LFGDungeonEntry const *dbc)
 
uint32 Entry () const
 

Public Attributes

uint32 id
 
std::string name
 
uint32 map
 
uint8 type
 
uint8 expansion
 
uint8 group
 
uint8 minlevel
 
uint8 maxlevel
 
Difficulty difficulty
 
bool seasonal
 
float x
 
float y
 
float z
 
float o
 
uint16 requiredItemLevel
 

Constructor & Destructor Documentation

lfg::LFGDungeonData::LFGDungeonData ( )
inline
270  : id(0), name(""), map(0), type(0), expansion(0), group(0), minlevel(0),
271  maxlevel(0), difficulty(DIFFICULTY_NONE), seasonal(false), x(0.0f), y(0.0f), z(0.0f), o(0.0f),
273  { }
uint8 maxlevel
Definition: LFGMgr.h:288
Definition: DBCEnums.h:404
uint8 minlevel
Definition: LFGMgr.h:287
float o
Definition: LFGMgr.h:291
float x
Definition: LFGMgr.h:291
float y
Definition: LFGMgr.h:291
float z
Definition: LFGMgr.h:291
bool seasonal
Definition: LFGMgr.h:290
uint8 group
Definition: LFGMgr.h:286
uint16 requiredItemLevel
Definition: LFGMgr.h:292
uint32 map
Definition: LFGMgr.h:283
std::string name
Definition: LFGMgr.h:282
uint8 expansion
Definition: LFGMgr.h:285
Difficulty difficulty
Definition: LFGMgr.h:289
uint8 type
Definition: LFGMgr.h:284
uint32 id
Definition: LFGMgr.h:281
lfg::LFGDungeonData::LFGDungeonData ( LFGDungeonEntry const dbc)
inline
274  : id(dbc->ID), name(dbc->Name_lang), map(dbc->MapID),
275  type(uint8(dbc->Type)), expansion(uint8(dbc->Expansion)), group(uint8(dbc->GroupID)),
276  minlevel(uint8(dbc->MinLevel)), maxlevel(uint8(dbc->MaxLevel)), difficulty(Difficulty(dbc->DifficultyID)),
277  seasonal((dbc->Flags & LFG_FLAG_SEASONAL) != 0), x(0.0f), y(0.0f), z(0.0f), o(0.0f),
279  { }
uint8 maxlevel
Definition: LFGMgr.h:288
uint8 minlevel
Definition: LFGMgr.h:287
Difficulty
Definition: DBCEnums.h:402
float o
Definition: LFGMgr.h:291
float x
Definition: LFGMgr.h:291
float y
Definition: LFGMgr.h:291
float z
Definition: LFGMgr.h:291
bool seasonal
Definition: LFGMgr.h:290
uint8 group
Definition: LFGMgr.h:286
uint16 requiredItemLevel
Definition: LFGMgr.h:292
uint8_t uint8
Definition: g3dmath.h:164
uint32 map
Definition: LFGMgr.h:283
std::string name
Definition: LFGMgr.h:282
uint8 expansion
Definition: LFGMgr.h:285
Difficulty difficulty
Definition: LFGMgr.h:289
uint8 type
Definition: LFGMgr.h:284
uint32 id
Definition: LFGMgr.h:281
Definition: LFGMgr.h:57

Member Function Documentation

uint32 lfg::LFGDungeonData::Entry ( ) const
inline
295 { return id + (type << 24); }
uint8 type
Definition: LFGMgr.h:284

+ Here is the caller graph for this function:

Member Data Documentation

Difficulty lfg::LFGDungeonData::difficulty
uint8 lfg::LFGDungeonData::expansion
uint8 lfg::LFGDungeonData::group
uint32 lfg::LFGDungeonData::id
uint32 lfg::LFGDungeonData::map
uint8 lfg::LFGDungeonData::maxlevel
uint8 lfg::LFGDungeonData::minlevel
std::string lfg::LFGDungeonData::name
float lfg::LFGDungeonData::o
uint16 lfg::LFGDungeonData::requiredItemLevel
bool lfg::LFGDungeonData::seasonal
uint8 lfg::LFGDungeonData::type
float lfg::LFGDungeonData::x
float lfg::LFGDungeonData::y
float lfg::LFGDungeonData::z

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