TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 ( uint32  summonerEntry,
SummonerType  summonerType,
uint8  group 
)
inline
65  : _summonerEntry(summonerEntry), _summonerType(summonerType), _summonGroup(group)
66  {
67  }
SummonerType _summonerType
Summoner's type, see SummonerType for available types.
Definition: ObjectMgr.h:77
uint8 _summonGroup
Summon's group id.
Definition: ObjectMgr.h:78
uint32 _summonerEntry
Summoner's entry.
Definition: ObjectMgr.h:76

Member Function Documentation

bool TempSummonGroupKey::operator< ( TempSummonGroupKey const rhs) const
inline
70  {
71  return std::tie(_summonerEntry, _summonerType, _summonGroup) <
72  std::tie(rhs._summonerEntry, rhs._summonerType, rhs._summonGroup);
73  }
SummonerType _summonerType
Summoner's type, see SummonerType for available types.
Definition: ObjectMgr.h:77
uint8 _summonGroup
Summon's group id.
Definition: ObjectMgr.h:78
uint32 _summonerEntry
Summoner's entry.
Definition: ObjectMgr.h:76

Member Data Documentation

uint32 TempSummonGroupKey::_summonerEntry
private

Summoner's entry.

SummonerType TempSummonGroupKey::_summonerType
private

Summoner's type, see SummonerType for available types.

uint8 TempSummonGroupKey::_summonGroup
private

Summon's group id.


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