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
662 {
663 if (respawnTime != other.respawnTime)
664 return respawnTime < other.respawnTime;
665 if (type != other.type)
666 return type < other.type;
667 return spawnId < other.spawnId;
668 }
SpawnObjectType type
Definition Map.h:659
ObjectGuid::LowType spawnId
Definition Map.h:660
time_t respawnTime
Definition Map.h:658

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: