AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
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.

Constructor & Destructor Documentation

◆ TempSummonGroupKey()

TempSummonGroupKey::TempSummonGroupKey ( uint32  summonerEntry,
SummonerType  summonerType,
uint8  group 
)
inline
66 : _summonerEntry(summonerEntry), _summonerType(summonerType), _summonGroup(group)
67 {
68 }
uint32 _summonerEntry
Summoner's entry.
Definition: ObjectMgr.h:77
uint8 _summonGroup
Summon's group id.
Definition: ObjectMgr.h:79
SummonerType _summonerType
Summoner's type, see SummonerType for available types.
Definition: ObjectMgr.h:78

Member Function Documentation

◆ operator<()

bool TempSummonGroupKey::operator< ( TempSummonGroupKey const &  rhs) const
inline
71 {
72 return std::tie(_summonerEntry, _summonerType, _summonGroup) <
73 std::tie(rhs._summonerEntry, rhs._summonerType, rhs._summonGroup);
74 }

References _summonerEntry, _summonerType, and _summonGroup.

Member Data Documentation

◆ _summonerEntry

uint32 TempSummonGroupKey::_summonerEntry
private

Summoner's entry.

Referenced by operator<().

◆ _summonerType

SummonerType TempSummonGroupKey::_summonerType
private

Summoner's type, see SummonerType for available types.

Referenced by operator<().

◆ _summonGroup

uint8 TempSummonGroupKey::_summonGroup
private

Summon's group id.

Referenced by operator<().