TrinityCore
Battlenet::RealmHandle Struct Reference

#include <Realm.h>

Public Member Functions

 RealmHandle ()
 
 RealmHandle (uint8 region, uint8 battlegroup, uint32 index)
 
 RealmHandle (uint32 realmAddress)
 
bool operator== (RealmHandle const &r) const
 
std::strong_ordering operator<=> (RealmHandle const &r) const
 
uint32 GetAddress () const
 
std::string GetAddressString () const
 
std::string GetSubRegionAddress () const
 

Public Attributes

uint8 Region
 
uint8 Site
 
uint32 Realm
 

Detailed Description

Definition at line 41 of file Realm.h.

Constructor & Destructor Documentation

◆ RealmHandle() [1/3]

Battlenet::RealmHandle::RealmHandle ( )
inline

Definition at line 43 of file Realm.h.

◆ RealmHandle() [2/3]

Battlenet::RealmHandle::RealmHandle ( uint8  region,
uint8  battlegroup,
uint32  index 
)
inline

Definition at line 44 of file Realm.h.

◆ RealmHandle() [3/3]

Battlenet::RealmHandle::RealmHandle ( uint32  realmAddress)
inline

Definition at line 46 of file Realm.h.

Member Function Documentation

◆ GetAddress()

uint32 Battlenet::RealmHandle::GetAddress ( ) const
inline

Definition at line 56 of file Realm.h.

+ Here is the caller graph for this function:

◆ GetAddressString()

std::string Battlenet::RealmHandle::GetAddressString ( ) const

Definition at line 53 of file Realm.cpp.

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

◆ GetSubRegionAddress()

std::string Battlenet::RealmHandle::GetSubRegionAddress ( ) const

Definition at line 58 of file Realm.cpp.

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

◆ operator<=>()

std::strong_ordering Battlenet::RealmHandle::operator<=> ( RealmHandle const &  r) const
inline

Definition at line 54 of file Realm.h.

◆ operator==()

bool Battlenet::RealmHandle::operator== ( RealmHandle const &  r) const
inline

Definition at line 52 of file Realm.h.

Member Data Documentation

◆ Realm

uint32 Battlenet::RealmHandle::Realm

Definition at line 50 of file Realm.h.

◆ Region

uint8 Battlenet::RealmHandle::Region

Definition at line 48 of file Realm.h.

◆ Site

uint8 Battlenet::RealmHandle::Site

Definition at line 49 of file Realm.h.


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