TrinityCore
Loading...
Searching...
No Matches
PackedGuid Class Reference

#include <ObjectGuid.h>

Public Member Functions

 PackedGuid ()
 
 PackedGuid (ObjectGuid guid)
 
void Set (ObjectGuid const &guid)
 
std::size_t size () const
 

Private Attributes

uint8 _packedSize
 
std::array< uint8, PACKED_GUID_MIN_BUFFER_SIZE_packedGuid
 

Friends

TC_GAME_API ByteBufferoperator<< (ByteBuffer &buf, PackedGuid const &guid)
 

Detailed Description

Definition at line 268 of file ObjectGuid.h.

Constructor & Destructor Documentation

◆ PackedGuid() [1/2]

PackedGuid::PackedGuid ( )
inlineexplicit

Definition at line 273 of file ObjectGuid.h.

◆ PackedGuid() [2/2]

PackedGuid::PackedGuid ( ObjectGuid  guid)
inlineexplicit

Definition at line 274 of file ObjectGuid.h.

Member Function Documentation

◆ Set()

void PackedGuid::Set ( ObjectGuid const &  guid)

Definition at line 120 of file ObjectGuid.cpp.

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

◆ size()

std::size_t PackedGuid::size ( ) const
inline

Definition at line 278 of file ObjectGuid.h.

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator<<

TC_GAME_API ByteBuffer & operator<< ( ByteBuffer buf,
PackedGuid const &  guid 
)
friend

Definition at line 148 of file ObjectGuid.cpp.

Member Data Documentation

◆ _packedGuid

std::array<uint8, PACKED_GUID_MIN_BUFFER_SIZE> PackedGuid::_packedGuid
private

Definition at line 282 of file ObjectGuid.h.

◆ _packedSize

uint8 PackedGuid::_packedSize
private

Definition at line 281 of file ObjectGuid.h.


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