AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Map::RespawnEntry Struct Reference

Public Member Functions

bool operator< (RespawnEntry const &other) const
 

Public Attributes

time_t respawnTime
 
SpawnObjectType type
 
ObjectGuid::LowType spawnId
 

Detailed Description

Member Function Documentation

◆ operator<()

bool Map::RespawnEntry::operator< ( RespawnEntry const &  other) const
inline
651 {
652 if (respawnTime != other.respawnTime)
653 return respawnTime < other.respawnTime;
654 if (type != other.type)
655 return type < other.type;
656 return spawnId < other.spawnId;
657 }
SpawnObjectType type
Definition Map.h:648
ObjectGuid::LowType spawnId
Definition Map.h:649
time_t respawnTime
Definition Map.h:647

References respawnTime, spawnId, and type.

Member Data Documentation

◆ respawnTime

time_t Map::RespawnEntry::respawnTime

Referenced by operator<().

◆ spawnId

ObjectGuid::LowType Map::RespawnEntry::spawnId

Referenced by operator<().

◆ type

SpawnObjectType Map::RespawnEntry::type

Referenced by operator<().


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