TrinityCore
Realm Struct Reference

#include <Realm.h>

Public Member Functions

void SetName (std::string name)
 
boost::asio::ip::address GetAddressForClient (boost::asio::ip::address const &clientAddr) const
 
uint32 GetConfigId () const
 

Public Attributes

Battlenet::RealmHandle Id
 
uint32 Build
 
std::vector< boost::asio::ip::address > Addresses
 
uint16 Port
 
std::string Name
 
std::string NormalizedName
 
uint8 Type
 
RealmFlags Flags
 
uint8 Timezone
 
AccountTypes AllowedSecurityLevel
 
float PopulationLevel
 

Static Public Attributes

static uint32 const ConfigIdByType [MAX_CLIENT_REALM_TYPE]
 

Detailed Description

Definition at line 80 of file Realm.h.

Member Function Documentation

◆ GetAddressForClient()

boost::asio::ip::address Realm::GetAddressForClient ( boost::asio::ip::address const &  clientAddr) const

Definition at line 32 of file Realm.cpp.

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

◆ GetConfigId()

uint32 Realm::GetConfigId ( ) const

Definition at line 43 of file Realm.cpp.

+ Here is the caller graph for this function:

◆ SetName()

void Realm::SetName ( std::string  name)

Definition at line 25 of file Realm.cpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ Addresses

std::vector<boost::asio::ip::address> Realm::Addresses

Definition at line 84 of file Realm.h.

◆ AllowedSecurityLevel

AccountTypes Realm::AllowedSecurityLevel

Definition at line 91 of file Realm.h.

◆ Build

uint32 Realm::Build

Definition at line 83 of file Realm.h.

◆ ConfigIdByType

uint32 const Realm::ConfigIdByType
static
Initial value:
=
{
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
}

Definition at line 99 of file Realm.h.

◆ Flags

RealmFlags Realm::Flags

Definition at line 89 of file Realm.h.

◆ Id

Definition at line 82 of file Realm.h.

◆ Name

std::string Realm::Name

Definition at line 86 of file Realm.h.

◆ NormalizedName

std::string Realm::NormalizedName

Definition at line 87 of file Realm.h.

◆ PopulationLevel

float Realm::PopulationLevel

Definition at line 92 of file Realm.h.

◆ Port

uint16 Realm::Port

Definition at line 85 of file Realm.h.

◆ Timezone

uint8 Realm::Timezone

Definition at line 90 of file Realm.h.

◆ Type

uint8 Realm::Type

Definition at line 88 of file Realm.h.


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