Settings for Photon application(s) and the server to connect to. More...
Public Attributes | |
string | AppIdChat |
AppId for the Chat Api. More... | |
string | AppVersion |
The AppVersion can be used to identify builds and will split the AppId distinct "Virtual AppIds" (important for the users to find each other). More... | |
string | FixedRegion |
Can be set to any of the Photon Cloud's region names to directly connect to that region. More... | |
string | Server |
The address (hostname or IP) of the server to connect to. More... | |
ushort | Port |
If not null, this sets the port of the first Photon server to connect to (that will "forward" the client as needed). More... | |
ConnectionProtocol | Protocol = ConnectionProtocol.Udp |
The network level protocol to use. More... | |
bool | EnableProtocolFallback = true |
Enables a fallback to another protocol in case a connect to the Name Server fails. More... | |
DebugLevel | NetworkLogging = DebugLevel.ERROR |
Log level for the network lib. More... | |
Properties | |
bool | IsDefaultNameServer [get] |
If true, the default nameserver address for the Photon Cloud should be used. More... | |
string | AppId [get, set] |
Available to not immediately break compatibility. More... | |
Settings for Photon application(s) and the server to connect to.
This is Serializable for Unity, so it can be included in ScriptableObject instances.
string Photon.Chat.ChatAppSettings.AppIdChat |
AppId for the Chat Api.
string Photon.Chat.ChatAppSettings.AppVersion |
The AppVersion can be used to identify builds and will split the AppId distinct "Virtual AppIds" (important for the users to find each other).
bool Photon.Chat.ChatAppSettings.EnableProtocolFallback = true |
Enables a fallback to another protocol in case a connect to the Name Server fails.
See: LoadBalancingClient.EnableProtocolFallback.
string Photon.Chat.ChatAppSettings.FixedRegion |
Can be set to any of the Photon Cloud's region names to directly connect to that region.
DebugLevel Photon.Chat.ChatAppSettings.NetworkLogging = DebugLevel.ERROR |
Log level for the network lib.
ushort Photon.Chat.ChatAppSettings.Port |
If not null, this sets the port of the first Photon server to connect to (that will "forward" the client as needed).
ConnectionProtocol Photon.Chat.ChatAppSettings.Protocol = ConnectionProtocol.Udp |
The network level protocol to use.
string Photon.Chat.ChatAppSettings.Server |
The address (hostname or IP) of the server to connect to.
|
getset |
Available to not immediately break compatibility.
|
get |
If true, the default nameserver address for the Photon Cloud should be used.