TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
WorldPackets::Auth::AuthResponse::RealmInfo Struct Reference

#include <AuthenticationPackets.h>

Public Member Functions

 RealmInfo (uint32 realmAddress, bool isHomeRealm, bool isInternalRealm, std::string const &realmNameActual, std::string const &realmNameNormalized)
 

Public Attributes

uint32 RealmAddress
 the virtual address of this realm, constructed as RealmHandle::Region << 24 | RealmHandle::Battlegroup << 16 | RealmHandle::Index More...
 
bool IsLocal
 true if the realm is the same as the account's home realm More...
 
bool IsInternalRealm
 
std::string RealmNameActual
 the name of the realm More...
 
std::string RealmNameNormalized
 the name of the realm without spaces More...
 

Constructor & Destructor Documentation

WorldPackets::Auth::AuthResponse::RealmInfo::RealmInfo ( uint32  realmAddress,
bool  isHomeRealm,
bool  isInternalRealm,
std::string const realmNameActual,
std::string const realmNameNormalized 
)
inline
77  :
78  RealmAddress(realmAddress), IsLocal(isHomeRealm), IsInternalRealm(isInternalRealm), RealmNameActual(realmNameActual), RealmNameNormalized(realmNameNormalized) { }
bool IsLocal
true if the realm is the same as the account's home realm
Definition: AuthenticationPackets.h:81
uint32 RealmAddress
the virtual address of this realm, constructed as RealmHandle::Region << 24 | RealmHandle::Battlegrou...
Definition: AuthenticationPackets.h:80
std::string RealmNameActual
the name of the realm
Definition: AuthenticationPackets.h:83
std::string RealmNameNormalized
the name of the realm without spaces
Definition: AuthenticationPackets.h:84
bool IsInternalRealm
Definition: AuthenticationPackets.h:82

Member Data Documentation

bool WorldPackets::Auth::AuthResponse::RealmInfo::IsInternalRealm
Todo:
research
bool WorldPackets::Auth::AuthResponse::RealmInfo::IsLocal

true if the realm is the same as the account's home realm

uint32 WorldPackets::Auth::AuthResponse::RealmInfo::RealmAddress

the virtual address of this realm, constructed as RealmHandle::Region << 24 | RealmHandle::Battlegroup << 16 | RealmHandle::Index

std::string WorldPackets::Auth::AuthResponse::RealmInfo::RealmNameActual

the name of the realm

std::string WorldPackets::Auth::AuthResponse::RealmInfo::RealmNameNormalized

the name of the realm without spaces


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