OregonCore  revision be9e804-git
Your Favourite TBC server
TempSummonGroupKey Struct Reference

Key for storing temp summon data in TempSummonDataContainer. More...

#include <ObjectMgr.h>

Public Member Functions

 TempSummonGroupKey (uint32 summonerEntry, SummonerType summonerType, uint8 group)
 
bool operator< (TempSummonGroupKey const &rhs) const
 

Private Attributes

uint32 _summonerEntry
 Summoner's entry. More...
 
SummonerType _summonerType
 Summoner's type, see SummonerType for available types. More...
 
uint8 _summonGroup
 Summon's group id. More...
 

Detailed Description

Key for storing temp summon data in TempSummonDataContainer.

Definition at line 77 of file ObjectMgr.h.

Constructor & Destructor Documentation

TempSummonGroupKey::TempSummonGroupKey ( uint32  summonerEntry,
SummonerType  summonerType,
uint8  group 
)
inline

Definition at line 79 of file ObjectMgr.h.

80  : _summonerEntry(summonerEntry), _summonerType(summonerType), _summonGroup(group)
81  {
82  }
SummonerType _summonerType
Summoner&#39;s type, see SummonerType for available types.
Definition: ObjectMgr.h:92
uint8 _summonGroup
Summon&#39;s group id.
Definition: ObjectMgr.h:93
uint32 _summonerEntry
Summoner&#39;s entry.
Definition: ObjectMgr.h:91

Member Function Documentation

bool TempSummonGroupKey::operator< ( TempSummonGroupKey const &  rhs) const
inline

Definition at line 84 of file ObjectMgr.h.

References _summonerEntry, _summonerType, and _summonGroup.

85  {
86  return std::tie(_summonerEntry, _summonerType, _summonGroup) <
87  std::tie(rhs._summonerEntry, rhs._summonerType, rhs._summonGroup);
88  }
SummonerType _summonerType
Summoner&#39;s type, see SummonerType for available types.
Definition: ObjectMgr.h:92
uint8 _summonGroup
Summon&#39;s group id.
Definition: ObjectMgr.h:93
uint32 _summonerEntry
Summoner&#39;s entry.
Definition: ObjectMgr.h:91

Member Data Documentation

uint32 TempSummonGroupKey::_summonerEntry
private

Summoner's entry.

Definition at line 91 of file ObjectMgr.h.

Referenced by operator<().

SummonerType TempSummonGroupKey::_summonerType
private

Summoner's type, see SummonerType for available types.

Definition at line 92 of file ObjectMgr.h.

Referenced by operator<().

uint8 TempSummonGroupKey::_summonGroup
private

Summon's group id.

Definition at line 93 of file ObjectMgr.h.

Referenced by operator<().


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