![]() |
TrinityCore
|
#include <ObjectGuid.h>
Public Member Functions | |
| ObjectGuidGenerator (HighGuid high, ObjectGuid::LowType start=1) | |
| ~ObjectGuidGenerator ()=default | |
| void | Set (ObjectGuid::LowType val) |
| ObjectGuid::LowType | Generate () |
| ObjectGuid::LowType | GetNextAfterMaxUsed () const |
Protected Member Functions | |
| void | HandleCounterOverflow () |
| void | CheckGuidTrigger () |
Protected Attributes | |
| HighGuid | _high |
| ObjectGuid::LowType | _nextGuid |
Definition at line 285 of file ObjectGuid.h.
|
inlineexplicit |
Definition at line 288 of file ObjectGuid.h.
|
default |
|
protected |
Definition at line 183 of file ObjectGuid.cpp.
References _nextGuid, CONFIG_RESPAWN_GUIDALERTLEVEL, CONFIG_RESPAWN_GUIDWARNLEVEL, and sWorld.
Referenced by Generate().
| ObjectGuid::LowType ObjectGuidGenerator::Generate | ( | ) |
Definition at line 166 of file ObjectGuid.cpp.
References _high, _nextGuid, CheckGuidTrigger(), GameObject, ObjectGuid::GetMaxCounter(), HandleCounterOverflow(), Transport, Unit, and Vehicle.
|
inline |
Definition at line 293 of file ObjectGuid.h.
|
protected |
Definition at line 177 of file ObjectGuid.cpp.
References _high, ERROR_EXIT_CODE, ObjectGuid::GetTypeName(), World::StopNow(), and TC_LOG_ERROR.
Referenced by Generate().
|
inline |
Definition at line 291 of file ObjectGuid.h.
|
protected |
Definition at line 298 of file ObjectGuid.h.
Referenced by Generate(), and HandleCounterOverflow().
|
protected |
Definition at line 299 of file ObjectGuid.h.
Referenced by CheckGuidTrigger(), and Generate().