TrinityCore
ObjectGuidGenerator Class Reference

#include <ObjectGuid.h>

Public Member Functions

 ObjectGuidGenerator (HighGuid high, ObjectGuid::LowType start=UI64LIT(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
 

Detailed Description

Definition at line 398 of file ObjectGuid.h.

Constructor & Destructor Documentation

◆ ObjectGuidGenerator()

ObjectGuidGenerator::ObjectGuidGenerator ( HighGuid  high,
ObjectGuid::LowType  start = UI64LIT(1) 
)
inlineexplicit

Definition at line 401 of file ObjectGuid.h.

◆ ~ObjectGuidGenerator()

ObjectGuidGenerator::~ObjectGuidGenerator ( )
default

Member Function Documentation

◆ CheckGuidTrigger()

void ObjectGuidGenerator::CheckGuidTrigger ( )
protected

Definition at line 805 of file ObjectGuid.cpp.

+ Here is the caller graph for this function:

◆ Generate()

ObjectGuid::LowType ObjectGuidGenerator::Generate ( )

Definition at line 788 of file ObjectGuid.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetNextAfterMaxUsed()

ObjectGuid::LowType ObjectGuidGenerator::GetNextAfterMaxUsed ( ) const
inline

Definition at line 406 of file ObjectGuid.h.

◆ HandleCounterOverflow()

void ObjectGuidGenerator::HandleCounterOverflow ( )
protected

Definition at line 799 of file ObjectGuid.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Set()

void ObjectGuidGenerator::Set ( ObjectGuid::LowType  val)
inline

Definition at line 404 of file ObjectGuid.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ _high

HighGuid ObjectGuidGenerator::_high
protected

Definition at line 411 of file ObjectGuid.h.

◆ _nextGuid

ObjectGuid::LowType ObjectGuidGenerator::_nextGuid
protected

Definition at line 412 of file ObjectGuid.h.


The documentation for this class was generated from the following files: