AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
lfg::LFGDungeonData Struct Reference

#include "LFGMgr.h"

Public Member Functions

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

Public Attributes

uint32 id {0}
 
std::string name
 
uint16 map {0}
 
uint8 type {0}
 
uint8 expansion {0}
 
uint8 group {0}
 
uint8 minlevel {0}
 
uint8 maxlevel {0}
 
Difficulty difficulty {REGULAR_DIFFICULTY}
 
bool seasonal {false}
 
float x {0.0f}
 
float y {0.0f}
 
float z {0.0f}
 
float o {0.0f}
 

Detailed Description

Constructor & Destructor Documentation

◆ LFGDungeonData() [1/2]

lfg::LFGDungeonData::LFGDungeonData ( )
inline
395 : name("")
396 { }
std::string name
Definition: LFGMgr.h:404

◆ LFGDungeonData() [2/2]

lfg::LFGDungeonData::LFGDungeonData ( LFGDungeonEntry const *  dbc)
inline
397 : id(dbc->ID), name(dbc->Name[0]), map(dbc->MapID),
398 type(dbc->TypeID), expansion(uint8(dbc->ExpansionLevel)), group(uint8(dbc->GroupID)),
399 minlevel(uint8(dbc->MinLevel)), maxlevel(uint8(dbc->MaxLevel)), difficulty(Difficulty(dbc->Difficulty)),
400 seasonal((dbc->Flags & LFG_FLAG_SEASONAL) != 0), x(0.0f), y(0.0f), z(0.0f), o(0.0f)
401 { }
std::uint8_t uint8
Definition: Define.h:109
Difficulty
Definition: DBCEnums.h:266
@ LFG_FLAG_SEASONAL
Definition: LFGMgr.h:62
uint8 expansion
Definition: LFGMgr.h:407
Difficulty difficulty
Definition: LFGMgr.h:411
float y
Definition: LFGMgr.h:413
float o
Definition: LFGMgr.h:413
uint8 minlevel
Definition: LFGMgr.h:409
float z
Definition: LFGMgr.h:413
uint8 group
Definition: LFGMgr.h:408
float x
Definition: LFGMgr.h:413
uint8 maxlevel
Definition: LFGMgr.h:410
uint8 type
Definition: LFGMgr.h:406
uint16 map
Definition: LFGMgr.h:405
bool seasonal
Definition: LFGMgr.h:412
uint32 id
Definition: LFGMgr.h:403

Member Function Documentation

◆ Entry()

uint32 lfg::LFGDungeonData::Entry ( ) const
inline

Member Data Documentation

◆ difficulty

◆ expansion

uint8 lfg::LFGDungeonData::expansion {0}

◆ group

uint8 lfg::LFGDungeonData::group {0}

◆ id

◆ map

◆ maxlevel

uint8 lfg::LFGDungeonData::maxlevel {0}

◆ minlevel

uint8 lfg::LFGDungeonData::minlevel {0}

◆ name

std::string lfg::LFGDungeonData::name

◆ o

float lfg::LFGDungeonData::o {0.0f}

◆ seasonal

◆ type

◆ x

float lfg::LFGDungeonData::x {0.0f}

◆ y

float lfg::LFGDungeonData::y {0.0f}

◆ z

float lfg::LFGDungeonData::z {0.0f}