Collection of connection-relevant settings, used internally by PhotonNetwork.ConnectUsingSettings. More...

Public Member Functions | |
void | UseCloud (string cloudAppid, string code="") |
Sets appid and region code in the AppSettings. Used in Editor. More... | |
override string | ToString () |
String summary of the AppSettings. More... | |
Static Public Member Functions | |
static bool | IsAppId (string val) |
Checks if a string is a Guid by attempting to create one. More... | |
static void | ResetBestRegionCodeInPreferences () |
Sets the "best region summary" in the preferences to null. On next start, the client will ping all available. More... | |
Public Attributes | |
AppSettings | AppSettings |
string | DevRegion |
Region that will be used by the Editor and Development Builds. This ensures all users will be in the same region for testing. More... | |
PunLogLevel | PunLogging = PunLogLevel.ErrorsOnly |
bool | EnableSupportLogger |
bool | RunInBackground = true |
bool | StartInOfflineMode |
List< string > | RpcList = new List<string>() |
Properties | |
static string | BestRegionSummaryInPreferences [get] |
Gets the "best region summary" from the preferences. More... | |
Detailed Description
Collection of connection-relevant settings, used internally by PhotonNetwork.ConnectUsingSettings.
Includes the AppSettings class from the Realtime APIs plus some other, PUN-relevant, settings.
Member Function Documentation
◆ IsAppId()
|
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 |
Sets the "best region summary" in the preferences to null. On next start, the client will ping all available.
◆ ToString()
override string Photon.Pun.ServerSettings.ToString | ( | ) |
String summary of the AppSettings.
◆ UseCloud()
void Photon.Pun.ServerSettings.UseCloud | ( | string | cloudAppid, |
string | code = "" |
||
) |
Sets appid and region code in the AppSettings. Used in Editor.
Member Data Documentation
◆ AppSettings
AppSettings Photon.Pun.ServerSettings.AppSettings |
◆ DevRegion
string Photon.Pun.ServerSettings.DevRegion |
Region that will be used by the Editor and Development Builds. This ensures all users will be in the same region for testing.
◆ EnableSupportLogger
bool Photon.Pun.ServerSettings.EnableSupportLogger |
◆ PunLogging
PunLogLevel Photon.Pun.ServerSettings.PunLogging = PunLogLevel.ErrorsOnly |
◆ RpcList
List<string> Photon.Pun.ServerSettings.RpcList = new List<string>() |
◆ RunInBackground
bool Photon.Pun.ServerSettings.RunInBackground = true |
◆ StartInOfflineMode
bool Photon.Pun.ServerSettings.StartInOfflineMode |
Property Documentation
◆ BestRegionSummaryInPreferences
|
staticget |
Gets the "best region summary" from the preferences.
The best region code in preferences.
The documentation for this class was generated from the following file:
- 3rd-Party/Photon/PhotonUnityNetworking/Code/ServerSettings.cs