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

#include "LFGMgr.h"

Public Member Functions

 RBInternalInfo ()=default
 
 RBInternalInfo (ObjectGuid guid, std::string comment, bool isGroupLeader, ObjectGuid groupGuid, uint8 roles, uint32 encounterMask, ObjectGuid instanceGuid, uint8 _online, uint8 _level, uint8 _class, uint8 _race, float _avgItemLevel, uint8(&_talents)[3], uint32 _area, uint32 _armor, uint32 _spellDamage, uint32 _spellHeal, uint32 _critRatingMelee, uint32 _critRatingRanged, uint32 _critRatingSpell, float _mp5, float _mp5combat, uint32 _attackPower, uint32 _agility, uint32 _health, uint32 _mana, uint32 _defenseSkill, uint32 _dodgeRating, uint32 _blockRating, uint32 _parryRating, uint32 _hasteRating, uint32 _expertiseRating)
 
bool PlayerSameAs (RBInternalInfo const &i) const
 
void CopyStats (RBInternalInfo const &i)
 

Public Attributes

ObjectGuid guid
 
std::string comment
 
bool isGroupLeader
 
ObjectGuid groupGuid
 
uint8 roles
 
uint32 encounterMask
 
ObjectGuid instanceGuid
 
uint8 _online
 
uint8 _level
 
uint8 _class
 
uint8 _race
 
float _avgItemLevel
 
uint8 _talents0
 
uint8 _talents1
 
uint8 _talents2
 
uint32 _area
 
uint32 _armor
 
uint32 _spellDamage
 
uint32 _spellHeal
 
uint32 _critRatingMelee
 
uint32 _critRatingRanged
 
uint32 _critRatingSpell
 
float _mp5
 
float _mp5combat
 
uint32 _attackPower
 
uint32 _agility
 
uint32 _health
 
uint32 _mana
 
uint32 _defenseSkill
 
uint32 _dodgeRating
 
uint32 _blockRating
 
uint32 _parryRating
 
uint32 _hasteRating
 
uint32 _expertiseRating
 

Detailed Description

Constructor & Destructor Documentation

◆ RBInternalInfo() [1/2]

lfg::RBInternalInfo::RBInternalInfo ( )
default

◆ RBInternalInfo() [2/2]

lfg::RBInternalInfo::RBInternalInfo ( ObjectGuid  guid,
std::string  comment,
bool  isGroupLeader,
ObjectGuid  groupGuid,
uint8  roles,
uint32  encounterMask,
ObjectGuid  instanceGuid,
uint8  _online,
uint8  _level,
uint8  _class,
uint8  _race,
float  _avgItemLevel,
uint8(&)  _talents[3],
uint32  _area,
uint32  _armor,
uint32  _spellDamage,
uint32  _spellHeal,
uint32  _critRatingMelee,
uint32  _critRatingRanged,
uint32  _critRatingSpell,
float  _mp5,
float  _mp5combat,
uint32  _attackPower,
uint32  _agility,
uint32  _health,
uint32  _mana,
uint32  _defenseSkill,
uint32  _dodgeRating,
uint32  _blockRating,
uint32  _parryRating,
uint32  _hasteRating,
uint32  _expertiseRating 
)
inline
214 _talents0(_talents[0]), _talents1(_talents[1]), _talents2(_talents[2]), _area(_area), _armor(_armor), _spellDamage(_spellDamage), _spellHeal(_spellHeal),
218 {}
uint8 roles
Definition: LFGMgr.h:168
float _mp5combat
Definition: LFGMgr.h:191
uint8 _talents2
Definition: LFGMgr.h:181
uint8 _online
Definition: LFGMgr.h:173
uint32 _spellHeal
Definition: LFGMgr.h:185
uint32 _critRatingRanged
Definition: LFGMgr.h:188
uint32 _mana
Definition: LFGMgr.h:196
uint32 encounterMask
Definition: LFGMgr.h:169
float _avgItemLevel
Definition: LFGMgr.h:177
uint32 _agility
Definition: LFGMgr.h:194
uint8 _race
Definition: LFGMgr.h:176
uint32 _attackPower
Definition: LFGMgr.h:193
float _mp5
Definition: LFGMgr.h:190
uint32 _armor
Definition: LFGMgr.h:183
uint32 _parryRating
Definition: LFGMgr.h:201
bool isGroupLeader
Definition: LFGMgr.h:166
uint8 _talents1
Definition: LFGMgr.h:180
uint32 _area
Definition: LFGMgr.h:182
uint8 _class
Definition: LFGMgr.h:175
uint32 _hasteRating
Definition: LFGMgr.h:202
ObjectGuid guid
Definition: LFGMgr.h:164
ObjectGuid groupGuid
Definition: LFGMgr.h:167
uint32 _blockRating
Definition: LFGMgr.h:200
uint32 _spellDamage
Definition: LFGMgr.h:184
uint32 _critRatingSpell
Definition: LFGMgr.h:189
uint8 _talents0
Definition: LFGMgr.h:179
ObjectGuid instanceGuid
Definition: LFGMgr.h:170
uint32 _critRatingMelee
Definition: LFGMgr.h:187
uint32 _defenseSkill
Definition: LFGMgr.h:197
uint32 _dodgeRating
Definition: LFGMgr.h:199
uint32 _health
Definition: LFGMgr.h:195
uint32 _expertiseRating
Definition: LFGMgr.h:203
std::string comment
Definition: LFGMgr.h:165
uint8 _level
Definition: LFGMgr.h:174

Member Function Documentation

◆ CopyStats()

