Files
2026-06-04 11:42:34 +02:00

1069 lines
33 KiB
C#

using System;
using Oculus.Platform.Models;
using UnityEngine;
namespace Oculus.Platform
{
// Token: 0x020003A7 RID: 935
public sealed class HEMCJJJMLKI
{
// Token: 0x0600A967 RID: 43367 RVA: 0x0030F0B4 File Offset: 0x0030D2B4
private static string IDIPFIJAKOC(bool DCEPBFIKJJB)
{
if (Application.platform == (RuntimePlatform)120)
{
return PlatformSettings.BFCHLPEEDPI();
}
if (Application.platform == RuntimePlatform.OSXEditor || DCEPBFIKJJB)
{
return PlatformSettings.FFEEPGHBNND();
}
return null;
}
// Token: 0x0600A969 RID: 43369 RVA: 0x0030F0E4 File Offset: 0x0030D2E4
private static string NNMJAAPLHAN(bool DCEPBFIKJJB)
{
if (Application.platform == (RuntimePlatform)42)
{
return PlatformSettings.OIEFGAOPGKN();
}
if (Application.platform == RuntimePlatform.IPhonePlayer || DCEPBFIKJJB)
{
return PlatformSettings.FFEEPGHBNND();
}
return null;
}
// Token: 0x0600A96A RID: 43370 RVA: 0x0030F110 File Offset: 0x0030D310
public static FBKIPLFNJOD<HMIOFJAJOKC> NFDPPIHEJON(string MCOFHNPOEDN = null)
{
bool flag = Application.platform == RuntimePlatform.WindowsEditor && !PlatformSettings.UseStandalonePlatform;
MCOFHNPOEDN = HEMCJJJMLKI.DMPCPAAOJMH(flag, MCOFHNPOEDN);
FBKIPLFNJOD<HMIOFJAJOKC> fbkiplfnjod;
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl.NFDPPIHEJON(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
ndcnlincinj.BFHNFKPGECG();
fbkiplfnjod = new FBKIPLFNJOD<HMIOFJAJOKC>(0UL);
}
else if (Application.platform == RuntimePlatform.Android)
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
fbkiplfnjod = nnljdejgpck.NFDPPIHEJON(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.WindowsPlayer)
{
throw new NotImplementedException("Oculus platform is not implemented on this platform yet.");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl2.NFDPPIHEJON(MCOFHNPOEDN);
}
HEMCJJJMLKI.HLIBCNHDFOP = fbkiplfnjod != null;
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("Oculus Platform failed to initialize.");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("Oculus.Platform.Core.LogMessages is set to true. This will cause extra heap allocations, and should not be used outside of testing and debugging.");
}
new GameObject("Oculus.Platform.CallbackRunner").AddComponent<CallbackRunner>();
return fbkiplfnjod;
}
// Token: 0x0600A96B RID: 43371 RVA: 0x0030F20C File Offset: 0x0030D40C
public static FBKIPLFNJOD<HMIOFJAJOKC> OPKCJIHJHCB(string MCOFHNPOEDN = null)
{
bool flag = Application.platform != RuntimePlatform.WindowsPlayer || !PlatformSettings.COJKECHAFHF();
MCOFHNPOEDN = HEMCJJJMLKI.DMPCPAAOJMH(flag, MCOFHNPOEDN);
FBKIPLFNJOD<HMIOFJAJOKC> fbkiplfnjod;
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl.ANBIGDAFHMB(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
ndcnlincinj.IDILAOMGKBL();
fbkiplfnjod = new FBKIPLFNJOD<HMIOFJAJOKC>(0UL);
}
else if (Application.platform == (RuntimePlatform)(-15))
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
fbkiplfnjod = nnljdejgpck.ALCANPAMGOJ(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.WindowsWebPlayer)
{
throw new NotImplementedException("OpusEncoder");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl2.MMBCAAPKEPI(MCOFHNPOEDN);
}
HEMCJJJMLKI.HLIBCNHDFOP = fbkiplfnjod != null;
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("_MainTex_ST");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("\\n");
}
new GameObject("Movement Up").AddComponent<CallbackRunner>();
return fbkiplfnjod;
}
// Token: 0x0600A96C RID: 43372 RVA: 0x0030F308 File Offset: 0x0030D508
public static bool POFMGMGPFBC()
{
return HEMCJJJMLKI.HLIBCNHDFOP;
}
// Token: 0x0600A96D RID: 43373 RVA: 0x0030F310 File Offset: 0x0030D510
private static string NAEJGIJFDCE(bool CLKOBKOFEFJ, string MCOFHNPOEDN = null)
{
if (!Application.isEditor || CLKOBKOFEFJ)
{
string text = HEMCJJJMLKI.NNMJAAPLHAN(CLKOBKOFEFJ);
if (string.IsNullOrEmpty(MCOFHNPOEDN))
{
if (string.IsNullOrEmpty(text))
{
throw new UnityException("Graphics device: ");
}
MCOFHNPOEDN = text;
}
else if (!string.IsNullOrEmpty(text))
{
string text2 = "api/events/";
object[] array = new object[6];
array[1] = text;
array[0] = MCOFHNPOEDN;
Debug.LogWarningFormat(text2, array);
}
}
return MCOFHNPOEDN;
}
// Token: 0x0600A96E RID: 43374 RVA: 0x0030F384 File Offset: 0x0030D584
public static bool BOCFJBNNEFP()
{
return HEMCJJJMLKI.HLIBCNHDFOP;
}
// Token: 0x0600A96F RID: 43375 RVA: 0x0030F38C File Offset: 0x0030D58C
private static string HKKNMBHDFCD(bool CLKOBKOFEFJ, string MCOFHNPOEDN = null)
{
if (!Application.isEditor || CLKOBKOFEFJ)
{
string text = HEMCJJJMLKI.MFHJBGKFILO(CLKOBKOFEFJ);
if (string.IsNullOrEmpty(MCOFHNPOEDN))
{
if (string.IsNullOrEmpty(text))
{
throw new UnityException("The host has restricted access to the stage");
}
MCOFHNPOEDN = text;
}
else if (!string.IsNullOrEmpty(text))
{
string text2 = "The server address is 127.0.0.1 (localhost): Make sure the server is running on this machine. Android and iOS emulators have their own localhost.";
object[] array = new object[6];
array[0] = text;
array[0] = MCOFHNPOEDN;
Debug.LogWarningFormat(text2, array);
}
}
return MCOFHNPOEDN;
}
// Token: 0x0600A970 RID: 43376 RVA: 0x0030F400 File Offset: 0x0030D600
public static FBKIPLFNJOD<HMIOFJAJOKC> JJBBGHOOCMA(string MCOFHNPOEDN = null)
{
bool flag = Application.platform != RuntimePlatform.OSXEditor || PlatformSettings.NFHDHFFEOCB();
MCOFHNPOEDN = HEMCJJJMLKI.NCNIOFNGIDL(flag, MCOFHNPOEDN);
FBKIPLFNJOD<HMIOFJAJOKC> fbkiplfnjod;
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl.PECAJFJIACG(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
ndcnlincinj.HDBPKNPEAEP();
fbkiplfnjod = new FBKIPLFNJOD<HMIOFJAJOKC>(0UL);
}
else if (Application.platform == (RuntimePlatform)63)
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
fbkiplfnjod = nnljdejgpck.KJCIFMHLJJP(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.OSXEditor)
{
throw new NotImplementedException("registration_step_finished");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl2.MPHMBJBPAOH(MCOFHNPOEDN);
}
HEMCJJJMLKI.HLIBCNHDFOP = fbkiplfnjod == null;
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("{0}.{1}");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("Error reporting room: ");
}
new GameObject("ButtonDown_3").AddComponent<CallbackRunner>();
return fbkiplfnjod;
}
// Token: 0x0600A971 RID: 43377 RVA: 0x0030F4FC File Offset: 0x0030D6FC
internal static void GGIINDPIKCD()
{
HEMCJJJMLKI.HLIBCNHDFOP = false;
}
// Token: 0x0600A972 RID: 43378 RVA: 0x0030F504 File Offset: 0x0030D704
public static FBKIPLFNJOD<HMIOFJAJOKC> ODLCAMGOFON(string MCOFHNPOEDN = null)
{
bool flag = Application.platform == RuntimePlatform.OSXEditor && !PlatformSettings.COJKECHAFHF();
MCOFHNPOEDN = HEMCJJJMLKI.NAEJGIJFDCE(flag, MCOFHNPOEDN);
FBKIPLFNJOD<HMIOFJAJOKC> fbkiplfnjod;
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl.ALEPKNDOOCN(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
ndcnlincinj.OAFBLIBAFHJ();
fbkiplfnjod = new FBKIPLFNJOD<HMIOFJAJOKC>(0UL);
}
else if (Application.platform == RuntimePlatform.BlackBerryPlayer)
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
fbkiplfnjod = nnljdejgpck.HODNHAFBPKH(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.OSXWebPlayer)
{
throw new NotImplementedException("OnConnectedToMaster() was called by PUN. Now this client is connected and could join a room. Calling: PhotonNetwork.JoinRandomRoom();");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl2.KJIIIGOKBEE(MCOFHNPOEDN);
}
HEMCJJJMLKI.HLIBCNHDFOP = fbkiplfnjod == null;
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("Failed to download config settings: ");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("Due to AuthOnceWss, switching TransportProtocol to ExpectedProtocol: {0}.");
}
new GameObject("HTTPConnection").AddComponent<CallbackRunner>();
return fbkiplfnjod;
}
// Token: 0x0600A973 RID: 43379 RVA: 0x0030F600 File Offset: 0x0030D800
public static bool IAMEBOKCMMH()
{
return HEMCJJJMLKI.HLIBCNHDFOP;
}
// Token: 0x0600A974 RID: 43380 RVA: 0x0030F608 File Offset: 0x0030D808
public static void MNPLJMACJMH(string MCOFHNPOEDN = null)
{
bool flag = Application.platform == RuntimePlatform.WindowsWebPlayer && PlatformSettings.LOKBDBMIDEP();
MCOFHNPOEDN = HEMCJJJMLKI.DMPCPAAOJMH(flag, MCOFHNPOEDN);
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl.LOBALIJBGOL(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
HEMCJJJMLKI.HLIBCNHDFOP = ndcnlincinj.BNGLIOKAGHC();
}
else if (Application.platform == (RuntimePlatform)(-101))
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
HEMCJJJMLKI.HLIBCNHDFOP = nnljdejgpck.DMFMKFMIHME(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.WindowsEditor)
{
throw new NotImplementedException("System");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl2.LPNNCBLELJJ(MCOFHNPOEDN);
}
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("Rooms");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("x");
}
new GameObject("Yay :)").AddComponent<CallbackRunner>();
}
// Token: 0x0600A975 RID: 43381 RVA: 0x0030F700 File Offset: 0x0030D900
public static void EJDBHPKEJHG(string MCOFHNPOEDN = null)
{
bool flag = Application.platform == RuntimePlatform.OSXPlayer && PlatformSettings.IBEKFOCBDNA();
MCOFHNPOEDN = HEMCJJJMLKI.EIBGFCPGEAK(flag, MCOFHNPOEDN);
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl.OJMNIEOHEPE(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
HEMCJJJMLKI.HLIBCNHDFOP = ndcnlincinj.NCLKCKKFADM();
}
else if (Application.platform == RuntimePlatform.WebGLPlayer)
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
HEMCJJJMLKI.HLIBCNHDFOP = nnljdejgpck.CEFJHJLKPGD(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.OSXEditor)
{
throw new NotImplementedException("\" contains inappropriate words.");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl2.LMACAJPHDDN(MCOFHNPOEDN);
}
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("Nîdhel");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning(", Remote = ");
}
new GameObject("2").AddComponent<CallbackRunner>();
}
// Token: 0x0600A976 RID: 43382 RVA: 0x0030F7F8 File Offset: 0x0030D9F8
public static bool COEOKONCJBH()
{
return HEMCJJJMLKI.HLIBCNHDFOP;
}
// Token: 0x0600A977 RID: 43383 RVA: 0x0030F800 File Offset: 0x0030DA00
public static void PKFIPPDFCIO(string MCOFHNPOEDN = null)
{
bool flag = Application.platform != RuntimePlatform.IPhonePlayer || !PlatformSettings.IBEKFOCBDNA();
MCOFHNPOEDN = HEMCJJJMLKI.EIBGFCPGEAK(flag, MCOFHNPOEDN);
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl.CFPJGMPBGNI(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
HEMCJJJMLKI.HLIBCNHDFOP = ndcnlincinj.DKAKFOMLLCN();
}
else if (Application.platform == (RuntimePlatform)(-98))
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
HEMCJJJMLKI.HLIBCNHDFOP = nnljdejgpck.NINFKHNGHKG(MCOFHNPOEDN);
}
else
{
if (Application.platform != (RuntimePlatform)6)
{
throw new NotImplementedException("Unexpected EOF reading GZIP header.");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl2.LMACAJPHDDN(MCOFHNPOEDN);
}
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("Status: ");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("_COMPLETED");
}
new GameObject("LC").AddComponent<CallbackRunner>();
}
// Token: 0x0600A978 RID: 43384 RVA: 0x0030F8F8 File Offset: 0x0030DAF8
public static void CJEFFIPPFIM(string MCOFHNPOEDN = null)
{
bool flag = Application.platform == RuntimePlatform.OSXDashboardPlayer && !PlatformSettings.NFHDHFFEOCB();
MCOFHNPOEDN = HEMCJJJMLKI.NAEJGIJFDCE(flag, MCOFHNPOEDN);
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl.CFPJGMPBGNI(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
HEMCJJJMLKI.HLIBCNHDFOP = ndcnlincinj.CPDHMPMPLHB();
}
else if (Application.platform == (RuntimePlatform)(-82))
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
HEMCJJJMLKI.HLIBCNHDFOP = nnljdejgpck.BIOGKJBGKHE(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.OSXWebPlayer)
{
throw new NotImplementedException("Found best region: '");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl2.JIIANKAIDKA(MCOFHNPOEDN);
}
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("bhgGIAEoCzIULnJlY3Jvb20uVmVjdG9yM0RhdGESMgoUY3VycmVudExvY2Fs");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("KeyboardActive");
}
new GameObject(" ").AddComponent<CallbackRunner>();
}
// Token: 0x0600A979 RID: 43385 RVA: 0x0030F9F0 File Offset: 0x0030DBF0
public static bool ENILKLPCDOC()
{
return HEMCJJJMLKI.HLIBCNHDFOP;
}
// Token: 0x0600A97A RID: 43386 RVA: 0x0030F9F8 File Offset: 0x0030DBF8
internal static void GPLAICAKFAC()
{
HEMCJJJMLKI.HLIBCNHDFOP = true;
}
// Token: 0x0600A97B RID: 43387 RVA: 0x0030FA00 File Offset: 0x0030DC00
public static bool NAHNOGMAEPK()
{
return HEMCJJJMLKI.HLIBCNHDFOP;
}
// Token: 0x0600A97C RID: 43388 RVA: 0x0030FA08 File Offset: 0x0030DC08
public static void DMODLLAELMG(string MCOFHNPOEDN = null)
{
bool flag = Application.platform == RuntimePlatform.WindowsEditor && !PlatformSettings.UseStandalonePlatform;
MCOFHNPOEDN = HEMCJJJMLKI.DMPCPAAOJMH(flag, MCOFHNPOEDN);
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl.DMODLLAELMG(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
HEMCJJJMLKI.HLIBCNHDFOP = ndcnlincinj.BFHNFKPGECG();
}
else if (Application.platform == RuntimePlatform.Android)
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
HEMCJJJMLKI.HLIBCNHDFOP = nnljdejgpck.DMODLLAELMG(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.WindowsPlayer)
{
throw new NotImplementedException("Oculus platform is not implemented on this platform yet.");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl2.DMODLLAELMG(MCOFHNPOEDN);
}
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("Oculus Platform failed to initialize.");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("Oculus.Platform.Core.LogMessages is set to true. This will cause extra heap allocations, and should not be used outside of testing and debugging.");
}
new GameObject("Oculus.Platform.CallbackRunner").AddComponent<CallbackRunner>();
}
// Token: 0x0600A97D RID: 43389 RVA: 0x0030FB00 File Offset: 0x0030DD00
private static string EIBGFCPGEAK(bool CLKOBKOFEFJ, string MCOFHNPOEDN = null)
{
if (!Application.isEditor || CLKOBKOFEFJ)
{
string text = HEMCJJJMLKI.MFHJBGKFILO(CLKOBKOFEFJ);
if (string.IsNullOrEmpty(MCOFHNPOEDN))
{
if (string.IsNullOrEmpty(text))
{
throw new UnityException("r");
}
MCOFHNPOEDN = text;
}
else if (!string.IsNullOrEmpty(text))
{
string text2 = "z";
object[] array = new object[6];
array[0] = text;
array[0] = MCOFHNPOEDN;
Debug.LogWarningFormat(text2, array);
}
}
return MCOFHNPOEDN;
}
// Token: 0x0600A97E RID: 43390 RVA: 0x0030FB74 File Offset: 0x0030DD74
private static string JOFGLDPAJBI(bool DCEPBFIKJJB)
{
if (Application.platform == RuntimePlatform.IPhonePlayer)
{
return PlatformSettings.AKNODMINOOG();
}
if (Application.platform == RuntimePlatform.OSXWebPlayer || DCEPBFIKJJB)
{
return PlatformSettings.MIPNJFDNGPL();
}
return null;
}
// Token: 0x0600A97F RID: 43391 RVA: 0x0030FBA0 File Offset: 0x0030DDA0
internal static void FEDGBKLBENE()
{
HEMCJJJMLKI.HLIBCNHDFOP = false;
}
// Token: 0x0600A980 RID: 43392 RVA: 0x0030FBA8 File Offset: 0x0030DDA8
internal static void GDJJPCOFEFM()
{
HEMCJJJMLKI.HLIBCNHDFOP = true;
}
// Token: 0x0600A981 RID: 43393 RVA: 0x0030FBB0 File Offset: 0x0030DDB0
public static void MHFAELAEJAJ(string MCOFHNPOEDN = null)
{
bool flag = Application.platform != RuntimePlatform.OSXDashboardPlayer || !PlatformSettings.BCJDDLOBOGA();
MCOFHNPOEDN = HEMCJJJMLKI.DMPCPAAOJMH(flag, MCOFHNPOEDN);
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl.CKMFCCFPDJO(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
HEMCJJJMLKI.HLIBCNHDFOP = ndcnlincinj.PKOGFFGBCHF();
}
else if (Application.platform == (RuntimePlatform)119)
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
HEMCJJJMLKI.HLIBCNHDFOP = nnljdejgpck.NNOKDJOMNPN(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.WindowsEditor)
{
throw new NotImplementedException("ResetAndSendAction( ");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl2.LEAHIHGNHKC(MCOFHNPOEDN);
}
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("move");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("Room Saved!");
}
new GameObject("PhotonVoiceMono").AddComponent<CallbackRunner>();
}
// Token: 0x0600A982 RID: 43394 RVA: 0x0030FCA8 File Offset: 0x0030DEA8
internal static void GDOHAOEFNGI()
{
HEMCJJJMLKI.HLIBCNHDFOP = true;
}
// Token: 0x0600A983 RID: 43395 RVA: 0x0030FCB0 File Offset: 0x0030DEB0
public static FBKIPLFNJOD<HMIOFJAJOKC> KFMOIMBEHIJ(string MCOFHNPOEDN = null)
{
bool flag = Application.platform == RuntimePlatform.OSXEditor && PlatformSettings.ECAFJOGBDAK();
MCOFHNPOEDN = HEMCJJJMLKI.EIBGFCPGEAK(flag, MCOFHNPOEDN);
FBKIPLFNJOD<HMIOFJAJOKC> fbkiplfnjod;
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl.JJBBGHOOCMA(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
ndcnlincinj.BFHNFKPGECG();
fbkiplfnjod = new FBKIPLFNJOD<HMIOFJAJOKC>(0UL);
}
else if (Application.platform == (RuntimePlatform)33)
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
fbkiplfnjod = nnljdejgpck.HDKGIGGGPGJ(MCOFHNPOEDN);
}
else
{
if (Application.platform != (RuntimePlatform)6)
{
throw new NotImplementedException("NerdQueen");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl2.ONAAMOBPMGO(MCOFHNPOEDN);
}
HEMCJJJMLKI.HLIBCNHDFOP = fbkiplfnjod == null;
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("Reconnect() failed. It seems the client wasn't connected before?! Current state: ");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("s");
}
new GameObject("Objectives").AddComponent<CallbackRunner>();
return fbkiplfnjod;
}
// Token: 0x0600A985 RID: 43397 RVA: 0x0030FDB4 File Offset: 0x0030DFB4
private static string MFHJBGKFILO(bool DCEPBFIKJJB)
{
if (Application.platform == RuntimePlatform.PS4)
{
return PlatformSettings.MobileAppID;
}
if (Application.platform == RuntimePlatform.WindowsEditor || DCEPBFIKJJB)
{
return PlatformSettings.FFEEPGHBNND();
}
return null;
}
// Token: 0x0600A986 RID: 43398 RVA: 0x0030FDE0 File Offset: 0x0030DFE0
public static void GKBAAPPBHIN(string MCOFHNPOEDN = null)
{
bool flag = Application.platform != RuntimePlatform.WindowsEditor || PlatformSettings.IBEKFOCBDNA();
MCOFHNPOEDN = HEMCJJJMLKI.EIBGFCPGEAK(flag, MCOFHNPOEDN);
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl.PGNNEBJKLBO(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
HEMCJJJMLKI.HLIBCNHDFOP = ndcnlincinj.HDBPKNPEAEP();
}
else if (Application.platform == (RuntimePlatform)(-75))
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
HEMCJJJMLKI.HLIBCNHDFOP = nnljdejgpck.GODPBAFCNLN(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.WindowsPlayer)
{
throw new NotImplementedException("Create failed on GameServer. Changing back to MasterServer. Msg: ");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl2.NINJIPKDHCD(MCOFHNPOEDN);
}
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("Clear Cache");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("Config");
}
new GameObject("VirtualButtonPressed").AddComponent<CallbackRunner>();
}
// Token: 0x0600A987 RID: 43399 RVA: 0x0030FED8 File Offset: 0x0030E0D8
internal static void HEEACJMOMFH()
{
HEMCJJJMLKI.HLIBCNHDFOP = true;
}
// Token: 0x0600A988 RID: 43400 RVA: 0x0030FEE0 File Offset: 0x0030E0E0
private static string DMPCPAAOJMH(bool CLKOBKOFEFJ, string MCOFHNPOEDN = null)
{
if (!Application.isEditor || CLKOBKOFEFJ)
{
string text = HEMCJJJMLKI.DLILMBBKIGJ(CLKOBKOFEFJ);
if (string.IsNullOrEmpty(MCOFHNPOEDN))
{
if (string.IsNullOrEmpty(text))
{
throw new UnityException("Update your app id by selecting 'Oculus Platform' -> 'Edit Settings'");
}
MCOFHNPOEDN = text;
}
else if (!string.IsNullOrEmpty(text))
{
Debug.LogWarningFormat("The 'Oculus App Id ({0})' field in 'Oculus Platform/Edit Settings' is clobbering appId ({1}) that you passed in to Platform.Core.Init. You should only specify this in one place. We recommend the menu location.", new object[] { text, MCOFHNPOEDN });
}
}
return MCOFHNPOEDN;
}
// Token: 0x0600A989 RID: 43401 RVA: 0x0030FF54 File Offset: 0x0030E154
internal static void DFKIKGOAODF()
{
HEMCJJJMLKI.HLIBCNHDFOP = false;
}
// Token: 0x0600A98A RID: 43402 RVA: 0x0030FF5C File Offset: 0x0030E15C
public static bool IMGNECAMMBG()
{
return HEMCJJJMLKI.HLIBCNHDFOP;
}
// Token: 0x0600A98B RID: 43403 RVA: 0x0030FF64 File Offset: 0x0030E164
public static bool GHKHELJAJJF()
{
return HEMCJJJMLKI.HLIBCNHDFOP;
}
// Token: 0x0600A98C RID: 43404 RVA: 0x0030FF6C File Offset: 0x0030E16C
private static string ADACKLJFPFJ(bool DCEPBFIKJJB)
{
if (Application.platform == (RuntimePlatform)(-18))
{
return PlatformSettings.OIEFGAOPGKN();
}
if (Application.platform == RuntimePlatform.OSXEditor || DCEPBFIKJJB)
{
return PlatformSettings.ODJILNKGLGO();
}
return null;
}
// Token: 0x0600A98D RID: 43405 RVA: 0x0030FF98 File Offset: 0x0030E198
public static FBKIPLFNJOD<HMIOFJAJOKC> HKBCLPIAOFN(string MCOFHNPOEDN = null)
{
bool flag = Application.platform != RuntimePlatform.OSXDashboardPlayer || PlatformSettings.LOKBDBMIDEP();
MCOFHNPOEDN = HEMCJJJMLKI.DMPCPAAOJMH(flag, MCOFHNPOEDN);
FBKIPLFNJOD<HMIOFJAJOKC> fbkiplfnjod;
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl.LKFOOKDBBJD(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
ndcnlincinj.GNBDIHENJJP();
fbkiplfnjod = new FBKIPLFNJOD<HMIOFJAJOKC>(1UL);
}
else if (Application.platform == RuntimePlatform.WP8Player)
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
fbkiplfnjod = nnljdejgpck.HODNHAFBPKH(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.WindowsWebPlayer)
{
throw new NotImplementedException("pitch");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl2.BFEEJMIJGII(MCOFHNPOEDN);
}
HEMCJJJMLKI.HLIBCNHDFOP = fbkiplfnjod == null;
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("OBJECTIVE");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("onTweenComplete");
}
new GameObject("SupportLogger OnDisconnectedFromPhoton().").AddComponent<CallbackRunner>();
return fbkiplfnjod;
}
// Token: 0x0600A98E RID: 43406 RVA: 0x00310094 File Offset: 0x0030E294
public static void GODPBAFCNLN(string MCOFHNPOEDN = null)
{
bool flag = Application.platform == (RuntimePlatform)6 && !PlatformSettings.IPALGLHMDJP();
MCOFHNPOEDN = HEMCJJJMLKI.EIBGFCPGEAK(flag, MCOFHNPOEDN);
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl.BAHLPJOINOH(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
HEMCJJJMLKI.HLIBCNHDFOP = ndcnlincinj.JBDPPKNEIIL();
}
else if (Application.platform == (RuntimePlatform)(-109))
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
HEMCJJJMLKI.HLIBCNHDFOP = nnljdejgpck.FGKEDPMPLMM(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.WindowsWebPlayer)
{
throw new NotImplementedException("_Color");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl2.CFPJGMPBGNI(MCOFHNPOEDN);
}
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("RpcAttachToObject");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("in");
}
new GameObject("0.########").AddComponent<CallbackRunner>();
}
// Token: 0x0600A98F RID: 43407 RVA: 0x0031018C File Offset: 0x0030E38C
public static void FBMJCDMNIHJ(string MCOFHNPOEDN = null)
{
bool flag = Application.platform != RuntimePlatform.WindowsPlayer || PlatformSettings.APMCDBLPHMD();
MCOFHNPOEDN = HEMCJJJMLKI.NCNIOFNGIDL(flag, MCOFHNPOEDN);
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl.LMACAJPHDDN(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
HEMCJJJMLKI.HLIBCNHDFOP = ndcnlincinj.FOADHGPKNOA();
}
else if (Application.platform == (RuntimePlatform)58)
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
HEMCJJJMLKI.HLIBCNHDFOP = nnljdejgpck.CEFJHJLKPGD(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.OSXDashboardPlayer)
{
throw new NotImplementedException("scale");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl2.BAFALDKLHOP(MCOFHNPOEDN);
}
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("Publishing...");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("Opening");
}
new GameObject("Can't set MaxPlayers when not in that room.").AddComponent<CallbackRunner>();
}
// Token: 0x0600A990 RID: 43408 RVA: 0x00310284 File Offset: 0x0030E484
public static FBKIPLFNJOD<HMIOFJAJOKC> CBKOIPOJIHJ(string MCOFHNPOEDN = null)
{
bool flag = Application.platform != (RuntimePlatform)6 || PlatformSettings.APMCDBLPHMD();
MCOFHNPOEDN = HEMCJJJMLKI.EIBGFCPGEAK(flag, MCOFHNPOEDN);
FBKIPLFNJOD<HMIOFJAJOKC> fbkiplfnjod;
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl.ALEPKNDOOCN(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
ndcnlincinj.NMEGLMCMKGF();
fbkiplfnjod = new FBKIPLFNJOD<HMIOFJAJOKC>(0UL);
}
else if (Application.platform == (RuntimePlatform)(-1))
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
fbkiplfnjod = nnljdejgpck.PGCMAHMBGIB(MCOFHNPOEDN);
}
else
{
if (Application.platform != (RuntimePlatform)6)
{
throw new NotImplementedException("User-Agent");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl2.OBNHDIDBLEG(MCOFHNPOEDN);
}
HEMCJJJMLKI.HLIBCNHDFOP = fbkiplfnjod == null;
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("Receipt Page");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("GiftRarity");
}
new GameObject("rotation").AddComponent<CallbackRunner>();
return fbkiplfnjod;
}
// Token: 0x0600A991 RID: 43409 RVA: 0x00310380 File Offset: 0x0030E580
public static void LOBALIJBGOL(string MCOFHNPOEDN = null)
{
bool flag = Application.platform == RuntimePlatform.IPhonePlayer && !PlatformSettings.BCJDDLOBOGA();
MCOFHNPOEDN = HEMCJJJMLKI.EIBGFCPGEAK(flag, MCOFHNPOEDN);
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl.HFDMBBNIGPA(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
HEMCJJJMLKI.HLIBCNHDFOP = ndcnlincinj.IDILAOMGKBL();
}
else if (Application.platform == (RuntimePlatform)121)
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
HEMCJJJMLKI.HLIBCNHDFOP = nnljdejgpck.EJDBHPKEJHG(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.OSXWebPlayer)
{
throw new NotImplementedException("RpcMasterRequestSaveRoomData");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
HEMCJJJMLKI.HLIBCNHDFOP = fjkbbapebhl2.BAHLPJOINOH(MCOFHNPOEDN);
}
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("ACT_EQ");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("<b>Obscured Cheating Detector</b>");
}
new GameObject("Can't set Room.MaxPlayers to: ").AddComponent<CallbackRunner>();
}
// Token: 0x0600A992 RID: 43410 RVA: 0x00310478 File Offset: 0x0030E678
public static FBKIPLFNJOD<HMIOFJAJOKC> ILLEFCFKBGF(string MCOFHNPOEDN = null)
{
bool flag = Application.platform == RuntimePlatform.OSXEditor && !PlatformSettings.NOIBMENCANI();
MCOFHNPOEDN = HEMCJJJMLKI.NAEJGIJFDCE(flag, MCOFHNPOEDN);
FBKIPLFNJOD<HMIOFJAJOKC> fbkiplfnjod;
if (flag)
{
FJKBBAPEBHL fjkbbapebhl = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl.EOOIPODLLAK(MCOFHNPOEDN);
}
else if (Application.isEditor)
{
NDCNLINCINJ ndcnlincinj = new NDCNLINCINJ();
ndcnlincinj.IHCBOBEJDGD();
fbkiplfnjod = new FBKIPLFNJOD<HMIOFJAJOKC>(1UL);
}
else if (Application.platform == (RuntimePlatform)101)
{
NNLJDEJGPCK nnljdejgpck = new NNLJDEJGPCK();
fbkiplfnjod = nnljdejgpck.GLLKNPHMFMJ(MCOFHNPOEDN);
}
else
{
if (Application.platform != RuntimePlatform.IPhonePlayer)
{
throw new NotImplementedException("looktarget");
}
FJKBBAPEBHL fjkbbapebhl2 = new FJKBBAPEBHL();
fbkiplfnjod = fjkbbapebhl2.PECAJFJIACG(MCOFHNPOEDN);
}
HEMCJJJMLKI.HLIBCNHDFOP = fbkiplfnjod != null;
if (!HEMCJJJMLKI.HLIBCNHDFOP)
{
throw new UnityException("PlayerSkinColorProperty");
}
if (HEMCJJJMLKI.EKMCJGJFMAH)
{
Debug.LogWarning("{0:N1}");
}
new GameObject("Error retrieving local profiles: ").AddComponent<CallbackRunner>();
return fbkiplfnjod;
}
// Token: 0x0600A993 RID: 43411 RVA: 0x00310574 File Offset: 0x0030E774
private static string NCNIOFNGIDL(bool CLKOBKOFEFJ, string MCOFHNPOEDN = null)
{
if (!Application.isEditor || CLKOBKOFEFJ)
{
string text = HEMCJJJMLKI.MFHJBGKFILO(CLKOBKOFEFJ);
if (string.IsNullOrEmpty(MCOFHNPOEDN))
{
if (string.IsNullOrEmpty(text))
{
throw new UnityException("Connection failed: ");
}
MCOFHNPOEDN = text;
}
else if (!string.IsNullOrEmpty(text))
{
string text2 = "OK";
object[] array = new object[5];
array[1] = text;
array[0] = MCOFHNPOEDN;
Debug.LogWarningFormat(text2, array);
}
}
return MCOFHNPOEDN;
}
// Token: 0x0600A994 RID: 43412 RVA: 0x003105E8 File Offset: 0x0030E7E8
private static string DLILMBBKIGJ(bool DCEPBFIKJJB)
{
if (Application.platform == RuntimePlatform.Android)
{
return PlatformSettings.MobileAppID;
}
if (Application.platform == RuntimePlatform.WindowsPlayer || DCEPBFIKJJB)
{
return PlatformSettings.AppID;
}
return null;
}
// Token: 0x04001576 RID: 5494
private static bool HLIBCNHDFOP;
// Token: 0x04001577 RID: 5495
public static bool EKMCJGJFMAH;
}
}