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
69 : _summonerEntry(summonerEntry), _summonerType(summonerType), _summonGroup(group)
70 {
71 }
uint32 _summonerEntry
Summoner's entry.
Definition: ObjectMgr.h:80
uint8 _summonGroup
Summon's group id.
Definition: ObjectMgr.h:82
SummonerType _summonerType
Summoner's type, see SummonerType for available types.
Definition: ObjectMgr.h:81

Member Function Documentation

◆ operator<()

bool TempSummonGroupKey::operator< ( TempSummonGroupKey const &  rhs) const
inline
74 {
75 return std::tie(_summonerEntry, _summonerType, _summonGroup) <
76 std::tie(rhs._summonerEntry, rhs._summonerType, rhs._summonGroup);
77 }

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<().