Collection of connection-relevant settings, used internally by PhotonNetwork.ConnectUsingSettings.
More...
Inherits ScriptableObject.
Collection of connection-relevant settings, used internally by PhotonNetwork.ConnectUsingSettings.
◆ HostingOption
Enumerator |
---|
NotSet | |
PhotonCloud | |
SelfHosted | |
OfflineMode | |
BestRegion | |
◆ IsAppId()
static bool ServerSettings.IsAppId |
( |
string |
val | ) |
|
|
static |
Checks if a string is a Guid by attempting to create one.
- Parameters
-
val | The potential guid to check. |
- Returns
- True if new Guid(val) did not fail.
◆ ResetBestRegionCodeInPreferences()
static void ServerSettings.ResetBestRegionCodeInPreferences |
( |
| ) |
|
|
static |
◆ ToString()
override string ServerSettings.ToString |
( |
| ) |
|
◆ UseCloud() [1/2]
void ServerSettings.UseCloud |
( |
string |
cloudAppid | ) |
|
◆ UseCloud() [2/2]
◆ UseCloudBestRegion()
void ServerSettings.UseCloudBestRegion |
( |
string |
cloudAppid | ) |
|
◆ UseMyServer()
void ServerSettings.UseMyServer |
( |
string |
serverAddress, |
|
|
int |
serverPort, |
|
|
string |
application |
|
) |
| |
◆ AppID
string ServerSettings.AppID = "" |
◆ ChatAppID
string ServerSettings.ChatAppID = "" |
◆ DisableAutoOpenWizard
bool ServerSettings.DisableAutoOpenWizard |
◆ EnabledRegions
◆ EnableLobbyStatistics
bool ServerSettings.EnableLobbyStatistics |
◆ HostType
◆ JoinLobby
bool ServerSettings.JoinLobby |
◆ NetworkLogging
DebugLevel ServerSettings.NetworkLogging = DebugLevel.ERROR |
◆ PreferredRegion
◆ Protocol
ConnectionProtocol ServerSettings.Protocol = ConnectionProtocol.Udp |
◆ PunLogging
◆ RpcList
List<string> ServerSettings.RpcList = new List<string>() |
◆ RunInBackground
bool ServerSettings.RunInBackground = true |
◆ ServerAddress
string ServerSettings.ServerAddress = "" |
◆ ServerPort
int ServerSettings.ServerPort = 5055 |
◆ VoiceAppID
string ServerSettings.VoiceAppID = "" |
◆ VoiceServerPort
int ServerSettings.VoiceServerPort = 5055 |
◆ BestRegionCodeInPreferences
Gets the best region code in preferences. This composes the PhotonHandler, since its Internal and can not be accessed by the custom inspector
The best region code in preferences.