void lfg::RBInternalInfo::CopyStats ( RBInternalInfo const &  i)
inline
229 {
230 _avgItemLevel = i._avgItemLevel;
231 _talents0 = i._talents0;
232 _talents1 = i._talents1;
233 _talents2 = i._talents2;
234 _area = i._area;
235 _armor = i._armor;
236 _spellDamage = i._spellDamage;
237 _spellHeal = i._spellHeal;
238 _critRatingMelee = i._critRatingMelee;
239 _critRatingRanged = i._critRatingRanged;
240 _critRatingSpell = i._critRatingSpell;
241 _mp5 = i._mp5;
242 _mp5combat = i._mp5combat;
243 _attackPower = i._attackPower;
244 _agility = i._agility;
245 _health = i._health;
246 _mana = i._mana;
247 _defenseSkill = i._defenseSkill;
248 _dodgeRating = i._dodgeRating;
249 _blockRating = i._blockRating;
250 _parryRating = i._parryRating;
251 _hasteRating = i._hasteRating;
252 _expertiseRating = i._expertiseRating;
253 }

References _agility, _area, _armor, _attackPower, _avgItemLevel, _blockRating, _critRatingMelee, _critRatingRanged, _critRatingSpell, _defenseSkill, _dodgeRating, _expertiseRating, _hasteRating, _health, _mana, _mp5, _mp5combat, _parryRating, _spellDamage, _spellHeal, _talents0, _talents1, and _talents2.

◆ PlayerSameAs()

bool lfg::RBInternalInfo::PlayerSameAs ( RBInternalInfo const &  i) const
inline
220 {
221 return isGroupLeader == i.isGroupLeader && groupGuid == i.groupGuid && roles == i.roles && (isGroupLeader || (comment == i.comment && encounterMask == i.encounterMask && instanceGuid == i.instanceGuid))
222 && _online == i._online && _level == i._level && _class == i._class && _race == i._race && std::fabs(_avgItemLevel - i._avgItemLevel) < 0.01f
223 && _talents0 == i._talents0 && _talents1 == i._talents1 && _talents2 == i._talents2 && _area == i._area && _armor == i._armor && _spellDamage == i._spellDamage && _spellHeal == i._spellHeal
224 && _critRatingMelee == i._critRatingMelee && _critRatingRanged == i._critRatingRanged && _critRatingSpell == i._critRatingSpell && std::fabs(_mp5 - i._mp5) < 0.01f && std::fabs(_mp5combat - i._mp5combat) < 0.01f
225 && _attackPower == i._attackPower && _agility == i._agility && _health == i._health && _mana == i._mana && _defenseSkill == i._defenseSkill
226 && _dodgeRating == i._dodgeRating && _blockRating == i._blockRating && _parryRating == i._parryRating && _hasteRating == i._hasteRating && _expertiseRating == i._expertiseRating;
227 }

References _agility, _area, _armor, _attackPower, _avgItemLevel, _blockRating, _class, _critRatingMelee, _critRatingRanged, _critRatingSpell, _defenseSkill, _dodgeRating, _expertiseRating, _hasteRating, _health, _level, _mana, _mp5, _mp5combat, _online, _parryRating, _race, _spellDamage, _spellHeal, _talents0, _talents1, _talents2, comment, encounterMask, groupGuid, instanceGuid, isGroupLeader, and roles.

Member Data Documentation

◆ _agility

uint32 lfg::RBInternalInfo::_agility

◆ _area

uint32 lfg::RBInternalInfo::_area

◆ _armor

uint32 lfg::RBInternalInfo::_armor

◆ _attackPower

uint32 lfg::RBInternalInfo::_attackPower

◆ _avgItemLevel

float lfg::RBInternalInfo::_avgItemLevel

◆ _blockRating

uint32 lfg::RBInternalInfo::_blockRating

◆ _class

uint8 lfg::RBInternalInfo::_class

◆ _critRatingMelee

uint32 lfg::RBInternalInfo::_critRatingMelee

◆ _critRatingRanged

uint32 lfg::RBInternalInfo::_critRatingRanged

◆ _critRatingSpell

uint32 lfg::RBInternalInfo::_critRatingSpell

◆ _defenseSkill

uint32 lfg::RBInternalInfo::_defenseSkill

◆ _dodgeRating

uint32 lfg::RBInternalInfo::_dodgeRating

◆ _expertiseRating

uint32 lfg::RBInternalInfo::_expertiseRating

◆ _hasteRating

uint32 lfg::RBInternalInfo::_hasteRating

◆ _health

uint32 lfg::RBInternalInfo::_health

◆ _level

uint8 lfg::RBInternalInfo::_level

◆ _mana

uint32 lfg::RBInternalInfo::_mana

◆ _mp5

float lfg::RBInternalInfo::_mp5

◆ _mp5combat

float lfg::RBInternalInfo::_mp5combat

◆ _online

uint8 lfg::RBInternalInfo::_online

◆ _parryRating

uint32 lfg::RBInternalInfo::_parryRating

◆ _race

uint8 lfg::RBInternalInfo::_race

◆ _spellDamage

uint32 lfg::RBInternalInfo::_spellDamage

◆ _spellHeal

uint32 lfg::RBInternalInfo::_spellHeal

◆ _talents0

uint8 lfg::RBInternalInfo::_talents0

◆ _talents1

uint8 lfg::RBInternalInfo::_talents1

◆ _talents2

uint8 lfg::RBInternalInfo::_talents2

◆ comment

std::string lfg::RBInternalInfo::comment

◆ encounterMask

uint32 lfg::RBInternalInfo::encounterMask

◆ groupGuid

◆ guid

ObjectGuid lfg::RBInternalInfo::guid

◆ instanceGuid

◆ isGroupLeader

bool lfg::RBInternalInfo::isGroupLeader

◆ roles

uint8 lfg::RBInternalInfo::roles