TrinityCore
Realm.h File Reference
#include "Common.h"
#include "AsioHacksFwd.h"
#include <compare>
#include <vector>
+ Include dependency graph for Realm.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Battlenet::RealmHandle
 
struct  Realm
 

Namespaces

namespace  Battlenet
 

Enumerations

enum  RealmFlags {
  REALM_FLAG_NONE = 0x00 , REALM_FLAG_VERSION_MISMATCH = 0x01 , REALM_FLAG_OFFLINE = 0x02 , REALM_FLAG_SPECIFYBUILD = 0x04 ,
  REALM_FLAG_UNK1 = 0x08 , REALM_FLAG_UNK2 = 0x10 , REALM_FLAG_RECOMMENDED = 0x20 , REALM_FLAG_NEW = 0x40 ,
  REALM_FLAG_FULL = 0x80
}
 
enum  RealmType {
  REALM_TYPE_NORMAL = 0 , REALM_TYPE_PVP = 1 , REALM_TYPE_NORMAL2 = 4 , REALM_TYPE_RP = 6 ,
  REALM_TYPE_RPPVP = 8 , MAX_CLIENT_REALM_TYPE = 14 , REALM_TYPE_FFA_PVP = 16
}
 Type of server, this is values from second column of Cfg_Configs.dbc. More...
 

Variables

constexpr uint32 HARDCODED_DEVELOPMENT_REALM_CATEGORY_ID = 1
 

Enumeration Type Documentation

◆ RealmFlags

enum RealmFlags
Enumerator
REALM_FLAG_NONE 
REALM_FLAG_VERSION_MISMATCH 
REALM_FLAG_OFFLINE 
REALM_FLAG_SPECIFYBUILD 
REALM_FLAG_UNK1 
REALM_FLAG_UNK2 
REALM_FLAG_RECOMMENDED 
REALM_FLAG_NEW 
REALM_FLAG_FULL 

Definition at line 26 of file Realm.h.

◆ RealmType

enum RealmType

Type of server, this is values from second column of Cfg_Configs.dbc.

Enumerator
REALM_TYPE_NORMAL 
REALM_TYPE_PVP 
REALM_TYPE_NORMAL2 
REALM_TYPE_RP 
REALM_TYPE_RPPVP 
MAX_CLIENT_REALM_TYPE 
REALM_TYPE_FFA_PVP 

Definition at line 63 of file Realm.h.

Variable Documentation

◆ HARDCODED_DEVELOPMENT_REALM_CATEGORY_ID

constexpr uint32 HARDCODED_DEVELOPMENT_REALM_CATEGORY_ID = 1
inlineconstexpr

Definition at line 77 of file Realm.h.