Photon Unity Networking 2
2.12
|
Public Member Functions |
Static Public Member Functions |
Public Attributes |
Properties |
List of all members
ServerSettings Class Reference
Collection of connection-relevant settings, used internally by PhotonNetwork.ConnectUsingSettings. More...
Inherits ScriptableObject.
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 |
bool | StartInOfflineMode |
PunLogLevel | PunLogging = PunLogLevel.ErrorsOnly |
bool | EnableSupportLogger |
bool | RunInBackground = true |
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
|
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.
|
static |
Sets the "best region summary" in the preferences to null. On next start, the client will ping all available.
override string ToString | ( | ) |
String summary of the AppSettings.
void UseCloud | ( | string | cloudAppid, |
string | code = "" |
||
) |
Sets appid and region code in the AppSettings. Used in Editor.
Property Documentation
|
staticget |
Gets the "best region summary" from the preferences.
The best region code in preferences.