Photon Server API Documentation v5.0RC1

Properties | List of all members
Photon.NameServer.Settings Class Reference

Properties

static Settings Default = ApplicationBase.GetConfigSectionAndValidate<Settings>("Photon:NameServer") [get]
 
ushort MasterServerPortUdp = 5055 [get, set]
 
ushort MasterServerPortTcp = 4530 [get, set]
 
ushort MasterServerPortWebSocket = 9090 [get, set]
 
string MasterServerWsPath = "Master" [get, set]
 
ushort MasterServerPortWebRTC = 7071 [get, set]
 
string NameServerConfig = "Nameserver.json" [get, set]
 
ushort MasterServerPortSecureWebSocket = 19090 [get, set]
 
bool EnablePerformanceCounters = true [get, set]
 
int MinDisconnectTime = 3000 [get, set]
 
int MaxDisconnectTime = 10000 [get, set]
 
int AuthTimeout = 20_000 [get, set]
 

Property Documentation

◆ AuthTimeout

int Photon.NameServer.Settings.AuthTimeout = 20_000
getset

◆ Default

Settings Photon.NameServer.Settings.Default = ApplicationBase.GetConfigSectionAndValidate<Settings>("Photon:NameServer")
staticget

◆ EnablePerformanceCounters

bool Photon.NameServer.Settings.EnablePerformanceCounters = true
getset

◆ MasterServerPortSecureWebSocket

ushort Photon.NameServer.Settings.MasterServerPortSecureWebSocket = 19090
getset

◆ MasterServerPortTcp

ushort Photon.NameServer.Settings.MasterServerPortTcp = 4530
getset

◆ MasterServerPortUdp

ushort Photon.NameServer.Settings.MasterServerPortUdp = 5055
getset

◆ MasterServerPortWebRTC

ushort Photon.NameServer.Settings.MasterServerPortWebRTC = 7071
getset

◆ MasterServerPortWebSocket

ushort Photon.NameServer.Settings.MasterServerPortWebSocket = 9090
getset

◆ MasterServerWsPath

string Photon.NameServer.Settings.MasterServerWsPath = "Master"
getset

◆ MaxDisconnectTime

int Photon.NameServer.Settings.MaxDisconnectTime = 10000
getset

◆ MinDisconnectTime

int Photon.NameServer.Settings.MinDisconnectTime = 3000
getset

◆ NameServerConfig

string Photon.NameServer.Settings.NameServerConfig = "Nameserver.json"
getset