// Token: 0x0600B7FB RID: 47099 RVA: 0x00436A90 File Offset: 0x00434C90 internal static CloudRegionFlag LPEJCCPEOMP(CloudRegionCode LPCNAHJGAFK) { if (Enum.IsDefined(typeof(CloudRegionFlag), LPCNAHJGAFK.ToString())) { return((CloudRegionFlag)Enum.Parse(typeof(CloudRegionFlag), LPCNAHJGAFK.ToString())); } return(CloudRegionFlag.eu); }
// Token: 0x06003E41 RID: 15937 RVA: 0x00139424 File Offset: 0x00137824 internal static CloudRegionFlag ParseFlag(CloudRegionCode region) { if (Enum.IsDefined(typeof(CloudRegionFlag), region.ToString())) { return((CloudRegionFlag)Enum.Parse(typeof(CloudRegionFlag), region.ToString())); } return((CloudRegionFlag)0); }
// Token: 0x0600B7F9 RID: 47097 RVA: 0x00436A20 File Offset: 0x00434C20 internal static CloudRegionFlag PIEBAKPDPOH(CloudRegionCode LPCNAHJGAFK) { if (Enum.IsDefined(typeof(CloudRegionFlag), LPCNAHJGAFK.ToString())) { return((CloudRegionFlag)Enum.Parse(typeof(CloudRegionFlag), LPCNAHJGAFK.ToString())); } return((CloudRegionFlag)0); }
// On Connected to a Region public override void OnConnectedToMaster() { base.OnConnectedToMaster(); Debug.Log("Connected to the Master Server on Region " + _activeRegion.ToString()); OnConnectedToServer(); }
// Token: 0x0600B258 RID: 45656 RVA: 0x00416AEE File Offset: 0x00414CEE internal static void LEFACILBIGM(CloudRegionCode DPNHODJHGJL) { if (DPNHODJHGJL == CloudRegionCode.asia) { PlayerPrefs.DeleteKey("EventSystem"); } else { PlayerPrefs.SetString("IDInputField", DPNHODJHGJL.ToString()); } }
// Token: 0x0600B239 RID: 45625 RVA: 0x004164D5 File Offset: 0x004146D5 internal static void NFCANDIBPLB(CloudRegionCode DPNHODJHGJL) { if (DPNHODJHGJL == CloudRegionCode.asia) { PlayerPrefs.DeleteKey("player.goldcrystal"); } else { PlayerPrefs.SetString("_Distortion", DPNHODJHGJL.ToString()); } }
// Token: 0x0600B274 RID: 45684 RVA: 0x004171CD File Offset: 0x004153CD internal static void MEBNOLCEOFA(CloudRegionCode DPNHODJHGJL) { if (DPNHODJHGJL == CloudRegionCode.asia) { PlayerPrefs.DeleteKey("OnPressRight"); } else { PlayerPrefs.SetString("settings.shaders.bloomintencity", DPNHODJHGJL.ToString()); } }
/// <summary> /// Connects you to a specific region's Master Server, using the Name Server to find the IP. /// </summary> /// <returns>If the operation could be sent. If false, no operation was sent.</returns> public bool ConnectToRegionMaster(CloudRegionCode region) { if (PhotonHandler.AppQuits) { Debug.LogWarning("Ignoring Connect() because app gets closed. If this is an error, check PhotonHandler.AppQuits."); return false; } IsUsingNameServer = true; this.CloudRegion = region; if (this.State == global::PeerState.ConnectedToNameServer) { return this.OpAuthenticate(this.mAppId, this.mAppVersionPun, this.PlayerName, this.CustomAuthenticationValues, region.ToString()); } #if RHTTP string address = (this.UsedProtocol == ConnectionProtocol.RHttp) ? this.NameServerAddressHttp : this.NameServerAddress; #else string address = this.NameServerAddress; #endif if (!address.Contains(":")) { int port = 0; ProtocolToNameServerPort.TryGetValue(this.UsedProtocol, out port); address = string.Format("{0}:{1}", address, port); //Debug.Log("Server to connect to: "+ address + " settings protocol: " + PhotonNetwork.PhotonServerSettings.Protocol); } if (!base.Connect(address, "ns")) { return false; } this.State = global::PeerState.ConnectingToNameServer; return true; }
/// <summary> /// Connects you to a specific region's Master Server, using the Name Server to find the IP. /// </summary> /// <returns>If the operation could be sent. If false, no operation was sent.</returns> public bool ConnectToRegionMaster(CloudRegionCode region) { if (PhotonHandler.AppQuits) { Debug.LogWarning("Ignoring Connect() because app gets closed. If this is an error, check PhotonHandler.AppQuits."); return false; } IsUsingNameServer = true; this.CloudRegion = region; if (this.State == global::PeerState.ConnectedToNameServer) { AuthenticationValues auth = this.CustomAuthenticationValues ?? new AuthenticationValues() { UserId = this.PlayerName }; return this.OpAuthenticate(this.mAppId, this.mAppVersionPun, auth, region.ToString(), requestLobbyStatistics); } string address = this.NameServerAddress; if (!base.Connect(address, "ns")) { return false; } this.State = global::PeerState.ConnectingToNameServer; return true; }
// Token: 0x0600B7DB RID: 47067 RVA: 0x004361CD File Offset: 0x004343CD public Region(CloudRegionCode JFNKDGKEAEA) { this.Code = JFNKDGKEAEA; this.Cluster = JFNKDGKEAEA.ToString(); }
// Token: 0x06003E3E RID: 15934 RVA: 0x00139380 File Offset: 0x00137780 public Region(CloudRegionCode code) { this.Code = code; this.Cluster = code.ToString(); }
// Token: 0x0600B25B RID: 45659 RVA: 0x00416B6C File Offset: 0x00414D6C internal static void GGLNANJIJLG(CloudRegionCode DPNHODJHGJL) { if (DPNHODJHGJL == CloudRegionCode.usw) { PlayerPrefs.DeleteKey("health"); } else { PlayerPrefs.SetString("Reading preview file failed! Make sure JSON file is filled properly and/or file exists: \"{0}\"", DPNHODJHGJL.ToString()); } }