![]() |
TrinityCore
|
#include <Realm.h>
Public Member Functions | |
| Realm () | |
| Realm (Realm const &other) | |
| Realm (Realm &&other) noexcept | |
| Realm & | operator= (Realm const &other) |
| Realm & | operator= (Realm &&other) noexcept |
| ~Realm () | |
| 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 |
| RealmPopulationState | PopulationLevel |
Static Public Attributes | |
| static uint32 const | ConfigIdByType [MAX_CLIENT_REALM_TYPE] |
|
default |
|
default |
|
defaultnoexcept |
|
default |
| boost::asio::ip::address Realm::GetAddressForClient | ( | boost::asio::ip::address const & | clientAddr | ) | const |
Definition at line 39 of file Realm.cpp.
References Addresses, and Trinity::Net::SelectAddressForClient().
| uint32 Realm::GetConfigId | ( | ) | const |
Definition at line 50 of file Realm.cpp.
References ConfigIdByType, and Type.
Referenced by RealmList::FillRealmEntry().
| void Realm::SetName | ( | std::string | name | ) |
Definition at line 32 of file Realm.cpp.
References Name, and NormalizedName.
Referenced by RealmList::UpdateRealm().
| std::vector<boost::asio::ip::address> Realm::Addresses |
Definition at line 149 of file Realm.h.
Referenced by GetAddressForClient(), and RealmList::UpdateRealm().
| AccountTypes Realm::AllowedSecurityLevel |
Definition at line 156 of file Realm.h.
Referenced by RealmList::FillRealmEntry(), and RealmList::UpdateRealm().
| uint32 Realm::Build |
Definition at line 148 of file Realm.h.
Referenced by RealmList::FillRealmEntry(), and RealmList::UpdateRealm().
|
static |
Definition at line 55 of file Realm.h.
Referenced by GetConfigId().
| RealmFlags Realm::Flags |
Definition at line 154 of file Realm.h.
Referenced by RealmList::FillRealmEntry(), and RealmList::UpdateRealm().
| Battlenet::RealmHandle Realm::Id |
Definition at line 147 of file Realm.h.
Referenced by RealmList::FillRealmEntry(), and RealmList::UpdateRealm().
| std::string Realm::Name |
Definition at line 151 of file Realm.h.
Referenced by RealmList::FillRealmEntry(), SetName(), and RealmList::UpdateRealm().
| RealmPopulationState Realm::PopulationLevel |
Definition at line 157 of file Realm.h.
Referenced by RealmList::FillRealmEntry(), and RealmList::UpdateRealm().
| uint16 Realm::Port |
Definition at line 150 of file Realm.h.
Referenced by RealmList::UpdateRealm().
| uint8 Realm::Timezone |
Definition at line 155 of file Realm.h.
Referenced by RealmList::FillRealmEntry(), and RealmList::UpdateRealm().
| uint8 Realm::Type |
Definition at line 153 of file Realm.h.
Referenced by GetConfigId(), and RealmList::UpdateRealm().