1478 lines
68 KiB
C#
1478 lines
68 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
|
|
namespace ExitGames.Client.Photon.Chat
|
|
{
|
|
// Token: 0x0200046B RID: 1131
|
|
public class IJPLDNOJLMO : PhotonPeer
|
|
{
|
|
// Token: 0x0600BCAD RID: 48301 RVA: 0x003884C8 File Offset: 0x003866C8
|
|
internal virtual bool AOKNBLHEHBC()
|
|
{
|
|
return base.UsedProtocol == (ConnectionProtocol)8;
|
|
}
|
|
|
|
// Token: 0x0600BCAE RID: 48302 RVA: 0x003884D4 File Offset: 0x003866D4
|
|
private void GOAOCMHGGJL()
|
|
{
|
|
Type type = Type.GetType("Content-Type", true);
|
|
type = type ?? Type.GetType("Content-Type", true);
|
|
type = type ?? Type.GetType("Failed to get Calibrated Play Area bounds! Make sure you have tracking first, and that your space is calibrated.", true);
|
|
type = type ?? Type.GetType(" Remote called.", false);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[ConnectionProtocol.WebSocketSecure] = type;
|
|
this.SocketImplementationConfig[(ConnectionProtocol)6] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCAF RID: 48303 RVA: 0x0038854C File Offset: 0x0038674C
|
|
public bool PLKBMBKOHGM()
|
|
{
|
|
if (this.DebugOut >= (DebugLevel)8)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.OFF, " Info received: " + this.CJDEHDNFPMF());
|
|
}
|
|
return this.Connect(this.PDJIJNKBCJO(), "create");
|
|
}
|
|
|
|
// Token: 0x0600BCB0 RID: 48304 RVA: 0x00388588 File Offset: 0x00386788
|
|
public string OOCIOLLENDE()
|
|
{
|
|
return this.HPAKKFPDLOC();
|
|
}
|
|
|
|
// Token: 0x0600BCB1 RID: 48305 RVA: 0x00388590 File Offset: 0x00386790
|
|
public bool LONIJPKBJEM()
|
|
{
|
|
if (this.DebugOut >= DebugLevel.ALL)
|
|
{
|
|
base.Listener.DebugReturn((DebugLevel)6, "disabledynamic" + this.IHLBEFJOALN());
|
|
}
|
|
return this.Connect(this.LHEFCPFMMLE(), "y");
|
|
}
|
|
|
|
// Token: 0x0600BCB2 RID: 48306 RVA: 0x003885CC File Offset: 0x003867CC
|
|
private string LPAIBAEMIGE()
|
|
{
|
|
int num = 1;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("M/d", "/room/{0}", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("additionalXp", "Unmuted", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format(".png", "axis", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BCB3 RID: 48307 RVA: 0x00388660 File Offset: 0x00386860
|
|
internal virtual bool ADNCNIJIIKD()
|
|
{
|
|
return base.UsedProtocol == ConnectionProtocol.WebSocket;
|
|
}
|
|
|
|
// Token: 0x0600BCB4 RID: 48308 RVA: 0x0038866C File Offset: 0x0038686C
|
|
private string DOKCFLEGAMB()
|
|
{
|
|
int num = 0;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("{0}v1/listsaved", "p", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("SetDeviceIndex", "To access the lounge, verify your account by clicking the link in the email we sent.", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("D [{0}]: {1}", "path", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BCB5 RID: 48309 RVA: 0x00388700 File Offset: 0x00386900
|
|
public string PDJIJNKBCJO()
|
|
{
|
|
return this.FEJLFKKLMKL();
|
|
}
|
|
|
|
// Token: 0x0600BCB6 RID: 48310 RVA: 0x00388708 File Offset: 0x00386908
|
|
private void HDJDMLMIPLL()
|
|
{
|
|
Type type = Type.GetType("graphicsMemorySize", true);
|
|
type = type ?? Type.GetType("/", true);
|
|
type = type ?? Type.GetType("nm", false);
|
|
type = type ?? Type.GetType("Button_ChangeAvatarColor cannot handle the avatarColor.Type : ", false);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[(ConnectionProtocol)8] = type;
|
|
this.SocketImplementationConfig[ConnectionProtocol.WebSocketSecure] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCB7 RID: 48311 RVA: 0x00388780 File Offset: 0x00386980
|
|
public bool NHHBNCKICGL()
|
|
{
|
|
if (this.DebugOut >= DebugLevel.INFO)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.INFO, "Connecting to nameserver " + this.BPDCJGOMNCD);
|
|
}
|
|
return this.Connect(this.BPDCJGOMNCD, "NameServer");
|
|
}
|
|
|
|
// Token: 0x0600BCB8 RID: 48312 RVA: 0x003887BC File Offset: 0x003869BC
|
|
private string FEJLFKKLMKL()
|
|
{
|
|
int num = 1;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("_StencilComp", "steamvr", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("MainButtonPressed", "Horizontal", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("items", "type", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BCB9 RID: 48313 RVA: 0x00388850 File Offset: 0x00386A50
|
|
private string LPIGHFHIHJN()
|
|
{
|
|
int num = 0;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("Error setting up menu. Flow was null!", "SEM_CO", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("cn", "NEWPLAYER_PUNCHCARD", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("N/A", "time", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BCBA RID: 48314 RVA: 0x003888E4 File Offset: 0x00386AE4
|
|
private void PKIPABHDEHM()
|
|
{
|
|
Type type = Type.GetType("VoiceVolume", true);
|
|
type = type ?? Type.GetType("OnDeathCriticalHit", false);
|
|
type = type ?? Type.GetType("rw_dropped_frames_3to4p", true);
|
|
type = type ?? Type.GetType("stdev_ping", false);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[(ConnectionProtocol)2] = type;
|
|
this.SocketImplementationConfig[ConnectionProtocol.Udp] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000489 RID: 1161
|
|
// (get) Token: 0x0600BCBB RID: 48315 RVA: 0x0038895C File Offset: 0x00386B5C
|
|
internal virtual bool IOFBCEAKFGH
|
|
{
|
|
get
|
|
{
|
|
return base.UsedProtocol == ConnectionProtocol.WebSocketSecure;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCBC RID: 48316 RVA: 0x00388968 File Offset: 0x00386B68
|
|
public string KHDNNOGILDG()
|
|
{
|
|
return this.OJCGFPDIBII();
|
|
}
|
|
|
|
// Token: 0x0600BCBD RID: 48317 RVA: 0x00388970 File Offset: 0x00386B70
|
|
internal virtual bool OOLDFDLFMOO()
|
|
{
|
|
return base.UsedProtocol == ConnectionProtocol.Tcp;
|
|
}
|
|
|
|
// Token: 0x0600BCBE RID: 48318 RVA: 0x0038897C File Offset: 0x00386B7C
|
|
private void FEEGLDLCANE()
|
|
{
|
|
Type type = Type.GetType("</color>", false);
|
|
type = type ?? Type.GetType("Error updating maximum players: ", true);
|
|
type = type ?? Type.GetType("...sent you an invite! Want to join them?", false);
|
|
type = type ?? Type.GetType("ExitGames.Client.Photon.SocketWebTcpThread, Assembly-CSharp", false);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[ConnectionProtocol.WebSocketSecure] = type;
|
|
this.SocketImplementationConfig[ConnectionProtocol.Tcp] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCBF RID: 48319 RVA: 0x003889F4 File Offset: 0x00386BF4
|
|
public bool JBACDONJDNE(string MCOFHNPOEDN, string DNGHIIFIDHA, string MPGMOMPDOFE, OCEOOCJEKDD OPHMFNLINBP)
|
|
{
|
|
if (this.DebugOut >= DebugLevel.ALL)
|
|
{
|
|
base.Listener.DebugReturn((DebugLevel)6, "pitch");
|
|
}
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[(byte)(-195)] = DNGHIIFIDHA;
|
|
dictionary[(byte)(-101)] = MCOFHNPOEDN;
|
|
dictionary[152] = MPGMOMPDOFE;
|
|
if (OPHMFNLINBP != null)
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.FAMPBMMAGLE()))
|
|
{
|
|
dictionary[182] = OPHMFNLINBP.OONPBGFCOGI();
|
|
}
|
|
if (OPHMFNLINBP != null && (int)OPHMFNLINBP.MKMDJLAGEPH != -158)
|
|
{
|
|
dictionary[(byte)(-44)] = (byte)OPHMFNLINBP.DNDMLLAIDCB();
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.LKDBFHHKAAF()))
|
|
{
|
|
dictionary[105] = OPHMFNLINBP.NKFLBAKCPLA;
|
|
}
|
|
else
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.EANBBLMBFGJ()))
|
|
{
|
|
dictionary[(byte)(-149)] = OPHMFNLINBP.GNNJJJPIIKG();
|
|
}
|
|
if (OPHMFNLINBP.GBJFDELMOBB != null)
|
|
{
|
|
dictionary[(byte)(-61)] = OPHMFNLINBP.KDKIBACGDEH();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return this.OpCustom((byte)(-76), dictionary, false, 1, base.IsEncryptionAvailable);
|
|
}
|
|
|
|
// Token: 0x0600BCC0 RID: 48320 RVA: 0x00388B20 File Offset: 0x00386D20
|
|
private void DDNFEMCGKIM()
|
|
{
|
|
Type type = Type.GetType("Google", true);
|
|
type = type ?? Type.GetType("<b>Supported types:</b>\n", true);
|
|
type = type ?? Type.GetType("_RightMirrorCameraViewProj", true);
|
|
type = type ?? Type.GetType("ACTk offers own collection of the secure types to let you protect your variables from <b>ANY</b> memory hacking tools (Cheat Engine, ArtMoney, GameCIH, Game Guardian, etc.).", false);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[(ConnectionProtocol)7] = type;
|
|
this.SocketImplementationConfig[(ConnectionProtocol)6] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCC1 RID: 48321 RVA: 0x00388B98 File Offset: 0x00386D98
|
|
public string HDPDEHBLDJK()
|
|
{
|
|
return this.DOKCFLEGAMB();
|
|
}
|
|
|
|
// Token: 0x0600BCC2 RID: 48322 RVA: 0x00388BA0 File Offset: 0x00386DA0
|
|
private void FCCHKDMEAPL()
|
|
{
|
|
Type type = Type.GetType("EventId", false);
|
|
type = type ?? Type.GetType("VoiceCreated", false);
|
|
type = type ?? Type.GetType("ZWNSb29tLlByb3RvYnVmYgZwcm90bzM=", true);
|
|
type = type ?? Type.GetType("EMP PREVENTED", true);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[ConnectionProtocol.WebSocketSecure] = type;
|
|
this.SocketImplementationConfig[ConnectionProtocol.WebSocketSecure] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCC3 RID: 48323 RVA: 0x00388C18 File Offset: 0x00386E18
|
|
internal virtual bool OOAIFJEDACB()
|
|
{
|
|
return base.UsedProtocol == (ConnectionProtocol)6;
|
|
}
|
|
|
|
// Token: 0x0600BCC4 RID: 48324 RVA: 0x00388C24 File Offset: 0x00386E24
|
|
internal virtual bool PPIIJJAEPCN()
|
|
{
|
|
return base.UsedProtocol == (ConnectionProtocol)8;
|
|
}
|
|
|
|
// Token: 0x0600BCC5 RID: 48325 RVA: 0x00388C30 File Offset: 0x00386E30
|
|
private void GBJJKJCIMMI()
|
|
{
|
|
Type type = Type.GetType("_MirrorImage", true);
|
|
type = type ?? Type.GetType("index", false);
|
|
type = type ?? Type.GetType("purchased_item", true);
|
|
type = type ?? Type.GetType("Acc: ({0:F2}, {1:F2}, {2:F2})\n", false);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[(ConnectionProtocol)8] = type;
|
|
this.SocketImplementationConfig[(ConnectionProtocol)3] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCC6 RID: 48326 RVA: 0x00388CA8 File Offset: 0x00386EA8
|
|
private void JIADNLPPHBB()
|
|
{
|
|
Type type = Type.GetType("RpcImageChangePending", false);
|
|
type = type ?? Type.GetType("ItemId", false);
|
|
type = type ?? Type.GetType("Cheers: ", false);
|
|
type = type ?? Type.GetType("Creating your account...", false);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[ConnectionProtocol.Udp] = type;
|
|
this.SocketImplementationConfig[(ConnectionProtocol)6] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCC7 RID: 48327 RVA: 0x00388D20 File Offset: 0x00386F20
|
|
public bool NDFJNCPLJOO()
|
|
{
|
|
if (this.DebugOut >= DebugLevel.WARNING)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.OFF, "close" + this.PMGMJDBNCMI());
|
|
}
|
|
return this.Connect(this.AAMNLEGKIGM(), "Echo");
|
|
}
|
|
|
|
// Token: 0x0600BCC8 RID: 48328 RVA: 0x00388D5C File Offset: 0x00386F5C
|
|
internal virtual bool NBLNNEGFEFN()
|
|
{
|
|
return base.UsedProtocol == ConnectionProtocol.Udp;
|
|
}
|
|
|
|
// Token: 0x0600BCC9 RID: 48329 RVA: 0x00388D68 File Offset: 0x00386F68
|
|
internal virtual bool NCJFAINFJFC()
|
|
{
|
|
return base.UsedProtocol == (ConnectionProtocol)2;
|
|
}
|
|
|
|
// Token: 0x0600BCCA RID: 48330 RVA: 0x00388D74 File Offset: 0x00386F74
|
|
private void IEEFPCFKFEN()
|
|
{
|
|
Type type = Type.GetType("Go to Calibration?", true);
|
|
type = type ?? Type.GetType("Recroom.OOBE", false);
|
|
type = type ?? Type.GetType("SupportLogger OnFailedToConnectToPhoton(", false);
|
|
type = type ?? Type.GetType("Null arguments passed to ActionEvent.Invoke()", true);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[(ConnectionProtocol)8] = type;
|
|
this.SocketImplementationConfig[(ConnectionProtocol)2] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCCB RID: 48331 RVA: 0x00388DEC File Offset: 0x00386FEC
|
|
private void PMMDCGGGEPD()
|
|
{
|
|
Type type = Type.GetType("looktarget", true);
|
|
type = type ?? Type.GetType("Gift is missing from the list.", false);
|
|
type = type ?? Type.GetType("--", false);
|
|
type = type ?? Type.GetType("found child", false);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[ConnectionProtocol.WebSocket] = type;
|
|
this.SocketImplementationConfig[(ConnectionProtocol)6] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCCC RID: 48332 RVA: 0x00388E64 File Offset: 0x00387064
|
|
private void JBEBGNHBKPM()
|
|
{
|
|
Type type = Type.GetType("\nFound ", true);
|
|
type = type ?? Type.GetType("HS", true);
|
|
type = type ?? Type.GetType("Caught Exception: ", false);
|
|
type = type ?? Type.GetType("START GAME", true);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[ConnectionProtocol.WebSocketSecure] = type;
|
|
this.SocketImplementationConfig[ConnectionProtocol.Udp] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCCD RID: 48333 RVA: 0x00388EDC File Offset: 0x003870DC
|
|
internal virtual bool OEDKDFBNECB()
|
|
{
|
|
return base.UsedProtocol == (ConnectionProtocol)3;
|
|
}
|
|
|
|
// Token: 0x0600BCCE RID: 48334 RVA: 0x00388EE8 File Offset: 0x003870E8
|
|
public bool PFPGDKIJOBN()
|
|
{
|
|
if (this.DebugOut >= (DebugLevel)4)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.OFF, "GA FREE - Demo03 (960x600px)" + this.KHDNNOGILDG());
|
|
}
|
|
return this.Connect(this.HDPDEHBLDJK(), "Invalid number of arguments passed to ActionEvent.Invoke()");
|
|
}
|
|
|
|
// Token: 0x0600BCCF RID: 48335 RVA: 0x00388F24 File Offset: 0x00387124
|
|
private string KJHHMCAFMDG()
|
|
{
|
|
int num = 0;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("ROTATION_INCREMENT", "AnalyticsSessionId", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("method", "update_ps_only_matching_pref", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("https://", "<pre style=\"font-family:Consolas;font-size:13;color:black;background:silver;\"><span style=\"color:blue;\">using</span> System;\r\n<span style=\"color:blue;\">using</span> System.Collections.Generic;\r\n\r\n<span style=\"color:blue;\">using</span> UnityEngine;\r\n<span style=\"color:blue;\">using</span> BestHTTP;\r\n\r\n<span style=\"color:blue;\">public</span> <span style=\"color:blue;\">sealed</span> <span style=\"color:blue;\">class</span> <span style=\"color:#2b91af;\">LargeFileDownloadSample</span> : <span style=\"color:#2b91af;\">MonoBehaviour</span>\r\n{\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> The url of the resource to download</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">const</span> <span style=\"color:blue;\">string</span> URL = <span style=\"color:#a31515;\">"http://ipv4.download.thinkbroadband.com/100MB.zip"</span>;\r\n\r\n<span style=\"color:blue;\"> #region</span> Private Fields\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Cached request to be able to abort it</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:#2b91af;\">HTTPRequest</span> request;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Debug status of the request</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">string</span> status = <span style=\"color:blue;\">string</span>.Empty;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Download(processing) progress. Its range is between [0..1]</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">float</span> progress;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> The fragment size that we will set to the request</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">int</span> fragmentSize = <span style=\"color:#2b91af;\">HTTPResponse</span>.MinBufferSize;\r\n\r\n<span style=\"color:blue;\"> #endregion</span>\r\n\r\n<span style=\"color:blue;\"> #region</span> Unity Events\r\n\r\n <span style=\"color:blue;\">void</span> Awake()\r\n {\r\n <span style=\"color:green;\">// If we have a non-finished download, set the progress to the value where we left it</span>\r\n <span style=\"color:blue;\">if</span> (<span style=\"color:#2b91af;\">PlayerPrefs</span>.HasKey(<span style=\"color:#a31515;\">"DownloadLength"</span>))\r\n progress = <span style=\"color:#2b91af;\">PlayerPrefs</span>.GetInt(<span style=\"color:#a31515;\">"DownloadProgress"</span>) / (<span style=\"color:blue;\">float</span>)<span style=\"color:#2b91af;\">PlayerPrefs</span>.GetInt(<span style=\"color:#a31515;\">"DownloadLength"</span>);\r\n }\r\n\r\n <span style=\"color:blue;\">void</span> OnDestroy()\r\n {\r\n <span style=\"color:green;\">// Stop the download if we are leaving this example</span>\r\n <span style=\"color:blue;\">if</span> (request != <span style=\"color:blue;\">null</span> && request.State < <span style=\"color:#2b91af;\">HTTPRequestStates</span>.Finished)\r\n {\r\n request.OnProgress = <span style=\"color:blue;\">null</span>;\r\n request.Callback = <span style=\"color:blue;\">null</span>;\r\n request.Abort();\r\n }\r\n }\r\n\r\n <span style=\"color:blue;\">void</span> OnGUI()\r\n {\r\n <span style=\"color:#2b91af;\">GUIHelper</span>.DrawArea(<span style=\"color:#2b91af;\">GUIHelper</span>.ClientArea, <span style=\"color:blue;\">true</span>, () =>\r\n {\r\n <span style=\"color:green;\">// Draw the current status</span>\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Label(<span style=\"color:#a31515;\">"Request status: "</span> + status);\r\n\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Space(5);\r\n\r\n <span style=\"color:green;\">// Draw the current progress</span>\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Label(<span style=\"color:blue;\">string</span>.Format(<span style=\"color:#a31515;\">"Progress: {0:P2} of {1:N0}Mb"</span>, progress, <span style=\"color:#2b91af;\">PlayerPrefs</span>.GetInt(<span style=\"color:#a31515;\">"DownloadLength"</span>) / 1048576 <span style=\"color:green;\">/*1 Mb*/</span>));\r\n <span style=\"color:#2b91af;\">GUILayout</span>.HorizontalSlider(progress, 0, 1);\r\n\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Space(50);\r\n\r\n <span style=\"color:blue;\">if</span> (request == <span style=\"color:blue;\">null</span>)\r\n {\r\n <span style=\"color:green;\">// Draw a slider to be able to change the fragment size</span>\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Label(<span style=\"color:blue;\">string</span>.Format(<span style=\"color:#a31515;\">"Desired Fragment Size: {0:N} KBytes"</span>, fragmentSize / 1024f));\r\n fragmentSize = (<span style=\"color:blue;\">int</span>)<span style=\"color:#2b91af;\">GUILayout</span>.HorizontalSlider(fragmentSize, <span style=\"color:#2b91af;\">HTTPResponse</span>.MinBufferSize, 10 * 1024 * 1024);\r\n\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Space(5);\r\n\r\n <span style=\"color:blue;\">string</span> buttonStr = <span style=\"color:#2b91af;\">PlayerPrefs</span>.HasKey(<span style=\"color:#a31515;\">"DownloadProgress"</span>) ? <span style=\"color:#a31515;\">"Continue Download"</span> : <span style=\"color:#a31515;\">"Start Download"</span>;\r\n <span style=\"color:blue;\">if</span> (<span style=\"color:#2b91af;\">GUILayout</span>.Button(buttonStr))\r\n StreamLargeFileTest();\r\n }\r\n <span style=\"color:blue;\">else</span> <span style=\"color:blue;\">if</span> (request.State == <span style=\"color:#2b91af;\">HTTPRequestStates</span>.Processing && <span style=\"color:#2b91af;\">GUILayout</span>.Button(<span style=\"color:#a31515;\">"Abort Download"</span>))\r\n {\r\n <span style=\"color:green;\">// Simulate a connection lost</span>\r\n request.Abort();\r\n }\r\n });\r\n }\r\n\r\n<span style=\"color:blue;\"> #endregion</span>\r\n\r\n<span style=\"color:blue;\"> #region</span> Private Helper Functions\r\n\r\n <span style=\"color:green;\">// Calling this function again when the "DownloadProgress" key in the PlayerPrefs present will </span>\r\n <span style=\"color:green;\">//\tcontinue the download</span>\r\n <span style=\"color:blue;\">void</span> StreamLargeFileTest()\r\n {\r\n request = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">HTTPRequest</span>(<span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">Uri</span>(URL), (req, resp) =>\r\n {\r\n <span style=\"color:blue;\">switch</span> (req.State)\r\n {\r\n <span style=\"color:green;\">// The request is currently processed. With UseStreaming == true, we can get the streamed fragments here</span>\r\n <span style=\"color:blue;\">case</span> <span style=\"color:#2b91af;\">HTTPRequestStates</span>.Processing:\r\n\r\n <span style=\"color:green;\">// Set the DownloadLength, so we can display the progress</span>\r\n <span style=\"color:blue;\">if</span> (!<span style=\"color:#2b91af;\">PlayerPrefs</span>.HasKey(<span style=\"color:#a31515;\">"DownloadLength"</span>))\r\n {\r\n <span style=\"color:blue;\">string</span> value = resp.GetFirstHeaderValue(<span style=\"color:#a31515;\">"content-length"</span>);\r\n <span style=\"color:blue;\">if</span> (!<span style=\"color:blue;\">string</span>.IsNullOrEmpty(value))\r\n <span style=\"color:#2b91af;\">PlayerPrefs</span>.SetInt(<span style=\"color:#a31515;\">"DownloadLength"</span>, <span style=\"color:blue;\">int</span>.Parse(value));\r\n }\r\n\r\n <span style=\"color:green;\">// Get the fragments, and save them</span>\r\n ProcessFragments(resp.GetStreamedFragments());\r\n\r\n status = <span style=\"color:#a31515;\">"Processing"</span>;\r\n <span style=\"color:blue;\">break</span>;\r\n\r\n <span style=\"color:green;\">// The request finished without any problem.</span>\r\n <span style=\"color:blue;\">case</span> <span style=\"color:#2b91af;\">HTTPRequestStates</span>.Finished:\r\n <span style=\"color:blue;\">if</span> (resp.IsSuccess)\r\n {\r\n <span style=\"color:green;\">// Save any remaining fragments</span>\r\n ProcessFragments(resp.GetStreamedFragments());\r\n\r\n <span style=\"color:green;\">// Completly finished</span>\r\n <span style=\"color:blue;\">if</span> (resp.IsStreamingFinished)\r\n {\r\n status = <span style=\"color:#a31515;\">"Streaming finished!"</span>;\r\n\r\n <span style=\"color:green;\">// We are done, delete the progress key</span>\r\n <span style=\"color:#2b91af;\">PlayerPrefs</span>.DeleteKey(<span style=\"color:#a31515;\">"DownloadProgress"</span>);\r\n <span style=\"color:#2b91af;\">PlayerPrefs</span>.Save();\r\n\r\n request = <span style=\"color:blue;\">null</span>;\r\n }\r\n <span style=\"color:blue;\">else</span>\r\n status = <span style=\"color:#a31515;\">"Processing"</span>;\r\n }\r\n <span style=\"color:blue;\">else</span>\r\n {\r\n status = <span style=\"color:blue;\">string</span>.Format(<span style=\"color:#a31515;\">"Request finished Successfully, but the server sent an error. Status Code: {0}-{1} Message: {2}"</span>,\r[...string is too long...]", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BCD0 RID: 48336 RVA: 0x00388FB8 File Offset: 0x003871B8
|
|
public bool KCELCDEBCBA(string MCOFHNPOEDN, string DNGHIIFIDHA, string MPGMOMPDOFE, OCEOOCJEKDD OPHMFNLINBP)
|
|
{
|
|
if (this.DebugOut >= (DebugLevel)7)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.ERROR, "_");
|
|
}
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[(byte)(-58)] = DNGHIIFIDHA;
|
|
dictionary[144] = MCOFHNPOEDN;
|
|
dictionary[(byte)(-153)] = MPGMOMPDOFE;
|
|
if (OPHMFNLINBP != null)
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.AOLBBHJHOII()))
|
|
{
|
|
dictionary[(byte)(-58)] = OPHMFNLINBP.OCAHLHMIPMG;
|
|
}
|
|
if (OPHMFNLINBP != null && OPHMFNLINBP.LELNJFFCPHO() != (HFIIAGPNCCM)70)
|
|
{
|
|
dictionary[33] = (byte)OPHMFNLINBP.NEMEBOMNHNJ();
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.GCAKMJOHGLO()))
|
|
{
|
|
dictionary[(byte)(-117)] = OPHMFNLINBP.LKDBFHHKAAF();
|
|
}
|
|
else
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.FCJADBOAMOM))
|
|
{
|
|
dictionary[(byte)(-7)] = OPHMFNLINBP.INPPCALEPPH();
|
|
}
|
|
if (OPHMFNLINBP.KDKIBACGDEH() != null)
|
|
{
|
|
dictionary[163] = OPHMFNLINBP.KDKIBACGDEH();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return this.OpCustom((byte)(-184), dictionary, false, 1, base.IsEncryptionAvailable);
|
|
}
|
|
|
|
// Token: 0x0600BCD1 RID: 48337 RVA: 0x003890E4 File Offset: 0x003872E4
|
|
public bool BPOEAMAFBIF(string MCOFHNPOEDN, string DNGHIIFIDHA, string MPGMOMPDOFE, OCEOOCJEKDD OPHMFNLINBP)
|
|
{
|
|
if (this.DebugOut >= DebugLevel.WARNING)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.WARNING, "MainCamera");
|
|
}
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[94] = DNGHIIFIDHA;
|
|
dictionary[(byte)(-6)] = MCOFHNPOEDN;
|
|
dictionary[163] = MPGMOMPDOFE;
|
|
if (OPHMFNLINBP != null)
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.FAMPBMMAGLE()))
|
|
{
|
|
dictionary[(byte)(-180)] = OPHMFNLINBP.FAMPBMMAGLE();
|
|
}
|
|
if (OPHMFNLINBP != null && OPHMFNLINBP.HPIJPMBFGMB() != (HFIIAGPNCCM)67)
|
|
{
|
|
dictionary[(byte)(-168)] = (byte)OPHMFNLINBP.DNDMLLAIDCB();
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.NKFLBAKCPLA))
|
|
{
|
|
dictionary[(byte)(-113)] = OPHMFNLINBP.LDPGFBKJAJO();
|
|
}
|
|
else
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.MPGMAGPGKGB()))
|
|
{
|
|
dictionary[28] = OPHMFNLINBP.PGPJFCFAPNF();
|
|
}
|
|
if (OPHMFNLINBP.GBJFDELMOBB != null)
|
|
{
|
|
dictionary[(byte)(-114)] = OPHMFNLINBP.CEMMKLIENID();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return this.OpCustom((byte)(-144), dictionary, false, 1, base.IsEncryptionAvailable);
|
|
}
|
|
|
|
// Token: 0x0600BCD2 RID: 48338 RVA: 0x00389210 File Offset: 0x00387410
|
|
private string PAKNHKJDGOM()
|
|
{
|
|
int num = 1;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("axis: ", "Connecting", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("{0} ft {1} in", "Id", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("position", "looktime", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BCD3 RID: 48339 RVA: 0x003892A4 File Offset: 0x003874A4
|
|
internal virtual bool GECFMLKMFHG()
|
|
{
|
|
return base.UsedProtocol == (ConnectionProtocol)2;
|
|
}
|
|
|
|
// Token: 0x0600BCD4 RID: 48340 RVA: 0x003892B0 File Offset: 0x003874B0
|
|
public bool FAFNBOFBPBE(string MCOFHNPOEDN, string DNGHIIFIDHA, string MPGMOMPDOFE, OCEOOCJEKDD OPHMFNLINBP)
|
|
{
|
|
if (this.DebugOut >= DebugLevel.INFO)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.INFO, "OpAuthenticate()");
|
|
}
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[220] = DNGHIIFIDHA;
|
|
dictionary[224] = MCOFHNPOEDN;
|
|
dictionary[210] = MPGMOMPDOFE;
|
|
if (OPHMFNLINBP != null)
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.OCAHLHMIPMG))
|
|
{
|
|
dictionary[225] = OPHMFNLINBP.OCAHLHMIPMG;
|
|
}
|
|
if (OPHMFNLINBP != null && OPHMFNLINBP.MKMDJLAGEPH != HFIIAGPNCCM.None)
|
|
{
|
|
dictionary[217] = (byte)OPHMFNLINBP.MKMDJLAGEPH;
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.NKFLBAKCPLA))
|
|
{
|
|
dictionary[221] = OPHMFNLINBP.NKFLBAKCPLA;
|
|
}
|
|
else
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.FCJADBOAMOM))
|
|
{
|
|
dictionary[216] = OPHMFNLINBP.FCJADBOAMOM;
|
|
}
|
|
if (OPHMFNLINBP.GBJFDELMOBB != null)
|
|
{
|
|
dictionary[214] = OPHMFNLINBP.GBJFDELMOBB;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return this.OpCustom(230, dictionary, true, 0, base.IsEncryptionAvailable);
|
|
}
|
|
|
|
// Token: 0x0600BCD5 RID: 48341 RVA: 0x003893DC File Offset: 0x003875DC
|
|
public string AGFEBEEDDLO()
|
|
{
|
|
return this.KJHHMCAFMDG();
|
|
}
|
|
|
|
// Token: 0x0600BCD6 RID: 48342 RVA: 0x003893E4 File Offset: 0x003875E4
|
|
private string CPGMABHCFND()
|
|
{
|
|
int num = 0;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("{0}:{1}", "ns.exitgames.com", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("ws://{0}:{1}", "ns.exitgames.com", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("wss://{0}:{1}", "ns.exitgames.com", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BCD7 RID: 48343 RVA: 0x00389478 File Offset: 0x00387678
|
|
private void FMPGOOLILFE()
|
|
{
|
|
Type type = Type.GetType("Failed to report room join result", false);
|
|
type = type ?? Type.GetType("{0}v1/balance", true);
|
|
type = type ?? Type.GetType("RpcPickupGameplayExtruder", false);
|
|
type = type ?? Type.GetType("WallHack Detector", false);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[(ConnectionProtocol)2] = type;
|
|
this.SocketImplementationConfig[ConnectionProtocol.WebSocketSecure] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCD8 RID: 48344 RVA: 0x003894F0 File Offset: 0x003876F0
|
|
private string GNFDKFPAHGC()
|
|
{
|
|
int num = 1;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("No room data to save.", "FarthestShotPosition", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("ObscuredDouble:", "CLLKDJJLCJP", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("[ACTk] Obscured Cheating Detector: has properly configured Detection Event in the inspector, but still get started with Action callback. Both Action and Detection Event will be called on detection. Are you sure you wish to do this?", "api/players/", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BCD9 RID: 48345 RVA: 0x00389584 File Offset: 0x00387784
|
|
public bool LEEPHMBKGFP(string MCOFHNPOEDN, string DNGHIIFIDHA, string MPGMOMPDOFE, OCEOOCJEKDD OPHMFNLINBP)
|
|
{
|
|
if (this.DebugOut >= DebugLevel.WARNING)
|
|
{
|
|
base.Listener.DebugReturn((DebugLevel)4, "\nAttached time: ");
|
|
}
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[100] = DNGHIIFIDHA;
|
|
dictionary[179] = MCOFHNPOEDN;
|
|
dictionary[178] = MPGMOMPDOFE;
|
|
if (OPHMFNLINBP != null)
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.FAMPBMMAGLE()))
|
|
{
|
|
dictionary[(byte)(-61)] = OPHMFNLINBP.PIFMDHKJCFI();
|
|
}
|
|
if (OPHMFNLINBP != null && (int)OPHMFNLINBP.MNEMAHJLMPF() != -17)
|
|
{
|
|
dictionary[(byte)(-176)] = (byte)OPHMFNLINBP.FFJIDFAAMJI();
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.EFILLDFONKO()))
|
|
{
|
|
dictionary[166] = OPHMFNLINBP.LDPGFBKJAJO();
|
|
}
|
|
else
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.MPGMAGPGKGB()))
|
|
{
|
|
dictionary[(byte)(-62)] = OPHMFNLINBP.EANBBLMBFGJ();
|
|
}
|
|
if (OPHMFNLINBP.KOKJFIMEJOM() != null)
|
|
{
|
|
dictionary[174] = OPHMFNLINBP.CEMMKLIENID();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return this.OpCustom((byte)(-54), dictionary, true, 0, base.IsEncryptionAvailable);
|
|
}
|
|
|
|
// Token: 0x0600BCDA RID: 48346 RVA: 0x003896B0 File Offset: 0x003878B0
|
|
[Conditional("UNITY")]
|
|
private void NDPJDJAIIMH()
|
|
{
|
|
Type type = Type.GetType("ExitGames.Client.Photon.SocketWebTcpThread, Assembly-CSharp", false);
|
|
type = type ?? Type.GetType("ExitGames.Client.Photon.SocketWebTcpThread, Assembly-CSharp-firstpass", false);
|
|
type = type ?? Type.GetType("ExitGames.Client.Photon.SocketWebTcpCoroutine, Assembly-CSharp", false);
|
|
type = type ?? Type.GetType("ExitGames.Client.Photon.SocketWebTcpCoroutine, Assembly-CSharp-firstpass", false);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[ConnectionProtocol.WebSocket] = type;
|
|
this.SocketImplementationConfig[ConnectionProtocol.WebSocketSecure] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCDB RID: 48347 RVA: 0x00389728 File Offset: 0x00387928
|
|
public bool DPGIDFMIJMA()
|
|
{
|
|
if (this.DebugOut >= DebugLevel.ALL)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.INFO, "v1/unmute" + this.PMGMJDBNCMI());
|
|
}
|
|
return this.Connect(this.AGFEBEEDDLO(), "Can't set TransportProtocol. Disconnect first! ");
|
|
}
|
|
|
|
// Token: 0x0600BCDC RID: 48348 RVA: 0x00389764 File Offset: 0x00387964
|
|
private string BMDHEJDFAPC()
|
|
{
|
|
int num = 0;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("LinearVelocityMultiplier", "{0}:{1}:{2}", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("gizmos", ") failed: ", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("GiftContext", "rw_dropped_frames_3to4p_perc", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BCDE RID: 48350 RVA: 0x00389844 File Offset: 0x00387A44
|
|
public string LGAPJBHNOAA()
|
|
{
|
|
return this.DOKCFLEGAMB();
|
|
}
|
|
|
|
// Token: 0x0600BCDF RID: 48351 RVA: 0x0038984C File Offset: 0x00387A4C
|
|
public bool HAPPAOIAOOG()
|
|
{
|
|
if (this.DebugOut >= DebugLevel.ERROR)
|
|
{
|
|
base.Listener.DebugReturn((DebugLevel)8, "SupportLogger OnJoinedRoom(" + this.FCOGGPHDEDM());
|
|
}
|
|
return this.Connect(this.DEFCILKHJDD(), "_Color");
|
|
}
|
|
|
|
// Token: 0x0600BCE0 RID: 48352 RVA: 0x00389888 File Offset: 0x00387A88
|
|
public bool HKENFPOADJK(string MCOFHNPOEDN, string DNGHIIFIDHA, string MPGMOMPDOFE, OCEOOCJEKDD OPHMFNLINBP)
|
|
{
|
|
if (this.DebugOut >= DebugLevel.INFO)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.ALL, "axis");
|
|
}
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[71] = DNGHIIFIDHA;
|
|
dictionary[141] = MCOFHNPOEDN;
|
|
dictionary[(byte)(-197)] = MPGMOMPDOFE;
|
|
if (OPHMFNLINBP != null)
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.JJMFLIICCJL()))
|
|
{
|
|
dictionary[86] = OPHMFNLINBP.FAMPBMMAGLE();
|
|
}
|
|
if (OPHMFNLINBP != null && OPHMFNLINBP.MKMDJLAGEPH != (HFIIAGPNCCM)103)
|
|
{
|
|
dictionary[164] = (byte)OPHMFNLINBP.DNDMLLAIDCB();
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.EFILLDFONKO()))
|
|
{
|
|
dictionary[112] = OPHMFNLINBP.GCAKMJOHGLO();
|
|
}
|
|
else
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.EANBBLMBFGJ()))
|
|
{
|
|
dictionary[(byte)(-5)] = OPHMFNLINBP.GNNJJJPIIKG();
|
|
}
|
|
if (OPHMFNLINBP.KDKIBACGDEH() != null)
|
|
{
|
|
dictionary[133] = OPHMFNLINBP.HEEEPCLIBNA();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return this.OpCustom((byte)(-173), dictionary, false, 1, base.IsEncryptionAvailable);
|
|
}
|
|
|
|
// Token: 0x0600BCE1 RID: 48353 RVA: 0x003899B4 File Offset: 0x00387BB4
|
|
internal virtual bool JLJMDCFADJH()
|
|
{
|
|
return base.UsedProtocol == ConnectionProtocol.Udp;
|
|
}
|
|
|
|
// Token: 0x0600BCE2 RID: 48354 RVA: 0x003899C0 File Offset: 0x00387BC0
|
|
internal virtual bool JENEJOIEDCD()
|
|
{
|
|
return base.UsedProtocol == ConnectionProtocol.Tcp;
|
|
}
|
|
|
|
// Token: 0x17000488 RID: 1160
|
|
// (get) Token: 0x0600BCE3 RID: 48355 RVA: 0x003899CC File Offset: 0x00387BCC
|
|
public string BPDCJGOMNCD
|
|
{
|
|
get
|
|
{
|
|
return this.CPGMABHCFND();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCE4 RID: 48356 RVA: 0x003899D4 File Offset: 0x00387BD4
|
|
internal virtual bool AAFLJKKFJOB()
|
|
{
|
|
return base.UsedProtocol == (ConnectionProtocol)8;
|
|
}
|
|
|
|
// Token: 0x0600BCE5 RID: 48357 RVA: 0x003899E0 File Offset: 0x00387BE0
|
|
public string AAMNLEGKIGM()
|
|
{
|
|
return this.HCCJJHHOMPK();
|
|
}
|
|
|
|
// Token: 0x0600BCE6 RID: 48358 RVA: 0x003899E8 File Offset: 0x00387BE8
|
|
public bool BDFCPKAKOLK(string MCOFHNPOEDN, string DNGHIIFIDHA, string MPGMOMPDOFE, OCEOOCJEKDD OPHMFNLINBP)
|
|
{
|
|
if (this.DebugOut >= DebugLevel.ALL)
|
|
{
|
|
base.Listener.DebugReturn((DebugLevel)6, "RGF0YRIjCgVzY2FsZRgBIAEoCzIULnJlY3Jvb20uVmVjdG9yM0RhdGEiSAoU");
|
|
}
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[(byte)(-73)] = DNGHIIFIDHA;
|
|
dictionary[(byte)(-3)] = MCOFHNPOEDN;
|
|
dictionary[105] = MPGMOMPDOFE;
|
|
if (OPHMFNLINBP != null)
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.AOLBBHJHOII()))
|
|
{
|
|
dictionary[193] = OPHMFNLINBP.CGAIEJDCOOH();
|
|
}
|
|
if (OPHMFNLINBP != null && (int)OPHMFNLINBP.MKMDJLAGEPH != -125)
|
|
{
|
|
dictionary[105] = (byte)OPHMFNLINBP.JJLHIAHHIKA();
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.FMDBLIMCACH()))
|
|
{
|
|
dictionary[17] = OPHMFNLINBP.GCAKMJOHGLO();
|
|
}
|
|
else
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.INPPCALEPPH()))
|
|
{
|
|
dictionary[112] = OPHMFNLINBP.INPPCALEPPH();
|
|
}
|
|
if (OPHMFNLINBP.DFEBBPMEIGP() != null)
|
|
{
|
|
dictionary[(byte)(-69)] = OPHMFNLINBP.HEEEPCLIBNA();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return this.OpCustom((byte)(-70), dictionary, true, 1, base.IsEncryptionAvailable);
|
|
}
|
|
|
|
// Token: 0x0600BCE7 RID: 48359 RVA: 0x00389B14 File Offset: 0x00387D14
|
|
internal virtual bool HEHJCPEPLBB()
|
|
{
|
|
return base.UsedProtocol == ConnectionProtocol.WebSocketSecure;
|
|
}
|
|
|
|
// Token: 0x0600BCE8 RID: 48360 RVA: 0x00389B20 File Offset: 0x00387D20
|
|
internal virtual bool GGKFLAIMBML()
|
|
{
|
|
return base.UsedProtocol == (ConnectionProtocol)2;
|
|
}
|
|
|
|
// Token: 0x0600BCE9 RID: 48361 RVA: 0x00389B2C File Offset: 0x00387D2C
|
|
public string JDDMGEMOMKF()
|
|
{
|
|
return this.HPAKKFPDLOC();
|
|
}
|
|
|
|
// Token: 0x0600BCEA RID: 48362 RVA: 0x00389B34 File Offset: 0x00387D34
|
|
internal virtual bool ONFIKHDPIDP()
|
|
{
|
|
return base.UsedProtocol == (ConnectionProtocol)8;
|
|
}
|
|
|
|
// Token: 0x0600BCEB RID: 48363 RVA: 0x00389B40 File Offset: 0x00387D40
|
|
private string HCCJJHHOMPK()
|
|
{
|
|
int num = 0;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("Invite", "auth-int", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("You're Out!", "CAPTURING", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format(" CoreSystems", "RpcResetCharge", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BCEC RID: 48364 RVA: 0x00389BD4 File Offset: 0x00387DD4
|
|
public bool HMBLFNGOIDF(string MCOFHNPOEDN, string DNGHIIFIDHA, string MPGMOMPDOFE, OCEOOCJEKDD OPHMFNLINBP)
|
|
{
|
|
if (this.DebugOut >= DebugLevel.OFF)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.WARNING, " (origin)");
|
|
}
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[(byte)(-41)] = DNGHIIFIDHA;
|
|
dictionary[148] = MCOFHNPOEDN;
|
|
dictionary[137] = MPGMOMPDOFE;
|
|
if (OPHMFNLINBP != null)
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.CGAIEJDCOOH()))
|
|
{
|
|
dictionary[(byte)(-6)] = OPHMFNLINBP.GJIKNLPHKDB();
|
|
}
|
|
if (OPHMFNLINBP != null && (int)OPHMFNLINBP.FFJIDFAAMJI() != -89)
|
|
{
|
|
dictionary[(byte)(-46)] = (byte)OPHMFNLINBP.ACFGAODADJH();
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.GCAKMJOHGLO()))
|
|
{
|
|
dictionary[(byte)(-38)] = OPHMFNLINBP.HBLAELLJHDC();
|
|
}
|
|
else
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.INPPCALEPPH()))
|
|
{
|
|
dictionary[(byte)(-4)] = OPHMFNLINBP.MPGMAGPGKGB();
|
|
}
|
|
if (OPHMFNLINBP.GBJFDELMOBB != null)
|
|
{
|
|
dictionary[(byte)(-89)] = OPHMFNLINBP.CEMMKLIENID();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return this.OpCustom(163, dictionary, true, 0, base.IsEncryptionAvailable);
|
|
}
|
|
|
|
// Token: 0x0600BCED RID: 48365 RVA: 0x00389D00 File Offset: 0x00387F00
|
|
private string OJCGFPDIBII()
|
|
{
|
|
int num = 0;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format(" at channel ", "{0}:{1}:{2}:{3}:{4}:{5}", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("TeleportBufferSize can not contain duplicate values for ", "CheerGeneral", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("NEW", "move", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BCEE RID: 48366 RVA: 0x00389D94 File Offset: 0x00387F94
|
|
public string FCOGGPHDEDM()
|
|
{
|
|
return this.FNJAEEOFEMB();
|
|
}
|
|
|
|
// Token: 0x0600BCEF RID: 48367 RVA: 0x00389D9C File Offset: 0x00387F9C
|
|
public string FKJGFDOHNOA()
|
|
{
|
|
return this.PAKNHKJDGOM();
|
|
}
|
|
|
|
// Token: 0x0600BCF0 RID: 48368 RVA: 0x00389DA4 File Offset: 0x00387FA4
|
|
private void NDHKEJLBBML()
|
|
{
|
|
Type type = Type.GetType("d:\\Avatars\\", false);
|
|
type = type ?? Type.GetType("looktarget", false);
|
|
type = type ?? Type.GetType("pitch", false);
|
|
type = type ?? Type.GetType("OHAFAODGNHE", true);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[(ConnectionProtocol)8] = type;
|
|
this.SocketImplementationConfig[(ConnectionProtocol)8] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCF1 RID: 48369 RVA: 0x00389E1C File Offset: 0x0038801C
|
|
public bool FCLBFMFHDAD()
|
|
{
|
|
if (this.DebugOut >= DebugLevel.INFO)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.ERROR, "room_name" + this.HDPDEHBLDJK());
|
|
}
|
|
return this.Connect(this.KHDNNOGILDG(), "GameSessionId");
|
|
}
|
|
|
|
// Token: 0x0600BCF2 RID: 48370 RVA: 0x00389E58 File Offset: 0x00388058
|
|
private string HPAKKFPDLOC()
|
|
{
|
|
int num = 0;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("USAGE: shadowDistance <int>", "CheerCategory", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("position", "VmVjdG9yM0RhdGESJgoIcm90YXRpb24YAiABKAsyFC5yZWNyb29tLlZlY3Rv", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("RpcSetIndex", "cheat", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BCF3 RID: 48371 RVA: 0x00389EEC File Offset: 0x003880EC
|
|
public IJPLDNOJLMO(IPhotonPeerListener GJGPAJAGLLI, ConnectionProtocol AGAMAAHGMIM)
|
|
: base(GJGPAJAGLLI, AGAMAAHGMIM)
|
|
{
|
|
this.NDPJDJAIIMH();
|
|
}
|
|
|
|
// Token: 0x0600BCF4 RID: 48372 RVA: 0x00389EFC File Offset: 0x003880FC
|
|
public string CJDEHDNFPMF()
|
|
{
|
|
return this.IMGDJHHAOPC();
|
|
}
|
|
|
|
// Token: 0x0600BCF5 RID: 48373 RVA: 0x00389F04 File Offset: 0x00388104
|
|
public string DEFCILKHJDD()
|
|
{
|
|
return this.DOKCFLEGAMB();
|
|
}
|
|
|
|
// Token: 0x0600BCF6 RID: 48374 RVA: 0x00389F0C File Offset: 0x0038810C
|
|
private void CDFPHPFAMAA()
|
|
{
|
|
Type type = Type.GetType("Detects cheating of any Obscured type (except ObscuredPrefs, it has own detection features) used in project.", true);
|
|
type = type ?? Type.GetType("__a", true);
|
|
type = type ?? Type.GetType("CNDBNOEDHFF", true);
|
|
type = type ?? Type.GetType("Failed to create path ", false);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[(ConnectionProtocol)3] = type;
|
|
this.SocketImplementationConfig[(ConnectionProtocol)6] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BCF7 RID: 48375 RVA: 0x00389F84 File Offset: 0x00388184
|
|
internal virtual bool LHIJJCFGJJC()
|
|
{
|
|
return base.UsedProtocol == ConnectionProtocol.WebSocket;
|
|
}
|
|
|
|
// Token: 0x0600BCF8 RID: 48376 RVA: 0x00389F90 File Offset: 0x00388190
|
|
public string KCJPNBPKHBJ()
|
|
{
|
|
return this.KMABDPBHEFI();
|
|
}
|
|
|
|
// Token: 0x0600BCF9 RID: 48377 RVA: 0x00389F98 File Offset: 0x00388198
|
|
public bool PNLGJPIMAJI()
|
|
{
|
|
if (this.DebugOut >= (DebugLevel)6)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.INFO, "_Extinction" + this.OOCIOLLENDE());
|
|
}
|
|
return this.Connect(this.AAMNLEGKIGM(), "speed");
|
|
}
|
|
|
|
// Token: 0x0600BCFA RID: 48378 RVA: 0x00389FD4 File Offset: 0x003881D4
|
|
public string PMGMJDBNCMI()
|
|
{
|
|
return this.IMGDJHHAOPC();
|
|
}
|
|
|
|
// Token: 0x0600BCFB RID: 48379 RVA: 0x00389FDC File Offset: 0x003881DC
|
|
internal virtual bool DBMFLHPNNHC()
|
|
{
|
|
return base.UsedProtocol == ConnectionProtocol.Tcp;
|
|
}
|
|
|
|
// Token: 0x0600BCFC RID: 48380 RVA: 0x00389FE8 File Offset: 0x003881E8
|
|
internal virtual bool KJIOIFNLCDK()
|
|
{
|
|
return base.UsedProtocol == ConnectionProtocol.Udp;
|
|
}
|
|
|
|
// Token: 0x0600BCFD RID: 48381 RVA: 0x00389FF4 File Offset: 0x003881F4
|
|
public bool ABDNOHAANPA()
|
|
{
|
|
if (this.DebugOut >= (DebugLevel)6)
|
|
{
|
|
base.Listener.DebugReturn((DebugLevel)8, "LIFE" + this.OOCIOLLENDE());
|
|
}
|
|
return this.Connect(this.AGFEBEEDDLO(), "_FadeCenter");
|
|
}
|
|
|
|
// Token: 0x0600BCFE RID: 48382 RVA: 0x0038A030 File Offset: 0x00388230
|
|
public bool JBNCHIBGNGO(string MCOFHNPOEDN, string DNGHIIFIDHA, string MPGMOMPDOFE, OCEOOCJEKDD OPHMFNLINBP)
|
|
{
|
|
if (this.DebugOut >= DebugLevel.ERROR)
|
|
{
|
|
base.Listener.DebugReturn((DebugLevel)8, "TeleportRegion");
|
|
}
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[(byte)(-11)] = DNGHIIFIDHA;
|
|
dictionary[84] = MCOFHNPOEDN;
|
|
dictionary[(byte)(-49)] = MPGMOMPDOFE;
|
|
if (OPHMFNLINBP != null)
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.OONPBGFCOGI()))
|
|
{
|
|
dictionary[99] = OPHMFNLINBP.AOLBBHJHOII();
|
|
}
|
|
if (OPHMFNLINBP != null && (int)OPHMFNLINBP.HPIJPMBFGMB() != -86)
|
|
{
|
|
dictionary[85] = (byte)OPHMFNLINBP.MNEMAHJLMPF();
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.EFILLDFONKO()))
|
|
{
|
|
dictionary[(byte)(-117)] = OPHMFNLINBP.GCAKMJOHGLO();
|
|
}
|
|
else
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.PGPJFCFAPNF()))
|
|
{
|
|
dictionary[187] = OPHMFNLINBP.EANBBLMBFGJ();
|
|
}
|
|
if (OPHMFNLINBP.KDKIBACGDEH() != null)
|
|
{
|
|
dictionary[(byte)(-138)] = OPHMFNLINBP.GBJFDELMOBB;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return this.OpCustom((byte)(-34), dictionary, false, 0, base.IsEncryptionAvailable);
|
|
}
|
|
|
|
// Token: 0x0600BCFF RID: 48383 RVA: 0x0038A15C File Offset: 0x0038835C
|
|
private void PBNDCMECKCE()
|
|
{
|
|
Type type = Type.GetType("rotation", true);
|
|
type = type ?? Type.GetType("jointXform", true);
|
|
type = type ?? Type.GetType("z", false);
|
|
type = type ?? Type.GetType("gifs", false);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[ConnectionProtocol.WebSocketSecure] = type;
|
|
this.SocketImplementationConfig[(ConnectionProtocol)8] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BD00 RID: 48384 RVA: 0x0038A1D4 File Offset: 0x003883D4
|
|
public bool GENLCGGMKIG()
|
|
{
|
|
if (this.DebugOut >= (DebugLevel)8)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.INFO, "PlayerIndexes" + this.LHEFCPFMMLE());
|
|
}
|
|
return this.Connect(this.FKJGFDOHNOA(), "_Decal_Tex");
|
|
}
|
|
|
|
// Token: 0x0600BD01 RID: 48385 RVA: 0x0038A210 File Offset: 0x00388410
|
|
internal virtual bool CDPGBMBPIEF()
|
|
{
|
|
return base.UsedProtocol == (ConnectionProtocol)6;
|
|
}
|
|
|
|
// Token: 0x0600BD02 RID: 48386 RVA: 0x0038A21C File Offset: 0x0038841C
|
|
private string MLPBDGNPAEG()
|
|
{
|
|
int num = 0;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("HTTPResponse", "Player", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format(") then the masterserver requests a disconnect!", "HTTPCacheService", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("Error deserializing RCCarRemoteControl {0}: data empty.", "SendThread - Closed!", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BD03 RID: 48387 RVA: 0x0038A2B0 File Offset: 0x003884B0
|
|
public bool FMPNNNGNPPA()
|
|
{
|
|
if (this.DebugOut >= DebugLevel.ALL)
|
|
{
|
|
base.Listener.DebugReturn((DebugLevel)7, "AGDE" + this.IHLBEFJOALN());
|
|
}
|
|
return this.Connect(this.OOCIOLLENDE(), "orienttopath");
|
|
}
|
|
|
|
// Token: 0x0600BD04 RID: 48388 RVA: 0x0038A2EC File Offset: 0x003884EC
|
|
internal virtual bool HPNPFNFMAMP()
|
|
{
|
|
return base.UsedProtocol == (ConnectionProtocol)8;
|
|
}
|
|
|
|
// Token: 0x0600BD05 RID: 48389 RVA: 0x0038A2F8 File Offset: 0x003884F8
|
|
public bool MKKINNPDBGG()
|
|
{
|
|
if (this.DebugOut >= DebugLevel.OFF)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.WARNING, "Stream error." + this.IHLBEFJOALN());
|
|
}
|
|
return this.Connect(this.PDJIJNKBCJO(), "_Depth");
|
|
}
|
|
|
|
// Token: 0x0600BD06 RID: 48390 RVA: 0x0038A334 File Offset: 0x00388534
|
|
public string LHEFCPFMMLE()
|
|
{
|
|
return this.FEJLFKKLMKL();
|
|
}
|
|
|
|
// Token: 0x0600BD07 RID: 48391 RVA: 0x0038A33C File Offset: 0x0038853C
|
|
public bool AGNBFOJCGEA(string MCOFHNPOEDN, string DNGHIIFIDHA, string MPGMOMPDOFE, OCEOOCJEKDD OPHMFNLINBP)
|
|
{
|
|
if (this.DebugOut >= DebugLevel.ALL)
|
|
{
|
|
base.Listener.DebugReturn((DebugLevel)8, "RpcOnEquipmentSpawn");
|
|
}
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[(byte)(-91)] = DNGHIIFIDHA;
|
|
dictionary[(byte)(-80)] = MCOFHNPOEDN;
|
|
dictionary[148] = MPGMOMPDOFE;
|
|
if (OPHMFNLINBP != null)
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.GJIKNLPHKDB()))
|
|
{
|
|
dictionary[155] = OPHMFNLINBP.OCAHLHMIPMG;
|
|
}
|
|
if (OPHMFNLINBP != null && OPHMFNLINBP.FFJIDFAAMJI() != (HFIIAGPNCCM)104)
|
|
{
|
|
dictionary[(byte)(-82)] = (byte)OPHMFNLINBP.LELNJFFCPHO();
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.NKFLBAKCPLA))
|
|
{
|
|
dictionary[(byte)(-4)] = OPHMFNLINBP.JKFDIBHECAB();
|
|
}
|
|
else
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.GNNJJJPIIKG()))
|
|
{
|
|
dictionary[(byte)(-95)] = OPHMFNLINBP.PGPJFCFAPNF();
|
|
}
|
|
if (OPHMFNLINBP.GLENEJHDLGH() != null)
|
|
{
|
|
dictionary[178] = OPHMFNLINBP.DFEBBPMEIGP();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return this.OpCustom((byte)(-145), dictionary, false, 0, base.IsEncryptionAvailable);
|
|
}
|
|
|
|
// Token: 0x0600BD08 RID: 48392 RVA: 0x0038A468 File Offset: 0x00388668
|
|
private void HNOFNCNKNFA()
|
|
{
|
|
Type type = Type.GetType("'", false);
|
|
type = type ?? Type.GetType("_PlaneForwardLocal", false);
|
|
type = type ?? Type.GetType("[PV] Remote voice list of channel ", false);
|
|
type = type ?? Type.GetType("Button_JoinEvent RecRoomSceneManager is null.", false);
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[ConnectionProtocol.Tcp] = type;
|
|
this.SocketImplementationConfig[(ConnectionProtocol)3] = type;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BD09 RID: 48393 RVA: 0x0038A4E0 File Offset: 0x003886E0
|
|
internal virtual bool BDNEHJEENBJ()
|
|
{
|
|
return base.UsedProtocol == (ConnectionProtocol)6;
|
|
}
|
|
|
|
// Token: 0x0600BD0A RID: 48394 RVA: 0x0038A4EC File Offset: 0x003886EC
|
|
internal virtual bool KHEEKKJEDBB()
|
|
{
|
|
return base.UsedProtocol == ConnectionProtocol.WebSocketSecure;
|
|
}
|
|
|
|
// Token: 0x0600BD0B RID: 48395 RVA: 0x0038A4F8 File Offset: 0x003886F8
|
|
public bool LDKDEJDOAFC()
|
|
{
|
|
if (this.DebugOut >= DebugLevel.WARNING)
|
|
{
|
|
base.Listener.DebugReturn((DebugLevel)7, "_Speed" + this.KHDNNOGILDG());
|
|
}
|
|
return this.Connect(this.LHEFCPFMMLE(), "RpcImageUpdated");
|
|
}
|
|
|
|
// Token: 0x0600BD0C RID: 48396 RVA: 0x0038A534 File Offset: 0x00388734
|
|
public string IHLBEFJOALN()
|
|
{
|
|
return this.HCCJJHHOMPK();
|
|
}
|
|
|
|
// Token: 0x0600BD0D RID: 48397 RVA: 0x0038A53C File Offset: 0x0038873C
|
|
public bool CHJAGFJJOHF()
|
|
{
|
|
if (this.DebugOut >= (DebugLevel)8)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.WARNING, "message must not be null!" + this.FKJGFDOHNOA());
|
|
}
|
|
return this.Connect(this.FCOGGPHDEDM(), "Oh, Hell no!");
|
|
}
|
|
|
|
// Token: 0x0600BD0E RID: 48398 RVA: 0x0038A578 File Offset: 0x00388778
|
|
private string FNJAEEOFEMB()
|
|
{
|
|
int num = 0;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("Pngs\\", "OutfitSelections", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("MenuVisible", "AngVel: ({0:F2}, {1:F2}, {2:F2})\n", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("AGDE", "SkinColor", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BD0F RID: 48399 RVA: 0x0038A60C File Offset: 0x0038880C
|
|
private string KMABDPBHEFI()
|
|
{
|
|
int num = 1;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format(")", "queued_events", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("^name must be alphanumeric!", "session_start", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("utv", "namedcolorvalue", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BD10 RID: 48400 RVA: 0x0038A6A0 File Offset: 0x003888A0
|
|
internal virtual bool CAEJEJIEDOK()
|
|
{
|
|
return base.UsedProtocol == ConnectionProtocol.WebSocketSecure;
|
|
}
|
|
|
|
// Token: 0x0600BD11 RID: 48401 RVA: 0x0038A6AC File Offset: 0x003888AC
|
|
private string IMGDJHHAOPC()
|
|
{
|
|
int num = 0;
|
|
IJPLDNOJLMO.BBBCEMEHJHO.TryGetValue(base.TransportProtocol, out num);
|
|
switch (base.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("No player instance found in Hand Start()", "TEAM_TWO_LAST_PERFORMER_INDEX", num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format(",", "{0}joinplayer", num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("User Timing Label", "EndTime", num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600BD12 RID: 48402 RVA: 0x0038A740 File Offset: 0x00388940
|
|
public bool NDLNIGLBCFH()
|
|
{
|
|
if (this.DebugOut >= (DebugLevel)4)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.INFO, "Cylinder overlay's arc angle has to be below 180 degree, current arc angle is " + this.JDDMGEMOMKF());
|
|
}
|
|
return this.Connect(this.AAMNLEGKIGM(), "api/PlayerCheer/");
|
|
}
|
|
|
|
// Token: 0x0600BD13 RID: 48403 RVA: 0x0038A77C File Offset: 0x0038897C
|
|
public bool MDFKHBJNBEA(string MCOFHNPOEDN, string DNGHIIFIDHA, string MPGMOMPDOFE, OCEOOCJEKDD OPHMFNLINBP)
|
|
{
|
|
if (this.DebugOut >= DebugLevel.OFF)
|
|
{
|
|
base.Listener.DebugReturn((DebugLevel)6, "VRDevice");
|
|
}
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[(byte)(-179)] = DNGHIIFIDHA;
|
|
dictionary[(byte)(-52)] = MCOFHNPOEDN;
|
|
dictionary[(byte)(-69)] = MPGMOMPDOFE;
|
|
if (OPHMFNLINBP != null)
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.FAMPBMMAGLE()))
|
|
{
|
|
dictionary[18] = OPHMFNLINBP.FAMPBMMAGLE();
|
|
}
|
|
if (OPHMFNLINBP != null && (int)OPHMFNLINBP.MBIMOBJEACM() != -21)
|
|
{
|
|
dictionary[(byte)(-2)] = (byte)OPHMFNLINBP.DNDMLLAIDCB();
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.HBLAELLJHDC()))
|
|
{
|
|
dictionary[104] = OPHMFNLINBP.LKDBFHHKAAF();
|
|
}
|
|
else
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.PGPJFCFAPNF()))
|
|
{
|
|
dictionary[115] = OPHMFNLINBP.INPPCALEPPH();
|
|
}
|
|
if (OPHMFNLINBP.GBJFDELMOBB != null)
|
|
{
|
|
dictionary[(byte)(-13)] = OPHMFNLINBP.KOKJFIMEJOM();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return this.OpCustom(4, dictionary, true, 1, base.IsEncryptionAvailable);
|
|
}
|
|
|
|
// Token: 0x0600BD14 RID: 48404 RVA: 0x0038A8A8 File Offset: 0x00388AA8
|
|
public bool IMIONOCBAFA(string MCOFHNPOEDN, string DNGHIIFIDHA, string MPGMOMPDOFE, OCEOOCJEKDD OPHMFNLINBP)
|
|
{
|
|
if (this.DebugOut >= (DebugLevel)6)
|
|
{
|
|
base.Listener.DebugReturn(DebugLevel.OFF, "game_id_update");
|
|
}
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[186] = DNGHIIFIDHA;
|
|
dictionary[(byte)(-34)] = MCOFHNPOEDN;
|
|
dictionary[(byte)(-48)] = MPGMOMPDOFE;
|
|
if (OPHMFNLINBP != null)
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.OCAHLHMIPMG))
|
|
{
|
|
dictionary[(byte)(-91)] = OPHMFNLINBP.GJIKNLPHKDB();
|
|
}
|
|
if (OPHMFNLINBP != null && (int)OPHMFNLINBP.ACFGAODADJH() != -13)
|
|
{
|
|
dictionary[(byte)(-64)] = (byte)OPHMFNLINBP.FFJIDFAAMJI();
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.EFILLDFONKO()))
|
|
{
|
|
dictionary[(byte)(-134)] = OPHMFNLINBP.HBLAELLJHDC();
|
|
}
|
|
else
|
|
{
|
|
if (!string.IsNullOrEmpty(OPHMFNLINBP.PGPJFCFAPNF()))
|
|
{
|
|
dictionary[155] = OPHMFNLINBP.MPGMAGPGKGB();
|
|
}
|
|
if (OPHMFNLINBP.KDKIBACGDEH() != null)
|
|
{
|
|
dictionary[32] = OPHMFNLINBP.GBJFDELMOBB;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return this.OpCustom(7, dictionary, true, 1, base.IsEncryptionAvailable);
|
|
}
|
|
|
|
// Token: 0x0600BD15 RID: 48405 RVA: 0x0038A9D4 File Offset: 0x00388BD4
|
|
public string PAKMBMKABOF()
|
|
{
|
|
return this.LPAIBAEMIGE();
|
|
}
|
|
|
|
// Token: 0x0600BD16 RID: 48406 RVA: 0x0038A9DC File Offset: 0x00388BDC
|
|
internal virtual bool IKKEEICPBIA()
|
|
{
|
|
return base.UsedProtocol == (ConnectionProtocol)2;
|
|
}
|
|
|
|
// Token: 0x040019A3 RID: 6563
|
|
public const string AIGNAPDKBMA = "ns.exitgames.com";
|
|
|
|
// Token: 0x040019A4 RID: 6564
|
|
public const string BHACACOBGIK = "http://ns.exitgamescloud.com:80/photon/n";
|
|
|
|
// Token: 0x040019A5 RID: 6565
|
|
private static readonly Dictionary<ConnectionProtocol, int> BBBCEMEHJHO = new Dictionary<ConnectionProtocol, int>
|
|
{
|
|
{
|
|
ConnectionProtocol.Udp,
|
|
5058
|
|
},
|
|
{
|
|
ConnectionProtocol.Tcp,
|
|
4533
|
|
},
|
|
{
|
|
ConnectionProtocol.WebSocket,
|
|
9093
|
|
},
|
|
{
|
|
ConnectionProtocol.WebSocketSecure,
|
|
19093
|
|
}
|
|
};
|
|
}
|
|
}
|