接続関連の設定を集めたものです。内部的にPhotonNetwork.ConnectUsingSettingsによって使用されます。 More...
Inherits ScriptableObject.
Public Types | |
| enum | HostingOption { HostingOption.NotSet = 0, HostingOption.PhotonCloud = 1, HostingOption.SelfHosted = 2, HostingOption.OfflineMode = 3, HostingOption.BestRegion = 4 } |
Public Member Functions | |
| void | UseCloudBestRegion (string cloudAppid) |
| void | UseCloud (string cloudAppid) |
| void | UseCloud (string cloudAppid, CloudRegionCode code) |
| void | UseMyServer (string serverAddress, int serverPort, string application) |
| override string | ToString () |
Static Public Member Functions | |
| static bool | IsAppId (string val) |
| 文字列がGuidであるかどうかを作成してみることでチェックします。 More... | |
| static void | ResetBestRegionCodeInPreferences () |
Public Attributes | |
| string | AppID = "" |
| string | VoiceAppID = "" |
| string | ChatAppID = "" |
| HostingOption | HostType = HostingOption.NotSet |
| CloudRegionCode | PreferredRegion |
| CloudRegionFlag | EnabledRegions = (CloudRegionFlag)(-1) |
| ConnectionProtocol | Protocol = ConnectionProtocol.Udp |
| string | ServerAddress = "" |
| int | ServerPort = 5055 |
| int | VoiceServerPort = 5055 |
| bool | JoinLobby |
| bool | EnableLobbyStatistics |
| PhotonLogLevel | PunLogging = PhotonLogLevel.ErrorsOnly |
| DebugLevel | NetworkLogging = DebugLevel.ERROR |
| bool | RunInBackground = true |
| List< string > | RpcList = new List<string>() |
| bool | DisableAutoOpenWizard |
Properties | |
| static CloudRegionCode | BestRegionCodeInPreferences [get] |
| 環境設定で最良のリージョンコードを取得します。 これは内部のためカスタムインスペクタからアクセスすることができないので、PhotonHandlerを作成します。 More... | |
接続関連の設定を集めたものです。内部的にPhotonNetwork.ConnectUsingSettingsによって使用されます。
|
static |
文字列がGuidであるかどうかを作成してみることでチェックします。
| val | 確認する潜在的なGUID。 |
|
static |
| override string ServerSettings.ToString | ( | ) |
| void ServerSettings.UseCloud | ( | string | cloudAppid | ) |
| void ServerSettings.UseCloud | ( | string | cloudAppid, |
| CloudRegionCode | code | ||
| ) |
| void ServerSettings.UseCloudBestRegion | ( | string | cloudAppid | ) |
| void ServerSettings.UseMyServer | ( | string | serverAddress, |
| int | serverPort, | ||
| string | application | ||
| ) |
| string ServerSettings.AppID = "" |
| string ServerSettings.ChatAppID = "" |
| bool ServerSettings.DisableAutoOpenWizard |
| CloudRegionFlag ServerSettings.EnabledRegions = (CloudRegionFlag)(-1) |
| bool ServerSettings.EnableLobbyStatistics |
| HostingOption ServerSettings.HostType = HostingOption.NotSet |
| bool ServerSettings.JoinLobby |
| DebugLevel ServerSettings.NetworkLogging = DebugLevel.ERROR |
| CloudRegionCode ServerSettings.PreferredRegion |
| ConnectionProtocol ServerSettings.Protocol = ConnectionProtocol.Udp |
| PhotonLogLevel ServerSettings.PunLogging = PhotonLogLevel.ErrorsOnly |
| List<string> ServerSettings.RpcList = new List<string>() |
| bool ServerSettings.RunInBackground = true |
| string ServerSettings.ServerAddress = "" |
| int ServerSettings.ServerPort = 5055 |
| string ServerSettings.VoiceAppID = "" |
| int ServerSettings.VoiceServerPort = 5055 |
|
staticget |
環境設定で最良のリージョンコードを取得します。 これは内部のためカスタムインスペクタからアクセスすることができないので、PhotonHandlerを作成します。
環境設定で最良のリージョンコード。