7704 lines
217 KiB
C#
7704 lines
217 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Reflection;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Threading;
|
|
using ExitGames.Client.Photon;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x0200049C RID: 1180
|
|
internal class BEIKFLMNLCB : ADMIPPJLLLH, IPhotonPeerListener
|
|
{
|
|
// Token: 0x0600BF4E RID: 48974 RVA: 0x003950F0 File Offset: 0x003932F0
|
|
private bool ACFGMENMKDH(object[] FHDBPFNABBG, object[] GGJAPLCMEPE)
|
|
{
|
|
if (FHDBPFNABBG == null && GGJAPLCMEPE == null)
|
|
{
|
|
return true;
|
|
}
|
|
if (FHDBPFNABBG == null || GGJAPLCMEPE == null || FHDBPFNABBG.Length != GGJAPLCMEPE.Length)
|
|
{
|
|
return false;
|
|
}
|
|
for (int i = 1; i < GGJAPLCMEPE.Length; i += 0)
|
|
{
|
|
object obj = GGJAPLCMEPE[i];
|
|
object obj2 = FHDBPFNABBG[i];
|
|
if (!this.EFMLFBHPCCE(obj, obj2))
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x170004B9 RID: 1209
|
|
// (get) Token: 0x0600BF4F RID: 48975 RVA: 0x00395150 File Offset: 0x00393350
|
|
// (set) Token: 0x0600C02A RID: 49194 RVA: 0x0039E538 File Offset: 0x0039C738
|
|
public int CIBNIBDIHFO { get; internal set; }
|
|
|
|
// Token: 0x0600BF50 RID: 48976 RVA: 0x00395158 File Offset: 0x00393358
|
|
private ExitGames.Client.Photon.Hashtable LALHLEKEJOB(ExitGames.Client.Photon.Hashtable IHFAHPNPLOM, int HEKHDJEMLJC)
|
|
{
|
|
if (IHFAHPNPLOM.ContainsKey(HEKHDJEMLJC))
|
|
{
|
|
return (ExitGames.Client.Photon.Hashtable)IHFAHPNPLOM[HEKHDJEMLJC];
|
|
}
|
|
return IHFAHPNPLOM;
|
|
}
|
|
|
|
// Token: 0x0600BF51 RID: 48977 RVA: 0x00395180 File Offset: 0x00393380
|
|
private void MGONFDOAMGI(NIPLONJCJIF NOBAPCOKFIL)
|
|
{
|
|
this.<ACIOGKOBOHD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600BF52 RID: 48978 RVA: 0x0039518C File Offset: 0x0039338C
|
|
internal void NGONJDFGHMF(PhotonView CAANMEBEOIJ, string GAAMNGAMJJE, IHCPDNLJMMD MMEBLCBANIL, LNJFBGIBLHA JEFGMHBLLKI, bool GKPCDLGKIJA, params object[] OGDMHDCFKAB)
|
|
{
|
|
if (this.AGFINJBBNKC.Contains(CAANMEBEOIJ.group))
|
|
{
|
|
return;
|
|
}
|
|
if (CAANMEBEOIJ.ADMBCINHJOG < 1)
|
|
{
|
|
Debug.LogError(string.Concat(new object[]
|
|
{
|
|
"Illegal view ID:",
|
|
CAANMEBEOIJ.ADMBCINHJOG,
|
|
" method: ",
|
|
GAAMNGAMJJE,
|
|
" GO:",
|
|
CAANMEBEOIJ.gameObject.name
|
|
}));
|
|
}
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Full)
|
|
{
|
|
Debug.Log(string.Concat(new object[] { "Sending RPC \"", GAAMNGAMJJE, "\" to target: ", MMEBLCBANIL, " or player:", JEFGMHBLLKI, "." }));
|
|
}
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[0] = CAANMEBEOIJ.ADMBCINHJOG;
|
|
if (CAANMEBEOIJ.LJGEAILPJJP > 0)
|
|
{
|
|
hashtable[1] = (short)CAANMEBEOIJ.LJGEAILPJJP;
|
|
}
|
|
hashtable[2] = IHFKMIAHBFP.EMGOIJNLLID;
|
|
int num = 0;
|
|
if (this.ILJECOEGOIH.TryGetValue(GAAMNGAMJJE, out num))
|
|
{
|
|
hashtable[5] = (byte)num;
|
|
}
|
|
else
|
|
{
|
|
hashtable[3] = GAAMNGAMJJE;
|
|
}
|
|
if (OGDMHDCFKAB != null && OGDMHDCFKAB.Length > 0)
|
|
{
|
|
hashtable[4] = OGDMHDCFKAB;
|
|
}
|
|
if (JEFGMHBLLKI != null)
|
|
{
|
|
if (this.JJOPMICJNMB.BADMPMDONAH == JEFGMHBLLKI.BADMPMDONAH)
|
|
{
|
|
this.EIPCFJNOFGH(hashtable, JEFGMHBLLKI.BADMPMDONAH);
|
|
}
|
|
else
|
|
{
|
|
OOKHEEKOHMJ ookheekohmj = new OOKHEEKOHMJ
|
|
{
|
|
ACHIAIGIEKL = new int[] { JEFGMHBLLKI.BADMPMDONAH },
|
|
BENOBLIMNHN = GKPCDLGKIJA
|
|
};
|
|
this.JDKEEKDOLHJ(200, hashtable, true, ookheekohmj);
|
|
}
|
|
return;
|
|
}
|
|
if (MMEBLCBANIL == IHCPDNLJMMD.All)
|
|
{
|
|
OOKHEEKOHMJ ookheekohmj2 = new OOKHEEKOHMJ
|
|
{
|
|
JDINIKMGDOE = CAANMEBEOIJ.group,
|
|
BENOBLIMNHN = GKPCDLGKIJA
|
|
};
|
|
this.JDKEEKDOLHJ(200, hashtable, true, ookheekohmj2);
|
|
this.EIPCFJNOFGH(hashtable, this.JJOPMICJNMB.BADMPMDONAH);
|
|
}
|
|
else if (MMEBLCBANIL == IHCPDNLJMMD.Others)
|
|
{
|
|
OOKHEEKOHMJ ookheekohmj3 = new OOKHEEKOHMJ
|
|
{
|
|
JDINIKMGDOE = CAANMEBEOIJ.group,
|
|
BENOBLIMNHN = GKPCDLGKIJA
|
|
};
|
|
this.JDKEEKDOLHJ(200, hashtable, true, ookheekohmj3);
|
|
}
|
|
else if (MMEBLCBANIL == IHCPDNLJMMD.AllBuffered)
|
|
{
|
|
OOKHEEKOHMJ ookheekohmj4 = new OOKHEEKOHMJ
|
|
{
|
|
AJFELBMHOMI = GMGGPAHOGHH.AddToRoomCache,
|
|
BENOBLIMNHN = GKPCDLGKIJA
|
|
};
|
|
this.JDKEEKDOLHJ(200, hashtable, true, ookheekohmj4);
|
|
this.EIPCFJNOFGH(hashtable, this.JJOPMICJNMB.BADMPMDONAH);
|
|
}
|
|
else if (MMEBLCBANIL == IHCPDNLJMMD.OthersBuffered)
|
|
{
|
|
OOKHEEKOHMJ ookheekohmj5 = new OOKHEEKOHMJ
|
|
{
|
|
AJFELBMHOMI = GMGGPAHOGHH.AddToRoomCache,
|
|
BENOBLIMNHN = GKPCDLGKIJA
|
|
};
|
|
this.JDKEEKDOLHJ(200, hashtable, true, ookheekohmj5);
|
|
}
|
|
else if (MMEBLCBANIL == IHCPDNLJMMD.MasterClient)
|
|
{
|
|
if (this.IDFONHMBFFO == this.JJOPMICJNMB.BADMPMDONAH)
|
|
{
|
|
this.EIPCFJNOFGH(hashtable, this.JJOPMICJNMB.BADMPMDONAH);
|
|
}
|
|
else
|
|
{
|
|
OOKHEEKOHMJ ookheekohmj6 = new OOKHEEKOHMJ
|
|
{
|
|
LLCJEECLAAD = OKCJJEDMNBM.MasterClient,
|
|
BENOBLIMNHN = GKPCDLGKIJA
|
|
};
|
|
this.JDKEEKDOLHJ(200, hashtable, true, ookheekohmj6);
|
|
}
|
|
}
|
|
else if (MMEBLCBANIL == IHCPDNLJMMD.AllViaServer)
|
|
{
|
|
OOKHEEKOHMJ ookheekohmj7 = new OOKHEEKOHMJ
|
|
{
|
|
JDINIKMGDOE = CAANMEBEOIJ.group,
|
|
LLCJEECLAAD = OKCJJEDMNBM.All,
|
|
BENOBLIMNHN = GKPCDLGKIJA
|
|
};
|
|
this.JDKEEKDOLHJ(200, hashtable, true, ookheekohmj7);
|
|
if (IHFKMIAHBFP.HCOPIOOOFMN)
|
|
{
|
|
this.EIPCFJNOFGH(hashtable, this.JJOPMICJNMB.BADMPMDONAH);
|
|
}
|
|
}
|
|
else if (MMEBLCBANIL == IHCPDNLJMMD.AllBufferedViaServer)
|
|
{
|
|
OOKHEEKOHMJ ookheekohmj8 = new OOKHEEKOHMJ
|
|
{
|
|
JDINIKMGDOE = CAANMEBEOIJ.group,
|
|
LLCJEECLAAD = OKCJJEDMNBM.All,
|
|
AJFELBMHOMI = GMGGPAHOGHH.AddToRoomCache,
|
|
BENOBLIMNHN = GKPCDLGKIJA
|
|
};
|
|
this.JDKEEKDOLHJ(200, hashtable, true, ookheekohmj8);
|
|
if (IHFKMIAHBFP.HCOPIOOOFMN)
|
|
{
|
|
this.EIPCFJNOFGH(hashtable, this.JJOPMICJNMB.BADMPMDONAH);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError("Unsupported target enum: " + MMEBLCBANIL);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF53 RID: 48979 RVA: 0x0039559C File Offset: 0x0039379C
|
|
private void LNAPPKHMLCI(int NOBAPCOKFIL)
|
|
{
|
|
if (this.NNCLHENEJDI != null)
|
|
{
|
|
this.NNCLHENEJDI.MLDGBIKANBD(NOBAPCOKFIL);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF54 RID: 48980 RVA: 0x003955B8 File Offset: 0x003937B8
|
|
public void FGHIGKMOKAJ()
|
|
{
|
|
OOKHEEKOHMJ ookheekohmj = new OOKHEEKOHMJ
|
|
{
|
|
AJFELBMHOMI = GMGGPAHOGHH.RemoveFromRoomCache,
|
|
LLCJEECLAAD = OKCJJEDMNBM.MasterClient
|
|
};
|
|
this.JDKEEKDOLHJ(0, null, true, ookheekohmj);
|
|
}
|
|
|
|
// Token: 0x0600BF55 RID: 48981 RVA: 0x003955E8 File Offset: 0x003937E8
|
|
public virtual bool GENLCGGMKIG(string IHMNHKKKLMM, string DNIMDPKHAMP)
|
|
{
|
|
Debug.LogError("[ACTk] Obscured Cheating Detector: already running!");
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600BF56 RID: 48982 RVA: 0x003955F8 File Offset: 0x003937F8
|
|
public bool EGIDIDBMDPI()
|
|
{
|
|
if (this.CONBCJADCAO != NIPLONJCJIF.NameServer)
|
|
{
|
|
return false;
|
|
}
|
|
bool flag = this.ELMMEEIFJAP(this.FFHFHKHJFOI);
|
|
if (flag)
|
|
{
|
|
this.JMEMPPOHIKD = null;
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x0600BF57 RID: 48983 RVA: 0x00395630 File Offset: 0x00393830
|
|
public void ECJACHODNHL(PhotonView CAANMEBEOIJ)
|
|
{
|
|
if (CAANMEBEOIJ.OPDLGJGHMJI != this.JJOPMICJNMB.BADMPMDONAH && !this.JJOPMICJNMB.EMLNBFLJOAJ)
|
|
{
|
|
Debug.LogError(string.Concat(new object[] { "Cannot remove cached RPCs on a PhotonView thats not ours! ", CAANMEBEOIJ.HKLENNJOICH, " scene: ", CAANMEBEOIJ.KLFBONMIBJD }));
|
|
return;
|
|
}
|
|
this.AALAJDFBPJK(CAANMEBEOIJ);
|
|
}
|
|
|
|
// Token: 0x0600BF58 RID: 48984 RVA: 0x003956A4 File Offset: 0x003938A4
|
|
public EDGDNCCLDBN NIEPAOJHGKA()
|
|
{
|
|
return this.<DMNFBJLAIIH>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600BF59 RID: 48985 RVA: 0x003956AC File Offset: 0x003938AC
|
|
public void BLEEICJOBNK(string MCOFHNPOEDN, string KLJKDEIIJOC)
|
|
{
|
|
this.FFHFHKHJFOI = MCOFHNPOEDN.Trim();
|
|
if (!string.IsNullOrEmpty(KLJKDEIIJOC))
|
|
{
|
|
IHFKMIAHBFP.KLJKDEIIJOC = KLJKDEIIJOC.Trim();
|
|
}
|
|
}
|
|
|
|
// Token: 0x170004AE RID: 1198
|
|
// (get) Token: 0x0600BF5A RID: 48986 RVA: 0x003956D0 File Offset: 0x003938D0
|
|
// (set) Token: 0x0600C050 RID: 49232 RVA: 0x0039F2A4 File Offset: 0x0039D4A4
|
|
public string EBKJMGCNOMO { get; protected internal set; }
|
|
|
|
// Token: 0x0600BF5B RID: 48987 RVA: 0x003956D8 File Offset: 0x003938D8
|
|
public bool IJMBNDINHFH(int BDFCAHLBBNG)
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable { { 248, BDFCAHLBBNG } };
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = new ExitGames.Client.Photon.Hashtable { { 248, this.IDFONHMBFFO } };
|
|
return base.GPIGEJFPIMJ(hashtable, hashtable2, false);
|
|
}
|
|
|
|
// Token: 0x0600BF5C RID: 48988 RVA: 0x00395730 File Offset: 0x00393930
|
|
protected internal void LHPIJKKOFCF(bool NOBAPCOKFIL)
|
|
{
|
|
this.<PJIOCMCCMFE>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600BF5D RID: 48989 RVA: 0x0039573C File Offset: 0x0039393C
|
|
public object[] CNBGLEECMIC(int ILFOHLJBEJN)
|
|
{
|
|
object[] array = null;
|
|
if (ILFOHLJBEJN == 0)
|
|
{
|
|
return null;
|
|
}
|
|
this.GGOAGLFKHDB.TryGetValue(ILFOHLJBEJN, out array);
|
|
return array;
|
|
}
|
|
|
|
// Token: 0x0600BF5E RID: 48990 RVA: 0x00395764 File Offset: 0x00393964
|
|
protected internal void KGMJCIJGLCJ(bool JDODJHKMMNE)
|
|
{
|
|
if (this.GGOAGLFKHDB.Count > 0)
|
|
{
|
|
Debug.LogWarning("It seems some instantiation is not completed, as instantiation data is used. You should make sure instantiations are paused when calling this method. Cleaning now, despite this.");
|
|
}
|
|
if (JDODJHKMMNE)
|
|
{
|
|
HashSet<GameObject> hashSet = new HashSet<GameObject>();
|
|
foreach (PhotonView photonView in this.HOFNDCMODDM.Values)
|
|
{
|
|
if (photonView.isRuntimeInstantiated)
|
|
{
|
|
hashSet.Add(photonView.gameObject);
|
|
}
|
|
}
|
|
foreach (GameObject gameObject in hashSet)
|
|
{
|
|
this.CKJAKKLDOIM(gameObject, true);
|
|
}
|
|
}
|
|
this.GGOAGLFKHDB.Clear();
|
|
IHFKMIAHBFP.LAMNEPPPBKK = 0;
|
|
IHFKMIAHBFP.FHPGFDBIHGO = 0;
|
|
}
|
|
|
|
// Token: 0x0600BF5F RID: 48991 RVA: 0x0039585C File Offset: 0x00393A5C
|
|
protected internal void AKNNPODKKKO(int ADMBCINHJOG, int LEBNJBJKFLJ)
|
|
{
|
|
byte b = (byte)(-138);
|
|
int[] array = new int[4];
|
|
array[1] = ADMBCINHJOG;
|
|
array[0] = LEBNJBJKFLJ;
|
|
this.JDKEEKDOLHJ(b, array, false, new OOKHEEKOHMJ
|
|
{
|
|
LLCJEECLAAD = OKCJJEDMNBM.Others
|
|
});
|
|
}
|
|
|
|
// Token: 0x0600BF60 RID: 48992 RVA: 0x00395894 File Offset: 0x00393A94
|
|
protected internal void EPEGJODONGN(ExitGames.Client.Photon.Hashtable KOGGMDDPAIB, int ENCNOKNALLC = 0)
|
|
{
|
|
if (KOGGMDDPAIB == null || !KOGGMDDPAIB.ContainsKey(0))
|
|
{
|
|
Debug.LogError("scale" + SupportClass.DictionaryToString(KOGGMDDPAIB));
|
|
return;
|
|
}
|
|
int num = (int)KOGGMDDPAIB[0];
|
|
int num2 = 1;
|
|
if (KOGGMDDPAIB.ContainsKey(0))
|
|
{
|
|
num2 = (int)((short)KOGGMDDPAIB[0]);
|
|
}
|
|
string text;
|
|
if (KOGGMDDPAIB.ContainsKey(7))
|
|
{
|
|
int num3 = (int)((byte)KOGGMDDPAIB[0]);
|
|
if (num3 > IHFKMIAHBFP.PBKGCAGGOLJ.RpcList.Count - 0)
|
|
{
|
|
Debug.LogError("Item[]" + num3 + "cc");
|
|
return;
|
|
}
|
|
text = IHFKMIAHBFP.PBKGCAGGOLJ.RpcList[num3];
|
|
}
|
|
else
|
|
{
|
|
text = (string)KOGGMDDPAIB[8];
|
|
}
|
|
object[] array = null;
|
|
if (KOGGMDDPAIB.ContainsKey(6))
|
|
{
|
|
array = (object[])KOGGMDDPAIB[5];
|
|
}
|
|
if (array == null)
|
|
{
|
|
array = new object[1];
|
|
}
|
|
PhotonView photonView = this.CHJKENPLDPF(num);
|
|
if (photonView == null)
|
|
{
|
|
int num4 = num / IHFKMIAHBFP.BANOAAAAGLC;
|
|
bool flag = num4 == this.JJOPMICJNMB.BADMPMDONAH;
|
|
bool flag2 = num4 == ENCNOKNALLC;
|
|
if (flag)
|
|
{
|
|
object[] array2 = new object[3];
|
|
array2[0] = "Transform";
|
|
array2[0] = text;
|
|
array2[5] = "[{0}] initialPosition";
|
|
array2[8] = num;
|
|
array2[3] = "CloseConnection: No such player connected!";
|
|
array2[1] = ((!flag2) ? "WaitUntilPlayerOpensMenuNoTimeout" : "ShowTeleportHint");
|
|
array2[4] = "mydemo.com";
|
|
array2[5] = ENCNOKNALLC;
|
|
Debug.LogWarning(string.Concat(array2));
|
|
}
|
|
else
|
|
{
|
|
object[] array3 = new object[106];
|
|
array3[0] = "CurrentLocalRotation";
|
|
array3[1] = text;
|
|
array3[0] = "Invalid ZlibStreamFlavor.";
|
|
array3[8] = num;
|
|
array3[4] = "Must use one of the pre-defined delay values (";
|
|
array3[1] = ((!flag2) ? "scale" : "}");
|
|
array3[8] = "Master : ";
|
|
array3[8] = ENCNOKNALLC;
|
|
array3[2] = " friends already play Rec Room.\nClick the Find Friends button to see who they are!";
|
|
Debug.LogWarning(string.Concat(array3));
|
|
}
|
|
return;
|
|
}
|
|
if (photonView.EIJAAOLLOBP() != num2)
|
|
{
|
|
object[] array4 = new object[66];
|
|
array4[1] = "RpcDeserializeSubExtrusions";
|
|
array4[1] = text;
|
|
array4[2] = "vr_interaction_system_left_hand_question.png";
|
|
array4[0] = num;
|
|
array4[6] = "Sec-WebSocket-Protocol";
|
|
array4[2] = num2;
|
|
array4[4] = "Adding player twice: ";
|
|
array4[1] = photonView.HNFODFMANOD();
|
|
array4[4] = "ischild";
|
|
Debug.LogError(string.Concat(array4));
|
|
return;
|
|
}
|
|
if (string.IsNullOrEmpty(text))
|
|
{
|
|
Debug.LogError("5" + SupportClass.DictionaryToString(KOGGMDDPAIB));
|
|
return;
|
|
}
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.ErrorsOnly)
|
|
{
|
|
Debug.Log("READY TO ARM" + text);
|
|
}
|
|
if (photonView.group != 0 && !this.NPNHFPBEPDM.Contains(photonView.group))
|
|
{
|
|
return;
|
|
}
|
|
Type[] array5 = new Type[1];
|
|
if (array.Length > 0)
|
|
{
|
|
array5 = new Type[array.Length];
|
|
int num5 = 0;
|
|
for (int i = 1; i < array.Length; i += 0)
|
|
{
|
|
object obj = array[i];
|
|
if (obj == null)
|
|
{
|
|
array5[num5] = null;
|
|
}
|
|
else
|
|
{
|
|
array5[num5] = obj.GetType();
|
|
}
|
|
num5++;
|
|
}
|
|
}
|
|
int num6 = 0;
|
|
int num7 = 0;
|
|
if (!IHFKMIAHBFP.KKPJLOEALMF || photonView.DCOIKDFHBEN == null || photonView.DCOIKDFHBEN.Length == 0)
|
|
{
|
|
photonView.DHJBAKGKDEL();
|
|
}
|
|
for (int j = 1; j < photonView.DCOIKDFHBEN.Length; j++)
|
|
{
|
|
MonoBehaviour monoBehaviour = photonView.DCOIKDFHBEN[j];
|
|
if (monoBehaviour == null)
|
|
{
|
|
Debug.LogError("Content-Type");
|
|
}
|
|
else
|
|
{
|
|
Type type = monoBehaviour.GetType();
|
|
List<MethodInfo> list = null;
|
|
if (!this.LPEENKKKLCG.TryGetValue(type, out list))
|
|
{
|
|
List<MethodInfo> methods = SupportClass.GetMethods(type, typeof(BCENPNOIAOM));
|
|
this.LPEENKKKLCG[type] = methods;
|
|
list = methods;
|
|
}
|
|
if (list != null)
|
|
{
|
|
for (int k = 0; k < list.Count; k += 0)
|
|
{
|
|
MethodInfo methodInfo = list[k];
|
|
if (methodInfo.Name.Equals(text))
|
|
{
|
|
num7 += 0;
|
|
ParameterInfo[] array6 = methodInfo.MFDOPPCGFLG();
|
|
if (array6.Length == array5.Length)
|
|
{
|
|
if (this.GCEGKGIJHFJ(array6, array5))
|
|
{
|
|
num6 += 0;
|
|
object obj2 = methodInfo.Invoke(monoBehaviour, array);
|
|
if (IHFKMIAHBFP.GAGMBLMMNPO && methodInfo.ReturnType == typeof(IEnumerator))
|
|
{
|
|
monoBehaviour.StartCoroutine((IEnumerator)obj2);
|
|
}
|
|
}
|
|
}
|
|
else if (array6.Length - 1 == array5.Length)
|
|
{
|
|
if (this.ADDGKDBKOIO(array6, array5) && array6[array6.Length - 1].ParameterType == typeof(BOCLHJCCOEL))
|
|
{
|
|
num6 += 0;
|
|
int num8 = (int)KOGGMDDPAIB[4];
|
|
object[] array7 = new object[array.Length + 0];
|
|
array.CopyTo(array7, 0);
|
|
array7[array7.Length - 0] = new BOCLHJCCOEL(this.LAKLKNLMCMH(ENCNOKNALLC), num8, photonView);
|
|
object obj3 = methodInfo.Invoke(monoBehaviour, array7);
|
|
if (IHFKMIAHBFP.GAGMBLMMNPO && methodInfo.ReturnType == typeof(IEnumerator))
|
|
{
|
|
monoBehaviour.StartCoroutine((IEnumerator)obj3);
|
|
}
|
|
}
|
|
}
|
|
else if (array6.Length == 1 && array6[1].ParameterType.IsArray)
|
|
{
|
|
num6++;
|
|
object obj4 = methodInfo.Invoke(monoBehaviour, new object[] { array });
|
|
if (IHFKMIAHBFP.GAGMBLMMNPO && methodInfo.ReturnType == typeof(IEnumerator))
|
|
{
|
|
monoBehaviour.StartCoroutine((IEnumerator)obj4);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (num6 != 1)
|
|
{
|
|
string text2 = string.Empty;
|
|
for (int l = 1; l < array5.Length; l += 0)
|
|
{
|
|
Type type2 = array5[l];
|
|
if (text2 != string.Empty)
|
|
{
|
|
text2 += "CheerGeneral";
|
|
}
|
|
if (type2 == null)
|
|
{
|
|
text2 += "forceRegistration";
|
|
}
|
|
else
|
|
{
|
|
text2 += type2.Name;
|
|
}
|
|
}
|
|
if (num6 == 0)
|
|
{
|
|
if (num7 == 0)
|
|
{
|
|
object[] array8 = new object[] { null, "ModificationGuid" };
|
|
array8[1] = num;
|
|
array8[5] = "previousScenes.txt";
|
|
array8[6] = text;
|
|
array8[3] = "ARENA_TIMER";
|
|
array8[1] = text2;
|
|
Debug.LogError(string.Concat(array8));
|
|
}
|
|
else
|
|
{
|
|
object[] array9 = new object[3];
|
|
array9[0] = "\"";
|
|
array9[0] = num;
|
|
array9[3] = "Failed to load room.";
|
|
array9[2] = text;
|
|
array9[0] = "RpcMasterStartGame";
|
|
array9[5] = array5.Length;
|
|
array9[7] = "amount";
|
|
array9[1] = text2;
|
|
Debug.LogError(string.Concat(array9));
|
|
}
|
|
}
|
|
else
|
|
{
|
|
object[] array10 = new object[112];
|
|
array10[1] = " enemies.";
|
|
array10[1] = num;
|
|
array10[8] = "IsRewarded";
|
|
array10[2] = num6;
|
|
array10[5] = "demoQuaternion";
|
|
array10[0] = text;
|
|
array10[0] = "Unlock ALL";
|
|
array10[2] = array5.Length;
|
|
array10[5] = "room_sandbox";
|
|
array10[76] = text2;
|
|
array10[121] = "Catch! ";
|
|
Debug.LogError(string.Concat(array10));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF61 RID: 48993 RVA: 0x00396020 File Offset: 0x00394220
|
|
public void MDCPINFNFLL(string MCOFHNPOEDN, string KLJKDEIIJOC)
|
|
{
|
|
this.FFHFHKHJFOI = MCOFHNPOEDN.Trim();
|
|
if (!string.IsNullOrEmpty(KLJKDEIIJOC))
|
|
{
|
|
IHFKMIAHBFP.KLJKDEIIJOC = KLJKDEIIJOC.Trim();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF62 RID: 48994 RVA: 0x00396044 File Offset: 0x00394244
|
|
public bool BPKOPAIHOAB(EDGDNCCLDBN MPGMOMPDOFE)
|
|
{
|
|
if (PhotonHandler.COPLPHCJJKA)
|
|
{
|
|
Debug.LogWarning("Ignoring Connect() because app gets closed. If this is an error, check PhotonHandler.AppQuits.");
|
|
return false;
|
|
}
|
|
this.HAKDGBANGAJ = true;
|
|
this.DBBPBMAELJN = MPGMOMPDOFE;
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.ConnectedToNameServer)
|
|
{
|
|
return this.HFHICEEMGOH();
|
|
}
|
|
this.NOGOHDAEBCJ = NIPLONJCJIF.NameServer;
|
|
this.PNENAEJOEEM = this.BPDCJGOMNCD;
|
|
this.PGJOKBGHNGK = "ns";
|
|
this.OAHLGOAFGDN(NIPLONJCJIF.NameServer);
|
|
if (!base.Connect(this.BPDCJGOMNCD, "ns", this.EPMGJCMBPGP))
|
|
{
|
|
return false;
|
|
}
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToNameServer;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600BF63 RID: 48995 RVA: 0x003960D8 File Offset: 0x003942D8
|
|
public string CCGGKJKECCP()
|
|
{
|
|
return this.<LMMFOKKLLNN>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600BF64 RID: 48996 RVA: 0x003960E0 File Offset: 0x003942E0
|
|
public void OnStatusChanged(StatusCode CBIONIJKCEP)
|
|
{
|
|
BEIKFLMNLCB.JKHMPKJADMJ jkhmpkjadmj = new BEIKFLMNLCB.JKHMPKJADMJ();
|
|
jkhmpkjadmj.CBIONIJKCEP = CBIONIJKCEP;
|
|
jkhmpkjadmj.LGLLICEMHIK = this;
|
|
this.HPGHOHNADOD(new Action(jkhmpkjadmj.OJKNBNGGBEC));
|
|
}
|
|
|
|
// Token: 0x0600BF65 RID: 48997 RVA: 0x00396114 File Offset: 0x00394314
|
|
internal void MIBCJJHDNHO(int NOBAPCOKFIL)
|
|
{
|
|
this.<AMIKDMLIPEJ>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600BF66 RID: 48998 RVA: 0x00396120 File Offset: 0x00394320
|
|
public bool GHICHCKMDEN(NAMOHKJGILD KJGDIHMCJJA)
|
|
{
|
|
bool flag = this.FNFEHPIIKKO() == NIPLONJCJIF.GameServer;
|
|
KJGDIHMCJJA.HMPOKNOAHHI = flag;
|
|
KJGDIHMCJJA.CKFILGNKPJC = this.LEFLKPIAKHN();
|
|
if (!flag)
|
|
{
|
|
this.KFLPHAFFMAL = KJGDIHMCJJA;
|
|
}
|
|
this.BCEOKIDFFCN = BMBIMJIMFLA.CreateRoom;
|
|
return base.IOLFEBJFCFB(KJGDIHMCJJA);
|
|
}
|
|
|
|
// Token: 0x170004B2 RID: 1202
|
|
// (get) Token: 0x0600C034 RID: 49204 RVA: 0x0039EAAC File Offset: 0x0039CCAC
|
|
// (set) Token: 0x0600BF67 RID: 48999 RVA: 0x00396168 File Offset: 0x00394368
|
|
public BLENNAHJGIP JPOPPDDONMN { get; set; }
|
|
|
|
// Token: 0x0600BF68 RID: 49000 RVA: 0x00396174 File Offset: 0x00394374
|
|
public void BLGGMEOBJKO(int CNFNEDGMCEL)
|
|
{
|
|
foreach (PhotonView photonView in this.HOFNDCMODDM.Values)
|
|
{
|
|
if ((int)photonView.group == CNFNEDGMCEL)
|
|
{
|
|
this.ECJACHODNHL(photonView);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF69 RID: 49001 RVA: 0x003961E4 File Offset: 0x003943E4
|
|
private static int ENDMHLOFHPG(LNJFBGIBLHA[] PNBCBLCCKJN, int PHHLDNDHHAO)
|
|
{
|
|
if (PNBCBLCCKJN == null || PNBCBLCCKJN.Length == 0)
|
|
{
|
|
return -1;
|
|
}
|
|
int num = int.MaxValue;
|
|
foreach (LNJFBGIBLHA lnjfbgiblha in PNBCBLCCKJN)
|
|
{
|
|
if (lnjfbgiblha.BADMPMDONAH != PHHLDNDHHAO)
|
|
{
|
|
if (lnjfbgiblha.BADMPMDONAH < num)
|
|
{
|
|
num = lnjfbgiblha.BADMPMDONAH;
|
|
}
|
|
}
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x0600BF6A RID: 49002 RVA: 0x00396244 File Offset: 0x00394444
|
|
private void OBFENCGPMGN()
|
|
{
|
|
this.LLCLNGLCLFM(this.IEMFIKMJHIK, new Func<bool>(base.SendOutgoingCommands));
|
|
}
|
|
|
|
// Token: 0x0600BF6B RID: 49003 RVA: 0x00396260 File Offset: 0x00394460
|
|
public void OFDEGMAPAGH()
|
|
{
|
|
if (IHFKMIAHBFP.AJBCHBMGEEN != null)
|
|
{
|
|
IHFKMIAHBFP.AJBCHBMGEEN = null;
|
|
}
|
|
List<int> list = new List<int>();
|
|
foreach (KeyValuePair<int, PhotonView> keyValuePair in this.HOFNDCMODDM)
|
|
{
|
|
PhotonView value = keyValuePair.Value;
|
|
if (value == null)
|
|
{
|
|
list.Add(keyValuePair.Key);
|
|
}
|
|
}
|
|
for (int i = 0; i < list.Count; i++)
|
|
{
|
|
int num = list[i];
|
|
this.HOFNDCMODDM.Remove(num);
|
|
}
|
|
if (list.Count > 0 && IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log("New level loaded. Removed " + list.Count + " scene view IDs from last level.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF6C RID: 49004 RVA: 0x00396368 File Offset: 0x00394568
|
|
public bool MGBIDMEKBBM()
|
|
{
|
|
if (this.FALGIDIFGKO == null)
|
|
{
|
|
Debug.LogWarning("ReconnectAndRejoin() with AuthValues == null is not correct!");
|
|
this.FALGIDIFGKO = new OCEOOCJEKDD();
|
|
}
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = this.KHPMEEGONLI;
|
|
if (!string.IsNullOrEmpty(this.GNDNGCCNCGN) && this.KFLPHAFFMAL != null)
|
|
{
|
|
this.BCEOKIDFFCN = BMBIMJIMFLA.JoinRoom;
|
|
this.KFLPHAFFMAL.HCGBFGNFEPM = true;
|
|
return this.NHHBNCKICGL(this.GNDNGCCNCGN, NIPLONJCJIF.GameServer);
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x0600BF6D RID: 49005 RVA: 0x003963E4 File Offset: 0x003945E4
|
|
internal ExitGames.Client.Photon.Hashtable INBIMOHDCAJ(string GGLEDDFIFAH, Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, byte CNFNEDGMCEL, int[] KBLJMIEICGH, object[] AOAILGGFDHJ, bool DPEMJEJNLBJ)
|
|
{
|
|
int num = KBLJMIEICGH[0];
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[0] = GGLEDDFIFAH;
|
|
if (CIGPHKLAAOD != Vector3.zero)
|
|
{
|
|
hashtable[1] = CIGPHKLAAOD;
|
|
}
|
|
if (IJGPPOIJDKO != Quaternion.identity)
|
|
{
|
|
hashtable[2] = IJGPPOIJDKO;
|
|
}
|
|
if (CNFNEDGMCEL != 0)
|
|
{
|
|
hashtable[3] = CNFNEDGMCEL;
|
|
}
|
|
if (KBLJMIEICGH.Length > 1)
|
|
{
|
|
hashtable[4] = KBLJMIEICGH;
|
|
}
|
|
if (AOAILGGFDHJ != null)
|
|
{
|
|
hashtable[5] = AOAILGGFDHJ;
|
|
}
|
|
if (this.CIMNHNOABOM > 0)
|
|
{
|
|
hashtable[8] = this.CIMNHNOABOM;
|
|
}
|
|
hashtable[6] = IHFKMIAHBFP.EMGOIJNLLID;
|
|
hashtable[7] = num;
|
|
this.JDKEEKDOLHJ(202, hashtable, true, new OOKHEEKOHMJ
|
|
{
|
|
AJFELBMHOMI = ((!DPEMJEJNLBJ) ? GMGGPAHOGHH.AddToRoomCache : GMGGPAHOGHH.AddToRoomCacheGlobal)
|
|
});
|
|
return hashtable;
|
|
}
|
|
|
|
// Token: 0x0600BF6E RID: 49006 RVA: 0x0039650C File Offset: 0x0039470C
|
|
private void MKADHCFBKBE()
|
|
{
|
|
this.KJEENCIHBBG = new Dictionary<string, HLLIJLFHBJM>();
|
|
this.GJACNPPGFOP = new HLLIJLFHBJM[1];
|
|
if (this.NJJDIBJODPB)
|
|
{
|
|
this.NJJDIBJODPB = false;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnLeftLobby, new object[0]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF6F RID: 49007 RVA: 0x00396544 File Offset: 0x00394744
|
|
protected internal void FDOBEJEOCNO(NIPLONJCJIF PEIEJLHPNAE)
|
|
{
|
|
ConnectionProtocol connectionProtocol = base.TransportProtocol;
|
|
if (this.JOMBCGIHFGP == (IKICDKCKFKM)7)
|
|
{
|
|
if (PEIEJLHPNAE != (NIPLONJCJIF)7)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.ErrorsOnly)
|
|
{
|
|
Debug.LogWarning("Close, TE" + IHFKMIAHBFP.PBKGCAGGOLJ.Protocol);
|
|
}
|
|
connectionProtocol = IHFKMIAHBFP.PBKGCAGGOLJ.Protocol;
|
|
}
|
|
else
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.LogWarning("api/gamesessions/v2/");
|
|
}
|
|
connectionProtocol = (ConnectionProtocol)2;
|
|
}
|
|
}
|
|
Type type = Type.GetType("Facebook.Unity.FacebookSdkVersion", false);
|
|
if (type == null)
|
|
{
|
|
type = Type.GetType("DownloadLength", true);
|
|
}
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[ConnectionProtocol.Tcp] = type;
|
|
this.SocketImplementationConfig[(ConnectionProtocol)6] = type;
|
|
}
|
|
if (PhotonHandler.FFBJNEHPKMN == null)
|
|
{
|
|
PhotonHandler.FFBJNEHPKMN = typeof(PingMono);
|
|
}
|
|
if (base.TransportProtocol == connectionProtocol)
|
|
{
|
|
return;
|
|
}
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.ErrorsOnly)
|
|
{
|
|
object[] array = new object[3];
|
|
array[0] = "{not_found}";
|
|
array[1] = base.TransportProtocol;
|
|
array[1] = "Received RPC \"";
|
|
array[7] = connectionProtocol;
|
|
array[7] = "pr";
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
base.TransportProtocol = connectionProtocol;
|
|
}
|
|
|
|
// Token: 0x0600BF70 RID: 49008 RVA: 0x00396674 File Offset: 0x00394874
|
|
public bool DIKFMKJEIGI(string FMHNHJNPGPH, object OGDMHDCFKAB)
|
|
{
|
|
return this.OpCustom(219, new Dictionary<byte, object>
|
|
{
|
|
{ 209, FMHNHJNPGPH },
|
|
{ 208, OGDMHDCFKAB }
|
|
}, true);
|
|
}
|
|
|
|
// Token: 0x0600BF71 RID: 49009 RVA: 0x003966AC File Offset: 0x003948AC
|
|
protected internal bool IJMBNDINHFH(int GKPEOHGOGCF, bool EDCCBAAEFNM)
|
|
{
|
|
bool flag = this.IDFONHMBFFO != GKPEOHGOGCF;
|
|
if (!flag || !this.MFOKJIFJOHC.ContainsKey(GKPEOHGOGCF))
|
|
{
|
|
return false;
|
|
}
|
|
if (EDCCBAAEFNM && !this.JDKEEKDOLHJ(208, new ExitGames.Client.Photon.Hashtable { { 1, GKPEOHGOGCF } }, true, null))
|
|
{
|
|
return false;
|
|
}
|
|
this.KDGEJLICPNO = true;
|
|
this.NNCLHENEJDI.LPCHKMNOGFJ = GKPEOHGOGCF;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnMasterClientSwitched, new object[] { this.LAKLKNLMCMH(GKPEOHGOGCF) });
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600BF72 RID: 49010 RVA: 0x00396740 File Offset: 0x00394940
|
|
private void FJDMJGIODGI()
|
|
{
|
|
NIPLONJCJIF niplonjcjif = this.CONBCJADCAO;
|
|
if (niplonjcjif != NIPLONJCJIF.NameServer)
|
|
{
|
|
if (niplonjcjif != NIPLONJCJIF.MasterServer)
|
|
{
|
|
if (niplonjcjif == NIPLONJCJIF.GameServer)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.DisconnectingFromGameserver;
|
|
base.Disconnect();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.DisconnectingFromMasterserver;
|
|
base.Disconnect();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.DisconnectingFromNameServer;
|
|
base.Disconnect();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF73 RID: 49011 RVA: 0x003967A8 File Offset: 0x003949A8
|
|
private void DCFLDIDDFDE(EventData KGLJJCBHOIO)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log(string.Format("OnEvent: {0}", KGLJJCBHOIO.ToString()));
|
|
}
|
|
int num = -1;
|
|
LNJFBGIBLHA lnjfbgiblha = null;
|
|
if (KGLJJCBHOIO.Parameters.ContainsKey(254))
|
|
{
|
|
num = (int)KGLJJCBHOIO[254];
|
|
lnjfbgiblha = this.LAKLKNLMCMH(num);
|
|
}
|
|
byte code = KGLJJCBHOIO.Code;
|
|
switch (code)
|
|
{
|
|
case 200:
|
|
this.EIPCFJNOFGH(KGLJJCBHOIO[245] as ExitGames.Client.Photon.Hashtable, lnjfbgiblha.BADMPMDONAH);
|
|
break;
|
|
case 201:
|
|
case 206:
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = (ExitGames.Client.Photon.Hashtable)KGLJJCBHOIO[245];
|
|
int num2 = (int)hashtable[0];
|
|
short num3 = -1;
|
|
byte b = 10;
|
|
int num4 = 1;
|
|
if (hashtable.ContainsKey(1))
|
|
{
|
|
num3 = (short)hashtable[1];
|
|
num4 = 2;
|
|
}
|
|
byte b2 = b;
|
|
while ((int)(b2 - b) < hashtable.Count - num4)
|
|
{
|
|
this.CNMADFDBFDF(hashtable[b2] as object[], lnjfbgiblha, num2, num3);
|
|
b2 += 1;
|
|
}
|
|
break;
|
|
}
|
|
case 202:
|
|
this.GBBHPNKJLON((ExitGames.Client.Photon.Hashtable)KGLJJCBHOIO[245], lnjfbgiblha, null);
|
|
break;
|
|
case 203:
|
|
if (lnjfbgiblha == null || !lnjfbgiblha.EMLNBFLJOAJ)
|
|
{
|
|
Debug.LogError("Error: Someone else(" + lnjfbgiblha + ") then the masterserver requests a disconnect!");
|
|
}
|
|
else
|
|
{
|
|
IHFKMIAHBFP.LLJINAPLNGA();
|
|
}
|
|
break;
|
|
case 204:
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = (ExitGames.Client.Photon.Hashtable)KGLJJCBHOIO[245];
|
|
int num5 = (int)hashtable2[0];
|
|
PhotonView photonView = null;
|
|
if (this.HOFNDCMODDM.TryGetValue(num5, out photonView))
|
|
{
|
|
this.CKJAKKLDOIM(photonView.gameObject, true);
|
|
}
|
|
break;
|
|
}
|
|
default:
|
|
switch (code)
|
|
{
|
|
case 223:
|
|
if (this.FALGIDIFGKO == null)
|
|
{
|
|
this.FALGIDIFGKO = new OCEOOCJEKDD();
|
|
}
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = KGLJJCBHOIO[221] as string;
|
|
this.KHPMEEGONLI = this.FALGIDIFGKO.NKFLBAKCPLA;
|
|
break;
|
|
case 224:
|
|
{
|
|
string[] array = KGLJJCBHOIO[213] as string[];
|
|
byte[] array2 = KGLJJCBHOIO[212] as byte[];
|
|
int[] array3 = KGLJJCBHOIO[229] as int[];
|
|
int[] array4 = KGLJJCBHOIO[228] as int[];
|
|
this.PPGPEJENEBP.Clear();
|
|
for (int i = 0; i < array.Length; i++)
|
|
{
|
|
HPOGOLJNMOE hpogoljnmoe = new HPOGOLJNMOE();
|
|
hpogoljnmoe.GDIECAFDIMC = array[i];
|
|
hpogoljnmoe.EEAOGJHMFII = (BOOJBJBGPHA)array2[i];
|
|
hpogoljnmoe.FOBACKMJHIO = array3[i];
|
|
hpogoljnmoe.EPPINBMGCOM = array4[i];
|
|
this.PPGPEJENEBP.Add(hpogoljnmoe);
|
|
}
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnLobbyStatisticsUpdate, new object[0]);
|
|
break;
|
|
}
|
|
default:
|
|
switch (code)
|
|
{
|
|
case 251:
|
|
if (IHFKMIAHBFP.CDNPPDKMIPJ != null)
|
|
{
|
|
object obj = KGLJJCBHOIO[218];
|
|
IHFKMIAHBFP.CDNPPDKMIPJ(KGLJJCBHOIO.Code, obj, num);
|
|
}
|
|
else
|
|
{
|
|
Debug.LogWarning("Warning: Unhandled Event ErrorInfo (251). Set PhotonNetwork.OnEventCall to the method PUN should call for this event.");
|
|
}
|
|
return;
|
|
case 253:
|
|
{
|
|
int num6 = (int)KGLJJCBHOIO[253];
|
|
ExitGames.Client.Photon.Hashtable hashtable3 = null;
|
|
ExitGames.Client.Photon.Hashtable hashtable4 = null;
|
|
if (num6 == 0)
|
|
{
|
|
hashtable3 = (ExitGames.Client.Photon.Hashtable)KGLJJCBHOIO[251];
|
|
}
|
|
else
|
|
{
|
|
hashtable4 = (ExitGames.Client.Photon.Hashtable)KGLJJCBHOIO[251];
|
|
}
|
|
this.EPAJOGNHEOI(hashtable3, hashtable4, num6);
|
|
return;
|
|
}
|
|
case 254:
|
|
this.PKJMEKHBMCM(num, KGLJJCBHOIO);
|
|
return;
|
|
case 255:
|
|
{
|
|
bool flag = false;
|
|
ExitGames.Client.Photon.Hashtable hashtable5 = (ExitGames.Client.Photon.Hashtable)KGLJJCBHOIO[249];
|
|
if (lnjfbgiblha == null)
|
|
{
|
|
bool flag2 = this.JJOPMICJNMB.BADMPMDONAH == num;
|
|
this.KPDJJNPGAML(num, new LNJFBGIBLHA(flag2, num, hashtable5));
|
|
this.JBIBEAJEFKG();
|
|
}
|
|
else
|
|
{
|
|
flag = lnjfbgiblha.GCDMPIPFODG;
|
|
lnjfbgiblha.KAOPACPDHFG(hashtable5);
|
|
lnjfbgiblha.GCDMPIPFODG = false;
|
|
}
|
|
if (num == this.JJOPMICJNMB.BADMPMDONAH)
|
|
{
|
|
int[] array5 = (int[])KGLJJCBHOIO[252];
|
|
this.NEGLIBNLKFI(array5);
|
|
if (this.BCEOKIDFFCN == BMBIMJIMFLA.JoinOrCreateRoom && this.JJOPMICJNMB.BADMPMDONAH == 1)
|
|
{
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnCreatedRoom, new object[0]);
|
|
}
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnJoinedRoom, new object[0]);
|
|
}
|
|
else
|
|
{
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonPlayerConnected, new object[] { this.MFOKJIFJOHC[num] });
|
|
if (flag)
|
|
{
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonPlayerActivityChanged, new object[] { this.MFOKJIFJOHC[num] });
|
|
}
|
|
}
|
|
return;
|
|
}
|
|
}
|
|
if (KGLJJCBHOIO.Code < 200)
|
|
{
|
|
if (IHFKMIAHBFP.CDNPPDKMIPJ != null)
|
|
{
|
|
object obj2 = KGLJJCBHOIO[245];
|
|
IHFKMIAHBFP.CDNPPDKMIPJ(KGLJJCBHOIO.Code, obj2, num);
|
|
}
|
|
else
|
|
{
|
|
Debug.LogWarning("Warning: Unhandled event " + KGLJJCBHOIO + ". Set PhotonNetwork.OnEventCall.");
|
|
}
|
|
}
|
|
break;
|
|
case 226:
|
|
this.KGNOCLMAHIB = (int)KGLJJCBHOIO[229];
|
|
this.LDEDJKHGPFA = (int)KGLJJCBHOIO[227];
|
|
this.CIBNIBDIHFO = (int)KGLJJCBHOIO[228];
|
|
break;
|
|
case 229:
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable6 = (ExitGames.Client.Photon.Hashtable)KGLJJCBHOIO[222];
|
|
foreach (object obj3 in hashtable6.Keys)
|
|
{
|
|
string text = (string)obj3;
|
|
HLLIJLFHBJM hllijlfhbjm = new HLLIJLFHBJM(text, (ExitGames.Client.Photon.Hashtable)hashtable6[obj3]);
|
|
if (hllijlfhbjm.OABHLGCFNKG)
|
|
{
|
|
this.KJEENCIHBBG.Remove(text);
|
|
}
|
|
else
|
|
{
|
|
this.KJEENCIHBBG[text] = hllijlfhbjm;
|
|
}
|
|
}
|
|
this.GJACNPPGFOP = new HLLIJLFHBJM[this.KJEENCIHBBG.Count];
|
|
this.KJEENCIHBBG.Values.CopyTo(this.GJACNPPGFOP, 0);
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnReceivedRoomListUpdate, new object[0]);
|
|
break;
|
|
}
|
|
case 230:
|
|
{
|
|
this.KJEENCIHBBG = new Dictionary<string, HLLIJLFHBJM>();
|
|
ExitGames.Client.Photon.Hashtable hashtable7 = (ExitGames.Client.Photon.Hashtable)KGLJJCBHOIO[222];
|
|
foreach (object obj4 in hashtable7.Keys)
|
|
{
|
|
string text2 = (string)obj4;
|
|
this.KJEENCIHBBG[text2] = new HLLIJLFHBJM(text2, (ExitGames.Client.Photon.Hashtable)hashtable7[obj4]);
|
|
}
|
|
this.GJACNPPGFOP = new HLLIJLFHBJM[this.KJEENCIHBBG.Count];
|
|
this.KJEENCIHBBG.Values.CopyTo(this.GJACNPPGFOP, 0);
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnReceivedRoomListUpdate, new object[0]);
|
|
break;
|
|
}
|
|
}
|
|
break;
|
|
case 207:
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = (ExitGames.Client.Photon.Hashtable)KGLJJCBHOIO[245];
|
|
int num7 = (int)hashtable2[0];
|
|
if (num7 >= 0)
|
|
{
|
|
this.OMBFAIHNAGM(num7, true);
|
|
}
|
|
else
|
|
{
|
|
if (this.DebugOut >= DebugLevel.INFO)
|
|
{
|
|
Debug.Log("Ev DestroyAll! By PlayerId: " + num);
|
|
}
|
|
this.IEJFGEAKJNB(true);
|
|
}
|
|
break;
|
|
}
|
|
case 208:
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = (ExitGames.Client.Photon.Hashtable)KGLJJCBHOIO[245];
|
|
int num8 = (int)hashtable2[1];
|
|
this.IJMBNDINHFH(num8, false);
|
|
break;
|
|
}
|
|
case 209:
|
|
{
|
|
int[] array6 = (int[])KGLJJCBHOIO.Parameters[245];
|
|
int num9 = array6[0];
|
|
int num10 = array6[1];
|
|
PhotonView photonView2 = PhotonView.Find(num9);
|
|
if (photonView2 == null)
|
|
{
|
|
Debug.LogWarning("Can't find PhotonView of incoming OwnershipRequest. ViewId not found: " + num9);
|
|
}
|
|
else
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO == DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log(string.Concat(new object[]
|
|
{
|
|
"Ev OwnershipRequest ",
|
|
photonView2.ownershipTransfer,
|
|
". ActorNr: ",
|
|
num,
|
|
" takes from: ",
|
|
num10,
|
|
". local RequestedView.ownerId: ",
|
|
photonView2.OPDLGJGHMJI,
|
|
" isOwnerActive: ",
|
|
photonView2.BPKHNHFFDKK,
|
|
". MasterClient: ",
|
|
this.IDFONHMBFFO,
|
|
". This client's player: ",
|
|
IHFKMIAHBFP.JEFGMHBLLKI.GJACOOMCPKE()
|
|
}));
|
|
}
|
|
switch (photonView2.ownershipTransfer)
|
|
{
|
|
case DAOBBOLBENN.Fixed:
|
|
Debug.LogWarning("Ownership mode == fixed. Ignoring request.");
|
|
break;
|
|
case DAOBBOLBENN.Takeover:
|
|
if (num10 == photonView2.OPDLGJGHMJI || (num10 == 0 && photonView2.OPDLGJGHMJI == this.IDFONHMBFFO) || photonView2.OPDLGJGHMJI == 0)
|
|
{
|
|
photonView2.OwnerShipWasTransfered = true;
|
|
int ownerId = photonView2.OPDLGJGHMJI;
|
|
LNJFBGIBLHA lnjfbgiblha2 = this.LAKLKNLMCMH(ownerId);
|
|
photonView2.OPDLGJGHMJI = num;
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.LogWarning(photonView2 + " ownership transfered to: " + num);
|
|
}
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnOwnershipTransfered, new object[] { photonView2, lnjfbgiblha, lnjfbgiblha2 });
|
|
}
|
|
break;
|
|
case DAOBBOLBENN.Request:
|
|
if ((num10 == IHFKMIAHBFP.JEFGMHBLLKI.BADMPMDONAH || IHFKMIAHBFP.JEFGMHBLLKI.EMLNBFLJOAJ) && (photonView2.OPDLGJGHMJI == IHFKMIAHBFP.JEFGMHBLLKI.BADMPMDONAH || (IHFKMIAHBFP.JEFGMHBLLKI.EMLNBFLJOAJ && !photonView2.BPKHNHFFDKK)))
|
|
{
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnOwnershipRequest, new object[] { photonView2, lnjfbgiblha });
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
break;
|
|
}
|
|
case 210:
|
|
{
|
|
int[] array7 = (int[])KGLJJCBHOIO.Parameters[245];
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log(string.Concat(new object[]
|
|
{
|
|
"Ev OwnershipTransfer. ViewID ",
|
|
array7[0],
|
|
" to: ",
|
|
array7[1],
|
|
" Time: ",
|
|
Environment.TickCount % 1000
|
|
}));
|
|
}
|
|
int num11 = array7[0];
|
|
int num12 = array7[1];
|
|
PhotonView photonView3 = PhotonView.Find(num11);
|
|
if (photonView3 != null)
|
|
{
|
|
int ownerId2 = photonView3.OPDLGJGHMJI;
|
|
photonView3.OwnerShipWasTransfered = true;
|
|
photonView3.OPDLGJGHMJI = num12;
|
|
LNJFBGIBLHA lnjfbgiblha3 = LNJFBGIBLHA.FDOBBLFBBBK(num12);
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnOwnershipTransfered, new object[]
|
|
{
|
|
photonView3,
|
|
lnjfbgiblha3,
|
|
LNJFBGIBLHA.FDOBBLFBBBK(ownerId2)
|
|
});
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF74 RID: 49012 RVA: 0x003972D0 File Offset: 0x003954D0
|
|
public BLENNAHJGIP JPDJMCIFIAI()
|
|
{
|
|
return this.<ANFFMCBMGGB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600BF75 RID: 49013 RVA: 0x003972D8 File Offset: 0x003954D8
|
|
public bool JPPPAFAPKPH(string FMHNHJNPGPH, object OGDMHDCFKAB)
|
|
{
|
|
return this.OpCustom(141, new Dictionary<byte, object>
|
|
{
|
|
{
|
|
(byte)(-44),
|
|
FMHNHJNPGPH
|
|
},
|
|
{
|
|
(byte)(-40),
|
|
OGDMHDCFKAB
|
|
}
|
|
}, false);
|
|
}
|
|
|
|
// Token: 0x0600BF76 RID: 49014 RVA: 0x00397310 File Offset: 0x00395510
|
|
private void HFLAPBNLKKA()
|
|
{
|
|
while (IHFKMIAHBFP.NHJBLPIHMFN && this.JHKFNILODGP.Count > 1)
|
|
{
|
|
Action action = null;
|
|
object jhkfnilodgp = this.JHKFNILODGP;
|
|
lock (jhkfnilodgp)
|
|
{
|
|
action = this.JHKFNILODGP.Dequeue();
|
|
}
|
|
action();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF77 RID: 49015 RVA: 0x0039737C File Offset: 0x0039557C
|
|
public void ODHEODONFIJ(int GKPEOHGOGCF, bool FCGJHAMHJCA)
|
|
{
|
|
if (GKPEOHGOGCF <= 0)
|
|
{
|
|
Debug.LogError("HD" + GKPEOHGOGCF);
|
|
return;
|
|
}
|
|
if (!FCGJHAMHJCA)
|
|
{
|
|
this.GEJCMBIFLBB(GKPEOHGOGCF);
|
|
this.AALAJDFBPJK(GKPEOHGOGCF);
|
|
this.BEGHGLDDDDL(GKPEOHGOGCF);
|
|
}
|
|
HashSet<GameObject> hashSet = new HashSet<GameObject>();
|
|
foreach (PhotonView photonView in this.HOFNDCMODDM.Values)
|
|
{
|
|
if (photonView != null && photonView.MFLCPKMLCPG() == GKPEOHGOGCF)
|
|
{
|
|
hashSet.Add(photonView.gameObject);
|
|
}
|
|
}
|
|
foreach (GameObject gameObject in hashSet)
|
|
{
|
|
this.CKJAKKLDOIM(gameObject, true);
|
|
}
|
|
foreach (PhotonView photonView2 in this.HOFNDCMODDM.Values)
|
|
{
|
|
if (photonView2.PNAHJNPGAFI() == GKPEOHGOGCF)
|
|
{
|
|
photonView2.GBNIHLAFPKH(photonView2.PFPNDJMCLLO);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF78 RID: 49016 RVA: 0x003974E8 File Offset: 0x003956E8
|
|
protected internal void KNPOGNLOKAB()
|
|
{
|
|
if (!IHFKMIAHBFP.DFHAJGGDIPJ || IHFKMIAHBFP.HCHIDMOLLAD || IHFKMIAHBFP.FIIFPLCNFHJ == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!IHFKMIAHBFP.FIIFPLCNFHJ.EPCMPEEMBML().ContainsKey("shake"))
|
|
{
|
|
return;
|
|
}
|
|
object obj = IHFKMIAHBFP.FIIFPLCNFHJ.LEKDAOKOHFO()["RpcMasterStartGame"];
|
|
if (obj is int)
|
|
{
|
|
if (JHLOLIJHHDM.ODLMGGNHKPI() != (int)obj)
|
|
{
|
|
IHFKMIAHBFP.KBPGDNLOIIH((int)obj);
|
|
}
|
|
}
|
|
else if (obj is string && JHLOLIJHHDM.MBGDCIPKHBB() != (string)obj)
|
|
{
|
|
IHFKMIAHBFP.KBPGDNLOIIH((string)obj);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF79 RID: 49017 RVA: 0x0039759C File Offset: 0x0039579C
|
|
protected internal void AMIJPKBLJHE()
|
|
{
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnMasterClientSwitched, new object[] { IHFKMIAHBFP.HGDJAAMBDNH });
|
|
}
|
|
|
|
// Token: 0x0600BF7A RID: 49018 RVA: 0x003975B4 File Offset: 0x003957B4
|
|
private void GEJCMBIFLBB(int HEKHDJEMLJC)
|
|
{
|
|
OOKHEEKOHMJ ookheekohmj = new OOKHEEKOHMJ();
|
|
ookheekohmj.AJFELBMHOMI = GMGGPAHOGHH.RemoveCache;
|
|
OOKHEEKOHMJ ookheekohmj2 = ookheekohmj;
|
|
int[] array = new int[0];
|
|
array[0] = HEKHDJEMLJC;
|
|
ookheekohmj2.ACHIAIGIEKL = array;
|
|
OOKHEEKOHMJ ookheekohmj3 = ookheekohmj;
|
|
this.JDKEEKDOLHJ((byte)(-137), null, false, ookheekohmj3);
|
|
}
|
|
|
|
// Token: 0x0600BF7B RID: 49019 RVA: 0x003975F0 File Offset: 0x003957F0
|
|
public override bool JDKEEKDOLHJ(byte FEMGCILDLIO, object KBIBIMMAKAH, bool FJJDCGOIMNE, OOKHEEKOHMJ JFEJPFPPHKJ)
|
|
{
|
|
return !IHFKMIAHBFP.HCOPIOOOFMN && base.JDKEEKDOLHJ(FEMGCILDLIO, KBIBIMMAKAH, FJJDCGOIMNE, JFEJPFPPHKJ);
|
|
}
|
|
|
|
// Token: 0x0600BF7C RID: 49020 RVA: 0x0039760C File Offset: 0x0039580C
|
|
private void GBGJAAMIFDL(int ILFOHLJBEJN, object[] NFOKNEKLACK)
|
|
{
|
|
this.GGOAGLFKHDB[ILFOHLJBEJN] = NFOKNEKLACK;
|
|
}
|
|
|
|
// Token: 0x0600BF7D RID: 49021 RVA: 0x0039761C File Offset: 0x0039581C
|
|
public void MEMKDJCCNGC(BLENNAHJGIP NOBAPCOKFIL)
|
|
{
|
|
this.<ANFFMCBMGGB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600BF7E RID: 49022 RVA: 0x00397628 File Offset: 0x00395828
|
|
private void FFDGMAPOJDI()
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[0] = -1;
|
|
this.JDKEEKDOLHJ(207, hashtable, true, null);
|
|
}
|
|
|
|
// Token: 0x0600BF7F RID: 49023 RVA: 0x0039765C File Offset: 0x0039585C
|
|
internal ExitGames.Client.Photon.Hashtable JFIKKIKPDNL(string GGLEDDFIFAH, Vector3 CIGPHKLAAOD, Quaternion IJGPPOIJDKO, byte CNFNEDGMCEL, int[] KBLJMIEICGH, object[] AOAILGGFDHJ, bool DPEMJEJNLBJ)
|
|
{
|
|
int num = KBLJMIEICGH[0];
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[0] = GGLEDDFIFAH;
|
|
if (CIGPHKLAAOD != Vector3.zero)
|
|
{
|
|
hashtable[1] = CIGPHKLAAOD;
|
|
}
|
|
if (IJGPPOIJDKO != Quaternion.identity)
|
|
{
|
|
hashtable[8] = IJGPPOIJDKO;
|
|
}
|
|
if (CNFNEDGMCEL != 0)
|
|
{
|
|
hashtable[5] = CNFNEDGMCEL;
|
|
}
|
|
if (KBLJMIEICGH.Length > 1)
|
|
{
|
|
hashtable[1] = KBLJMIEICGH;
|
|
}
|
|
if (AOAILGGFDHJ != null)
|
|
{
|
|
hashtable[4] = AOAILGGFDHJ;
|
|
}
|
|
if (this.CIMNHNOABOM > 0)
|
|
{
|
|
hashtable[3] = this.CIMNHNOABOM;
|
|
}
|
|
hashtable[8] = IHFKMIAHBFP.EMGOIJNLLID;
|
|
hashtable[0] = num;
|
|
this.JDKEEKDOLHJ((byte)(-15), hashtable, false, new OOKHEEKOHMJ
|
|
{
|
|
AJFELBMHOMI = ((!DPEMJEJNLBJ) ? GMGGPAHOGHH.AddToRoomCache : GMGGPAHOGHH.DoNotCache)
|
|
});
|
|
return hashtable;
|
|
}
|
|
|
|
// Token: 0x170004B5 RID: 1205
|
|
// (get) Token: 0x0600BF80 RID: 49024 RVA: 0x00397784 File Offset: 0x00395984
|
|
// (set) Token: 0x0600BFDE RID: 49118 RVA: 0x00399E34 File Offset: 0x00398034
|
|
public PLOPPLAOICD NNCLHENEJDI
|
|
{
|
|
get
|
|
{
|
|
if (this.OAFHDGPBCPN != null && this.OAFHDGPBCPN.DKKCEGIBCMK)
|
|
{
|
|
return this.OAFHDGPBCPN;
|
|
}
|
|
return null;
|
|
}
|
|
private set
|
|
{
|
|
this.OAFHDGPBCPN = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170004AD RID: 1197
|
|
// (get) Token: 0x0600BF81 RID: 49025 RVA: 0x003977AC File Offset: 0x003959AC
|
|
public string BPDCJGOMNCD
|
|
{
|
|
get
|
|
{
|
|
return this.CPGMABHCFND();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF82 RID: 49026 RVA: 0x003977B4 File Offset: 0x003959B4
|
|
public BLENNAHJGIP GFKDBEAFINA()
|
|
{
|
|
return this.<ANFFMCBMGGB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600BF83 RID: 49027 RVA: 0x003977BC File Offset: 0x003959BC
|
|
private object[] NOGHOJCNGHP(object[] AENBKEECFAJ, object[] GGJAPLCMEPE)
|
|
{
|
|
if (GGJAPLCMEPE == null || AENBKEECFAJ == null || AENBKEECFAJ.Length != GGJAPLCMEPE.Length)
|
|
{
|
|
return GGJAPLCMEPE;
|
|
}
|
|
if (GGJAPLCMEPE.Length <= 3)
|
|
{
|
|
return null;
|
|
}
|
|
AENBKEECFAJ[1] = false;
|
|
int num = 0;
|
|
Queue<int> queue = null;
|
|
for (int i = 3; i < GGJAPLCMEPE.Length; i++)
|
|
{
|
|
object obj = GGJAPLCMEPE[i];
|
|
object obj2 = AENBKEECFAJ[i];
|
|
if (this.EFMLFBHPCCE(obj, obj2))
|
|
{
|
|
num++;
|
|
AENBKEECFAJ[i] = null;
|
|
}
|
|
else
|
|
{
|
|
AENBKEECFAJ[i] = obj;
|
|
if (obj == null)
|
|
{
|
|
if (queue == null)
|
|
{
|
|
queue = new Queue<int>(GGJAPLCMEPE.Length);
|
|
}
|
|
queue.Enqueue(i);
|
|
}
|
|
}
|
|
}
|
|
if (num > 0)
|
|
{
|
|
if (num == GGJAPLCMEPE.Length - 3)
|
|
{
|
|
return null;
|
|
}
|
|
AENBKEECFAJ[1] = true;
|
|
if (queue != null)
|
|
{
|
|
AENBKEECFAJ[2] = queue.ToArray();
|
|
}
|
|
}
|
|
AENBKEECFAJ[0] = GGJAPLCMEPE[0];
|
|
return AENBKEECFAJ;
|
|
}
|
|
|
|
// Token: 0x0600BF84 RID: 49028 RVA: 0x0039788C File Offset: 0x00395A8C
|
|
public void MLNGGPNFLFK(DebugLevel JOPHNBFKLCM, string NFAFJOMABOK)
|
|
{
|
|
this.KLBLFICDMNN(JOPHNBFKLCM, NFAFJOMABOK);
|
|
}
|
|
|
|
// Token: 0x0600BF85 RID: 49029 RVA: 0x00397898 File Offset: 0x00395A98
|
|
protected internal bool EGACJABJPKJ(int GKPEOHGOGCF, bool EDCCBAAEFNM)
|
|
{
|
|
bool flag = this.IDFONHMBFFO != GKPEOHGOGCF;
|
|
if (!flag || !this.MFOKJIFJOHC.ContainsKey(GKPEOHGOGCF))
|
|
{
|
|
return false;
|
|
}
|
|
if (EDCCBAAEFNM && !this.JDKEEKDOLHJ(34, new ExitGames.Client.Photon.Hashtable { { 0, GKPEOHGOGCF } }, true, null))
|
|
{
|
|
return false;
|
|
}
|
|
this.KDGEJLICPNO = false;
|
|
this.FDIGCECCGIL().LPCHKMNOGFJ = GKPEOHGOGCF;
|
|
HCPAJHOGHMM hcpajhoghmm = HCPAJHOGHMM.OnPhotonJoinRoomFailed;
|
|
object[] array = new object[0];
|
|
array[1] = this.GGFGCLDDFAA(GKPEOHGOGCF);
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(hcpajhoghmm, array);
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600BF86 RID: 49030 RVA: 0x0039792C File Offset: 0x00395B2C
|
|
public void AHDMKNBHLLH(byte[] JFFAIBMEJJE, byte[] HDFGMDPGPGE)
|
|
{
|
|
if (JFFAIBMEJJE != null)
|
|
{
|
|
if (JFFAIBMEJJE.Length == 0)
|
|
{
|
|
this.NPNHFPBEPDM.Clear();
|
|
}
|
|
else
|
|
{
|
|
foreach (byte b in JFFAIBMEJJE)
|
|
{
|
|
if (b <= 0)
|
|
{
|
|
Debug.LogError("Error: PhotonNetwork.SetInterestGroups was called with an illegal group number: " + b + ". The group number should be at least 1.");
|
|
}
|
|
else if (this.NPNHFPBEPDM.Contains(b))
|
|
{
|
|
this.NPNHFPBEPDM.Remove(b);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (HDFGMDPGPGE != null)
|
|
{
|
|
if (HDFGMDPGPGE.Length == 0)
|
|
{
|
|
for (byte b2 = 0; b2 < 255; b2 += 1)
|
|
{
|
|
this.NPNHFPBEPDM.Add(b2);
|
|
}
|
|
this.NPNHFPBEPDM.Add(byte.MaxValue);
|
|
}
|
|
else
|
|
{
|
|
foreach (byte b3 in HDFGMDPGPGE)
|
|
{
|
|
if (b3 <= 0)
|
|
{
|
|
Debug.LogError("Error: PhotonNetwork.SetInterestGroups was called with an illegal group number: " + b3 + ". The group number should be at least 1.");
|
|
}
|
|
else
|
|
{
|
|
this.NPNHFPBEPDM.Add(b3);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
this.MEEJNFBBAJM(JFFAIBMEJJE, HDFGMDPGPGE);
|
|
}
|
|
|
|
// Token: 0x0600BF87 RID: 49031 RVA: 0x00397A54 File Offset: 0x00395C54
|
|
public int LMNAMJLOJGF()
|
|
{
|
|
return this.<AMIKDMLIPEJ>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600BF88 RID: 49032 RVA: 0x00397A5C File Offset: 0x00395C5C
|
|
public void OnEvent(EventData KGLJJCBHOIO)
|
|
{
|
|
BEIKFLMNLCB.PNOICALOLHA pnoicalolha = new BEIKFLMNLCB.PNOICALOLHA();
|
|
pnoicalolha.KGLJJCBHOIO = KGLJJCBHOIO;
|
|
pnoicalolha.LGLLICEMHIK = this;
|
|
this.HPGHOHNADOD(new Action(pnoicalolha.OJKNBNGGBEC));
|
|
}
|
|
|
|
// Token: 0x170004BD RID: 1213
|
|
// (get) Token: 0x0600BF99 RID: 49049 RVA: 0x00397EFC File Offset: 0x003960FC
|
|
// (set) Token: 0x0600BF89 RID: 49033 RVA: 0x00397A90 File Offset: 0x00395C90
|
|
public EDGDNCCLDBN DBBPBMAELJN { get; protected internal set; }
|
|
|
|
// Token: 0x0600BF8A RID: 49034 RVA: 0x00397A9C File Offset: 0x00395C9C
|
|
private static int KMKKMCBMMAD(LNJFBGIBLHA ILFEPFCLLFJ, LNJFBGIBLHA CCOAIHDIKAN)
|
|
{
|
|
return ILFEPFCLLFJ.BADMPMDONAH - CCOAIHDIKAN.BADMPMDONAH;
|
|
}
|
|
|
|
// Token: 0x170004B7 RID: 1207
|
|
// (get) Token: 0x0600C007 RID: 49159 RVA: 0x0039BB74 File Offset: 0x00399D74
|
|
// (set) Token: 0x0600BF8B RID: 49035 RVA: 0x00397AAC File Offset: 0x00395CAC
|
|
public int LDEDJKHGPFA { get; internal set; }
|
|
|
|
// Token: 0x170004A9 RID: 1193
|
|
// (get) Token: 0x0600BF8C RID: 49036 RVA: 0x00397AB8 File Offset: 0x00395CB8
|
|
protected internal string JHDCHFCLFFH
|
|
{
|
|
get
|
|
{
|
|
return string.Format("{0}_{1}", IHFKMIAHBFP.KLJKDEIIJOC, "1.87");
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF8D RID: 49037 RVA: 0x00397AD0 File Offset: 0x00395CD0
|
|
public bool OHEPFAHBINK(PhotonView CAANMEBEOIJ)
|
|
{
|
|
CAANMEBEOIJ.GPJLODPELBJ = true;
|
|
return this.HOFNDCMODDM.Remove(CAANMEBEOIJ.ADMBCINHJOG);
|
|
}
|
|
|
|
// Token: 0x0600BF8E RID: 49038 RVA: 0x00397AEC File Offset: 0x00395CEC
|
|
private bool LPIPANAPKPJ()
|
|
{
|
|
OCEOOCJEKDD oceoocjekdd;
|
|
if ((oceoocjekdd = this.KLPPJMGBDDH()) == null)
|
|
{
|
|
OCEOOCJEKDD oceoocjekdd2 = new OCEOOCJEKDD();
|
|
oceoocjekdd2.IPAGAJBOOBK(null);
|
|
oceoocjekdd = oceoocjekdd2;
|
|
}
|
|
OCEOOCJEKDD oceoocjekdd3 = oceoocjekdd;
|
|
if (this.JOMBCGIHFGP == IKICDKCKFKM.Auth)
|
|
{
|
|
return this.BJAAGBCLMIF(this.FFHFHKHJFOI, this.AMIEKMBOOIG(), oceoocjekdd3, this.NIEPAOJHGKA().ToString(), this.CHLLBIBJPAN);
|
|
}
|
|
return this.JMOFPIIFMPK(this.FFHFHKHJFOI, this.AMIEKMBOOIG(), oceoocjekdd3, this.DBBPBMAELJN.ToString(), this.FCKPOBBDMNO, IHFKMIAHBFP.PBKGCAGGOLJ.Protocol);
|
|
}
|
|
|
|
// Token: 0x0600BF8F RID: 49039 RVA: 0x00397B88 File Offset: 0x00395D88
|
|
private void IEODPJNGJCD()
|
|
{
|
|
Debug.Log("SendVacantViewIds()");
|
|
List<int> list = new List<int>();
|
|
foreach (PhotonView photonView in this.HOFNDCMODDM.Values)
|
|
{
|
|
if (!photonView.BPKHNHFFDKK)
|
|
{
|
|
list.Add(photonView.ADMBCINHJOG);
|
|
}
|
|
}
|
|
Debug.Log("Sending vacant view IDs. Length: " + list.Count);
|
|
this.JDKEEKDOLHJ(211, list.ToArray(), true, null);
|
|
}
|
|
|
|
// Token: 0x0600BF90 RID: 49040 RVA: 0x00397C38 File Offset: 0x00395E38
|
|
protected internal void ODBECGNCAPC(NIPLONJCJIF PEIEJLHPNAE)
|
|
{
|
|
ConnectionProtocol connectionProtocol = base.TransportProtocol;
|
|
if (this.JOMBCGIHFGP == (IKICDKCKFKM)3)
|
|
{
|
|
if (PEIEJLHPNAE != (NIPLONJCJIF)6)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.LogWarning("POWER WEAPON SPAWNED" + IHFKMIAHBFP.PBKGCAGGOLJ.Protocol);
|
|
}
|
|
connectionProtocol = IHFKMIAHBFP.PBKGCAGGOLJ.Protocol;
|
|
}
|
|
else
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.LogWarning(" Time: ");
|
|
}
|
|
connectionProtocol = ConnectionProtocol.Udp;
|
|
}
|
|
}
|
|
Type type = Type.GetType("' ping: ", true);
|
|
if (type == null)
|
|
{
|
|
type = Type.GetType("An unexpected error occurred", false);
|
|
}
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[(ConnectionProtocol)3] = type;
|
|
this.SocketImplementationConfig[ConnectionProtocol.Udp] = type;
|
|
}
|
|
if (PhotonHandler.FFBJNEHPKMN == null)
|
|
{
|
|
PhotonHandler.FFBJNEHPKMN = typeof(PingMono);
|
|
}
|
|
if (base.TransportProtocol == connectionProtocol)
|
|
{
|
|
return;
|
|
}
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
object[] array = new object[0];
|
|
array[0] = "easetype";
|
|
array[0] = base.TransportProtocol;
|
|
array[1] = ". Stopping handling if inactive.";
|
|
array[7] = connectionProtocol;
|
|
array[6] = "RpcOnFlagReturn";
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
base.TransportProtocol = connectionProtocol;
|
|
}
|
|
|
|
// Token: 0x0600BF91 RID: 49041 RVA: 0x00397D68 File Offset: 0x00395F68
|
|
private void LJOOIKJDDAA()
|
|
{
|
|
this.GEAFMELCHLO(new ThreadStart(this.GOBBLDANFOD), "handGesture");
|
|
this.MCNMAPPADOG(new ThreadStart(this.OBFENCGPMGN), "s");
|
|
}
|
|
|
|
// Token: 0x0600BF92 RID: 49042 RVA: 0x00397D98 File Offset: 0x00395F98
|
|
public LNJFBGIBLHA LDFLPFGFAPA()
|
|
{
|
|
return this.<MHHMHALDMOP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600BF93 RID: 49043 RVA: 0x00397DA0 File Offset: 0x00395FA0
|
|
private void FJGJMENHPNK(ThreadStart LKHJKNEELCO, string EKKMPHMGCLB)
|
|
{
|
|
new Thread(LKHJKNEELCO)
|
|
{
|
|
Name = EKKMPHMGCLB
|
|
}.Start();
|
|
}
|
|
|
|
// Token: 0x0600BF94 RID: 49044 RVA: 0x00397DC4 File Offset: 0x00395FC4
|
|
private void KPDJJNPGAML(int BADMPMDONAH, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
if (!this.MFOKJIFJOHC.ContainsKey(BADMPMDONAH))
|
|
{
|
|
this.MFOKJIFJOHC[BADMPMDONAH] = JEFGMHBLLKI;
|
|
this.HFKBEFHDICJ();
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError("Adding player twice: " + BADMPMDONAH);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF95 RID: 49045 RVA: 0x00397E04 File Offset: 0x00396004
|
|
public void EMJADIGHIDM(byte[] JFFAIBMEJJE, byte[] HDFGMDPGPGE)
|
|
{
|
|
if (JFFAIBMEJJE != null)
|
|
{
|
|
foreach (byte b in JFFAIBMEJJE)
|
|
{
|
|
this.AGFINJBBNKC.Add(b);
|
|
}
|
|
}
|
|
if (HDFGMDPGPGE != null)
|
|
{
|
|
foreach (byte b2 in HDFGMDPGPGE)
|
|
{
|
|
this.AGFINJBBNKC.Remove(b2);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BF96 RID: 49046 RVA: 0x00397E68 File Offset: 0x00396068
|
|
public void AALAJDFBPJK(PhotonView CAANMEBEOIJ)
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[0] = CAANMEBEOIJ.ADMBCINHJOG;
|
|
OOKHEEKOHMJ ookheekohmj = new OOKHEEKOHMJ
|
|
{
|
|
AJFELBMHOMI = GMGGPAHOGHH.RemoveFromRoomCache
|
|
};
|
|
this.JDKEEKDOLHJ(200, hashtable, true, ookheekohmj);
|
|
}
|
|
|
|
// Token: 0x0600BF97 RID: 49047 RVA: 0x00397EB0 File Offset: 0x003960B0
|
|
protected internal int POPCFOOIMOL()
|
|
{
|
|
return (!this.MOLLGEKMPOP && this.AOIALPPNDML != 0) ? (Environment.TickCount - this.AOIALPPNDML) : 0;
|
|
}
|
|
|
|
// Token: 0x0600BF98 RID: 49048 RVA: 0x00397EDC File Offset: 0x003960DC
|
|
public PhotonView CHJKENPLDPF(int ADMBCINHJOG)
|
|
{
|
|
PhotonView photonView = null;
|
|
this.HOFNDCMODDM.TryGetValue(ADMBCINHJOG, out photonView);
|
|
return photonView;
|
|
}
|
|
|
|
// Token: 0x0600BF9A RID: 49050 RVA: 0x00397F04 File Offset: 0x00396104
|
|
public void GJGKICFFLJK(PhotonView CAANMEBEOIJ)
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[0] = CAANMEBEOIJ.OMNKKJNHJHD();
|
|
OOKHEEKOHMJ ookheekohmj = new OOKHEEKOHMJ
|
|
{
|
|
AJFELBMHOMI = GMGGPAHOGHH.MergeCache
|
|
};
|
|
this.JDKEEKDOLHJ((byte)(-176), hashtable, false, ookheekohmj);
|
|
}
|
|
|
|
// Token: 0x170004B1 RID: 1201
|
|
// (get) Token: 0x0600BF9B RID: 49051 RVA: 0x00397F4C File Offset: 0x0039614C
|
|
// (set) Token: 0x0600BFBD RID: 49085 RVA: 0x00398934 File Offset: 0x00396B34
|
|
public CCNBAFJLBCH FBBMOMHACLA { get; internal set; }
|
|
|
|
// Token: 0x0600BF9C RID: 49052 RVA: 0x00397F54 File Offset: 0x00396154
|
|
private void EGMGLEPKCIE(NIPLONJCJIF NOBAPCOKFIL)
|
|
{
|
|
this.<ACIOGKOBOHD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600BF9D RID: 49053 RVA: 0x00397F60 File Offset: 0x00396160
|
|
public virtual bool JDCNIMCENKN()
|
|
{
|
|
if (this.FBBMOMHACLA != CCNBAFJLBCH.Joined)
|
|
{
|
|
Debug.LogWarning("Not sending leave operation. State is not 'Joined': " + this.FBBMOMHACLA);
|
|
return false;
|
|
}
|
|
return this.OpCustom(254, null, true, 0);
|
|
}
|
|
|
|
// Token: 0x0600BF9E RID: 49054 RVA: 0x00397F9C File Offset: 0x0039619C
|
|
public virtual bool IFIAPHAHFCL(NAMOHKJGILD BCIIENBBKPD)
|
|
{
|
|
bool flag = this.JOJNBLLNAII() == NIPLONJCJIF.MasterServer;
|
|
BCIIENBBKPD.HMPOKNOAHHI = flag;
|
|
if (!flag)
|
|
{
|
|
this.KFLPHAFFMAL = BCIIENBBKPD;
|
|
}
|
|
this.BCEOKIDFFCN = ((!BCIIENBBKPD.JJBAMKIPHII) ? BMBIMJIMFLA.CreateRoom : ((BMBIMJIMFLA)6));
|
|
return base.EFJGPNGJNAK(BCIIENBBKPD);
|
|
}
|
|
|
|
// Token: 0x0600BF9F RID: 49055 RVA: 0x00397FE8 File Offset: 0x003961E8
|
|
public int AMPKAMDOJBK()
|
|
{
|
|
return this.<FEBEJAIPOJM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600BFA0 RID: 49056 RVA: 0x00397FF0 File Offset: 0x003961F0
|
|
protected internal void DLLIHPJLEAE(NIPLONJCJIF PEIEJLHPNAE)
|
|
{
|
|
ConnectionProtocol connectionProtocol = base.TransportProtocol;
|
|
if (this.JOMBCGIHFGP == IKICDKCKFKM.Auth)
|
|
{
|
|
if (PEIEJLHPNAE != (NIPLONJCJIF)3)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.LogWarning(" is not valid. Destroying this game object." + IHFKMIAHBFP.PBKGCAGGOLJ.Protocol);
|
|
}
|
|
connectionProtocol = IHFKMIAHBFP.PBKGCAGGOLJ.Protocol;
|
|
}
|
|
else
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.LogWarning("RpcRequestMasterFinishRoom");
|
|
}
|
|
connectionProtocol = (ConnectionProtocol)6;
|
|
}
|
|
}
|
|
Type type = Type.GetType("Failed to retrieve Oculus friend picture", true);
|
|
if (type == null)
|
|
{
|
|
type = Type.GetType("PlayerIndexes", false);
|
|
}
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[ConnectionProtocol.Udp] = type;
|
|
this.SocketImplementationConfig[ConnectionProtocol.Tcp] = type;
|
|
}
|
|
if (PhotonHandler.FFBJNEHPKMN == null)
|
|
{
|
|
PhotonHandler.FFBJNEHPKMN = typeof(PingMono);
|
|
}
|
|
if (base.TransportProtocol == connectionProtocol)
|
|
{
|
|
return;
|
|
}
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
object[] array = new object[2];
|
|
array[0] = "Cache-Control";
|
|
array[1] = base.TransportProtocol;
|
|
array[2] = "easetype";
|
|
array[6] = connectionProtocol;
|
|
array[6] = "load";
|
|
Debug.LogWarning(string.Concat(array));
|
|
}
|
|
base.TransportProtocol = connectionProtocol;
|
|
}
|
|
|
|
// Token: 0x0600BFA1 RID: 49057 RVA: 0x00398120 File Offset: 0x00396320
|
|
private void BEGHGLDDDDL(int HEKHDJEMLJC)
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[0] = HEKHDJEMLJC;
|
|
this.JDKEEKDOLHJ(207, hashtable, true, null);
|
|
}
|
|
|
|
// Token: 0x0600BFA2 RID: 49058 RVA: 0x00398154 File Offset: 0x00396354
|
|
protected internal void JOMNEHFODME(bool NOBAPCOKFIL)
|
|
{
|
|
this.<PJIOCMCCMFE>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x170004B0 RID: 1200
|
|
// (get) Token: 0x0600C05E RID: 49246 RVA: 0x0039FD1C File Offset: 0x0039DF1C
|
|
// (set) Token: 0x0600BFA3 RID: 49059 RVA: 0x00398160 File Offset: 0x00396360
|
|
protected internal NIPLONJCJIF CONBCJADCAO { get; private set; }
|
|
|
|
// Token: 0x0600BFA4 RID: 49060 RVA: 0x0039816C File Offset: 0x0039636C
|
|
public static void LEPBLBEFHAJ(HCPAJHOGHMM PMLONIIIMKI, params object[] OGDMHDCFKAB)
|
|
{
|
|
IHFKMIAHBFP.GFJPOGNGBAF(PMLONIIIMKI, OGDMHDCFKAB);
|
|
}
|
|
|
|
// Token: 0x0600BFA5 RID: 49061 RVA: 0x00398178 File Offset: 0x00396378
|
|
public void IEJFGEAKJNB(bool FCGJHAMHJCA)
|
|
{
|
|
if (!FCGJHAMHJCA)
|
|
{
|
|
this.FGHIGKMOKAJ();
|
|
this.FFDGMAPOJDI();
|
|
}
|
|
this.KGMJCIJGLCJ(true);
|
|
}
|
|
|
|
// Token: 0x0600BFA6 RID: 49062 RVA: 0x00398194 File Offset: 0x00396394
|
|
public void LNIEGJGBGMF(PhotonView CAANMEBEOIJ)
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[1] = CAANMEBEOIJ.HNPFGGAKNPI();
|
|
OOKHEEKOHMJ ookheekohmj = new OOKHEEKOHMJ
|
|
{
|
|
AJFELBMHOMI = (GMGGPAHOGHH)8
|
|
};
|
|
this.KJAECGPGJBO(54, hashtable, true, ookheekohmj);
|
|
}
|
|
|
|
// Token: 0x0600BFA7 RID: 49063 RVA: 0x003981DC File Offset: 0x003963DC
|
|
public override bool Connect(string IHMNHKKKLMM, string DNIMDPKHAMP)
|
|
{
|
|
Debug.LogError("Avoid using this directly. Thanks.");
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x0600BFA8 RID: 49064 RVA: 0x003981EC File Offset: 0x003963EC
|
|
private void LLCLNGLCLFM(AutoResetEvent JDOIICGEELD, Func<bool> HJNJOGJJMOF)
|
|
{
|
|
try
|
|
{
|
|
for (;;)
|
|
{
|
|
JDOIICGEELD.WaitOne();
|
|
if (this.FBNIOECNIIK)
|
|
{
|
|
break;
|
|
}
|
|
try
|
|
{
|
|
while (HJNJOGJJMOF())
|
|
{
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
Debug.LogException(ex);
|
|
}
|
|
}
|
|
}
|
|
catch (Exception ex2)
|
|
{
|
|
Debug.LogException(ex2);
|
|
}
|
|
finally
|
|
{
|
|
JDOIICGEELD.Close();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFA9 RID: 49065 RVA: 0x00398278 File Offset: 0x00396478
|
|
private object[] BPEHOONHLJG(object[] NNDCCKHNJGO, object[] LMJJGPGCELH)
|
|
{
|
|
if (!(bool)LMJJGPGCELH[1])
|
|
{
|
|
return LMJJGPGCELH;
|
|
}
|
|
if (NNDCCKHNJGO == null)
|
|
{
|
|
return null;
|
|
}
|
|
int[] array = LMJJGPGCELH[2] as int[];
|
|
for (int i = 3; i < LMJJGPGCELH.Length; i++)
|
|
{
|
|
if (array == null || !array.KFLBKDPEHEN(i))
|
|
{
|
|
if (LMJJGPGCELH[i] == null)
|
|
{
|
|
object obj = NNDCCKHNJGO[i];
|
|
LMJJGPGCELH[i] = obj;
|
|
}
|
|
}
|
|
}
|
|
return LMJJGPGCELH;
|
|
}
|
|
|
|
// Token: 0x0600BFAA RID: 49066 RVA: 0x003982E4 File Offset: 0x003964E4
|
|
internal void IDMIPHEJBEI(CCNBAFJLBCH NOBAPCOKFIL)
|
|
{
|
|
this.<CLOEANPAPII>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600BFAB RID: 49067 RVA: 0x003982F0 File Offset: 0x003964F0
|
|
private bool PMHCONDJFAF()
|
|
{
|
|
this.OJMHLANFCKE = true;
|
|
IHFKMIAHBFP.IIEECFNOOFK(IHFKMIAHBFP.PBKGCAGGOLJ.Protocol);
|
|
this.OAHLGOAFGDN(this.NOGOHDAEBCJ);
|
|
bool flag = base.Connect(this.PNENAEJOEEM, this.PGJOKBGHNGK, this.EPMGJCMBPGP);
|
|
if (flag)
|
|
{
|
|
NIPLONJCJIF nogohdaebcj = this.NOGOHDAEBCJ;
|
|
if (nogohdaebcj != NIPLONJCJIF.NameServer)
|
|
{
|
|
if (nogohdaebcj != NIPLONJCJIF.MasterServer)
|
|
{
|
|
if (nogohdaebcj == NIPLONJCJIF.GameServer)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToGameserver;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToMasterserver;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToNameServer;
|
|
}
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x0600BFAC RID: 49068 RVA: 0x00398388 File Offset: 0x00396588
|
|
private void PGMNBOHLLPJ(Action HJNJOGJJMOF)
|
|
{
|
|
object jhkfnilodgp = this.JHKFNILODGP;
|
|
lock (jhkfnilodgp)
|
|
{
|
|
this.JHKFNILODGP.Enqueue(HJNJOGJJMOF);
|
|
}
|
|
}
|
|
|
|
// Token: 0x170004B8 RID: 1208
|
|
// (get) Token: 0x0600BFD3 RID: 49107 RVA: 0x00399628 File Offset: 0x00397828
|
|
// (set) Token: 0x0600BFAD RID: 49069 RVA: 0x003983CC File Offset: 0x003965CC
|
|
public int KGNOCLMAHIB { get; internal set; }
|
|
|
|
// Token: 0x0600BFAE RID: 49070 RVA: 0x003983D8 File Offset: 0x003965D8
|
|
private void GDFCLGGODLG(int BADMPMDONAH, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
this.MFOKJIFJOHC.Remove(BADMPMDONAH);
|
|
if (!JEFGMHBLLKI.IPFPJCPGENH)
|
|
{
|
|
this.HFKBEFHDICJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFAF RID: 49071 RVA: 0x003983F8 File Offset: 0x003965F8
|
|
private void HGCIPGCILLD()
|
|
{
|
|
this.LLCLNGLCLFM(this.IEMFIKMJHIK, new Func<bool>(base.SendOutgoingCommands));
|
|
}
|
|
|
|
// Token: 0x0600BFB0 RID: 49072 RVA: 0x00398414 File Offset: 0x00396614
|
|
private void ADDGAEBBIBP(int LHBKFFLFHNK, int HNJMBEFCJMN, bool IDPCJAALILK)
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[0] = LHBKFFLFHNK;
|
|
OOKHEEKOHMJ ookheekohmj = new OOKHEEKOHMJ();
|
|
ookheekohmj.AJFELBMHOMI = GMGGPAHOGHH.MergeCache;
|
|
OOKHEEKOHMJ ookheekohmj2 = ookheekohmj;
|
|
int[] array = new int[1];
|
|
array[1] = HNJMBEFCJMN;
|
|
ookheekohmj2.ACHIAIGIEKL = array;
|
|
OOKHEEKOHMJ ookheekohmj3 = ookheekohmj;
|
|
this.KJAECGPGJBO((byte)(-185), hashtable, true, ookheekohmj3);
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable2[0] = LHBKFFLFHNK;
|
|
ookheekohmj3 = null;
|
|
if (!IDPCJAALILK)
|
|
{
|
|
ookheekohmj3 = new OOKHEEKOHMJ();
|
|
ookheekohmj3.AJFELBMHOMI = GMGGPAHOGHH.DoNotCache;
|
|
Debug.Log("Cant send PickupItem spawn times to unknown targetPlayer." + LHBKFFLFHNK);
|
|
}
|
|
this.JDKEEKDOLHJ((byte)(-125), hashtable2, true, ookheekohmj3);
|
|
}
|
|
|
|
// Token: 0x0600BFB1 RID: 49073 RVA: 0x003984B8 File Offset: 0x003966B8
|
|
public void AALAJDFBPJK(int OFIAAHIIIJD)
|
|
{
|
|
OOKHEEKOHMJ ookheekohmj = new OOKHEEKOHMJ
|
|
{
|
|
AJFELBMHOMI = GMGGPAHOGHH.RemoveFromRoomCache,
|
|
ACHIAIGIEKL = new int[] { OFIAAHIIIJD }
|
|
};
|
|
this.JDKEEKDOLHJ(200, null, true, ookheekohmj);
|
|
}
|
|
|
|
// Token: 0x0600BFB3 RID: 49075 RVA: 0x0039856C File Offset: 0x0039676C
|
|
protected internal LNJFBGIBLHA LAKLKNLMCMH(int DNIFODKLLOL)
|
|
{
|
|
if (this.MFOKJIFJOHC == null)
|
|
{
|
|
return null;
|
|
}
|
|
LNJFBGIBLHA lnjfbgiblha = null;
|
|
this.MFOKJIFJOHC.TryGetValue(DNIFODKLLOL, out lnjfbgiblha);
|
|
return lnjfbgiblha;
|
|
}
|
|
|
|
// Token: 0x0600BFB4 RID: 49076 RVA: 0x00398598 File Offset: 0x00396798
|
|
private bool ABBHNJGGAIG()
|
|
{
|
|
this.OJMHLANFCKE = false;
|
|
IHFKMIAHBFP.IIEECFNOOFK(IHFKMIAHBFP.PBKGCAGGOLJ.Protocol);
|
|
this.OAHLGOAFGDN(this.NOGOHDAEBCJ);
|
|
bool flag = base.Connect(this.PNENAEJOEEM, this.PGJOKBGHNGK, this.KOJGIONGKNB());
|
|
if (flag)
|
|
{
|
|
NIPLONJCJIF nogohdaebcj = this.NOGOHDAEBCJ;
|
|
if (nogohdaebcj != (NIPLONJCJIF)3)
|
|
{
|
|
if (nogohdaebcj != NIPLONJCJIF.MasterServer)
|
|
{
|
|
if (nogohdaebcj == NIPLONJCJIF.MasterServer)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectedToGameserver;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.IDMIPHEJBEI((CCNBAFJLBCH)(-81));
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = (CCNBAFJLBCH)115;
|
|
}
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x170004BE RID: 1214
|
|
// (get) Token: 0x0600BFFB RID: 49147 RVA: 0x0039B850 File Offset: 0x00399A50
|
|
// (set) Token: 0x0600BFB5 RID: 49077 RVA: 0x00398630 File Offset: 0x00396830
|
|
public int IDFONHMBFFO
|
|
{
|
|
get
|
|
{
|
|
if (IHFKMIAHBFP.HCOPIOOOFMN)
|
|
{
|
|
return this.JJOPMICJNMB.BADMPMDONAH;
|
|
}
|
|
return (this.NNCLHENEJDI != null) ? this.NNCLHENEJDI.LPCHKMNOGFJ : 0;
|
|
}
|
|
private set
|
|
{
|
|
if (this.NNCLHENEJDI != null)
|
|
{
|
|
this.NNCLHENEJDI.LPCHKMNOGFJ = value;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFB6 RID: 49078 RVA: 0x0039864C File Offset: 0x0039684C
|
|
public bool KFHDHGPPPKP(NAMOHKJGILD KJGDIHMCJJA)
|
|
{
|
|
bool flag = this.CONBCJADCAO == NIPLONJCJIF.GameServer;
|
|
KJGDIHMCJJA.HMPOKNOAHHI = flag;
|
|
KJGDIHMCJJA.CKFILGNKPJC = this.MEGEBCLPMBH();
|
|
if (!flag)
|
|
{
|
|
this.KFLPHAFFMAL = KJGDIHMCJJA;
|
|
}
|
|
this.BCEOKIDFFCN = BMBIMJIMFLA.CreateRoom;
|
|
return base.EHAHDLNMOOH(KJGDIHMCJJA);
|
|
}
|
|
|
|
// Token: 0x0600BFB7 RID: 49079 RVA: 0x00398694 File Offset: 0x00396894
|
|
private void EPAJOGNHEOI(ExitGames.Client.Photon.Hashtable BDNJIFFKFBL, ExitGames.Client.Photon.Hashtable CFJKJFLEPAK, int MOHAMBKGHOB)
|
|
{
|
|
if (CFJKJFLEPAK != null && CFJKJFLEPAK.Count > 0)
|
|
{
|
|
if (MOHAMBKGHOB > 0)
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = this.LAKLKNLMCMH(MOHAMBKGHOB);
|
|
if (lnjfbgiblha != null)
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = this.LALHLEKEJOB(CFJKJFLEPAK, MOHAMBKGHOB);
|
|
lnjfbgiblha.KAOPACPDHFG(hashtable);
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonPlayerPropertiesChanged, new object[] { lnjfbgiblha, hashtable });
|
|
}
|
|
}
|
|
else
|
|
{
|
|
foreach (object obj in CFJKJFLEPAK.Keys)
|
|
{
|
|
int num = (int)obj;
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = (ExitGames.Client.Photon.Hashtable)CFJKJFLEPAK[obj];
|
|
string text = (string)hashtable2[byte.MaxValue];
|
|
LNJFBGIBLHA lnjfbgiblha2 = this.LAKLKNLMCMH(num);
|
|
if (lnjfbgiblha2 == null)
|
|
{
|
|
lnjfbgiblha2 = new LNJFBGIBLHA(false, num, text);
|
|
this.KPDJJNPGAML(num, lnjfbgiblha2);
|
|
}
|
|
lnjfbgiblha2.KAOPACPDHFG(hashtable2);
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonPlayerPropertiesChanged, new object[] { lnjfbgiblha2, hashtable2 });
|
|
}
|
|
}
|
|
}
|
|
if (this.NNCLHENEJDI != null && BDNJIFFKFBL != null)
|
|
{
|
|
this.NNCLHENEJDI.KAOPACPDHFG(BDNJIFFKFBL);
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonCustomRoomPropertiesChanged, new object[] { BDNJIFFKFBL });
|
|
if (IHFKMIAHBFP.DFHAJGGDIPJ)
|
|
{
|
|
this.DJEAOCBFNFI();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFB8 RID: 49080 RVA: 0x003987EC File Offset: 0x003969EC
|
|
private void OABKOHDGLDA()
|
|
{
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.Joining)
|
|
{
|
|
this.LFOOGKDCHAK = true;
|
|
return;
|
|
}
|
|
if (this.JJOPMICJNMB != null)
|
|
{
|
|
this.JJOPMICJNMB.KODHOHBEAOP = this.GNLMCJKALBJ;
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[byte.MaxValue] = this.GNLMCJKALBJ;
|
|
if (this.JJOPMICJNMB.BADMPMDONAH > 0)
|
|
{
|
|
base.MCDHMAKDIBF(this.JJOPMICJNMB.BADMPMDONAH, hashtable, null, false);
|
|
this.LFOOGKDCHAK = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFB9 RID: 49081 RVA: 0x00398874 File Offset: 0x00396A74
|
|
private void NFLJOCLBECF()
|
|
{
|
|
while (IHFKMIAHBFP.NHJBLPIHMFN && this.JHKFNILODGP.Count > 0)
|
|
{
|
|
Action action = null;
|
|
object jhkfnilodgp = this.JHKFNILODGP;
|
|
lock (jhkfnilodgp)
|
|
{
|
|
action = this.JHKFNILODGP.Dequeue();
|
|
}
|
|
action();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFBA RID: 49082 RVA: 0x003988E0 File Offset: 0x00396AE0
|
|
public OCEOOCJEKDD KLPPJMGBDDH()
|
|
{
|
|
return this.<OADDHLLCPDE>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600BFBB RID: 49083 RVA: 0x003988E8 File Offset: 0x00396AE8
|
|
private void LEGCMOFDLBP(int ILFOHLJBEJN)
|
|
{
|
|
this.GGOAGLFKHDB.Remove(ILFOHLJBEJN);
|
|
}
|
|
|
|
// Token: 0x0600BFBC RID: 49084 RVA: 0x003988F8 File Offset: 0x00396AF8
|
|
private void IJEPDLJHNDM(int HEKHDJEMLJC)
|
|
{
|
|
OOKHEEKOHMJ ookheekohmj = new OOKHEEKOHMJ
|
|
{
|
|
AJFELBMHOMI = GMGGPAHOGHH.RemoveFromRoomCache,
|
|
ACHIAIGIEKL = new int[] { HEKHDJEMLJC }
|
|
};
|
|
this.JDKEEKDOLHJ(202, null, true, ookheekohmj);
|
|
}
|
|
|
|
// Token: 0x0600BFBE RID: 49086 RVA: 0x00398940 File Offset: 0x00396B40
|
|
private void NLBJJOMCJML(int DHOGCJBAPOG)
|
|
{
|
|
bool flag = this.IDFONHMBFFO == DHOGCJBAPOG;
|
|
bool flag2 = DHOGCJBAPOG > 1;
|
|
if (flag2 && !flag)
|
|
{
|
|
return;
|
|
}
|
|
int num;
|
|
if (this.MFOKJIFJOHC.Count <= 0)
|
|
{
|
|
num = this.LDFLPFGFAPA().BADMPMDONAH;
|
|
}
|
|
else
|
|
{
|
|
num = -131;
|
|
foreach (int num2 in this.MFOKJIFJOHC.Keys)
|
|
{
|
|
if (num2 < num && num2 != DHOGCJBAPOG)
|
|
{
|
|
num = num2;
|
|
}
|
|
}
|
|
}
|
|
this.LNAPPKHMLCI(num);
|
|
if (flag2)
|
|
{
|
|
HCPAJHOGHMM hcpajhoghmm = HCPAJHOGHMM.OnConnectedToPhoton;
|
|
object[] array = new object[1];
|
|
array[1] = this.GECLOIKPGGH(num);
|
|
BEIKFLMNLCB.LBACGEMNLLP(hcpajhoghmm, array);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFBF RID: 49087 RVA: 0x00398A14 File Offset: 0x00396C14
|
|
private void EPEGEFEOIAG(int ILFOHLJBEJN)
|
|
{
|
|
this.GGOAGLFKHDB.Remove(ILFOHLJBEJN);
|
|
}
|
|
|
|
// Token: 0x0600BFC0 RID: 49088 RVA: 0x00398A24 File Offset: 0x00396C24
|
|
public virtual bool CHEDKPPMJHB(NAMOHKJGILD BCIIENBBKPD)
|
|
{
|
|
bool flag = this.JOJNBLLNAII() == NIPLONJCJIF.MasterServer;
|
|
BCIIENBBKPD.HMPOKNOAHHI = flag;
|
|
if (!flag)
|
|
{
|
|
this.KFLPHAFFMAL = BCIIENBBKPD;
|
|
}
|
|
this.BCEOKIDFFCN = ((!BCIIENBBKPD.JJBAMKIPHII) ? BMBIMJIMFLA.JoinRoom : ((BMBIMJIMFLA)4));
|
|
return base.EFJGPNGJNAK(BCIIENBBKPD);
|
|
}
|
|
|
|
// Token: 0x0600BFC1 RID: 49089 RVA: 0x00398A70 File Offset: 0x00396C70
|
|
private ExitGames.Client.Photon.Hashtable MEGEBCLPMBH()
|
|
{
|
|
if (IHFKMIAHBFP.JEFGMHBLLKI != null)
|
|
{
|
|
return IHFKMIAHBFP.JEFGMHBLLKI.CFADIADAGEC;
|
|
}
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[byte.MaxValue] = this.GNLMCJKALBJ;
|
|
return hashtable;
|
|
}
|
|
|
|
// Token: 0x0600BFC2 RID: 49090 RVA: 0x00398AB0 File Offset: 0x00396CB0
|
|
public EDGDNCCLDBN BKPOLJGCGFO()
|
|
{
|
|
return this.<DMNFBJLAIIH>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600BFC3 RID: 49091 RVA: 0x00398AB8 File Offset: 0x00396CB8
|
|
private ExitGames.Client.Photon.Hashtable LEFLKPIAKHN()
|
|
{
|
|
if (IHFKMIAHBFP.JEFGMHBLLKI != null)
|
|
{
|
|
return IHFKMIAHBFP.JEFGMHBLLKI.DDABCLAAOOH();
|
|
}
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[(byte)(-3)] = this.GNLMCJKALBJ;
|
|
return hashtable;
|
|
}
|
|
|
|
// Token: 0x0600BFC4 RID: 49092 RVA: 0x00398AF8 File Offset: 0x00396CF8
|
|
private void OMBNEEBMLNI(OperationResponse IMDHCINGADG)
|
|
{
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
byte operationCode = IMDHCINGADG.OperationCode;
|
|
if (operationCode != 81)
|
|
{
|
|
if (operationCode != 43)
|
|
{
|
|
if (operationCode == 97)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.ErrorsOnly)
|
|
{
|
|
Debug.Log("OpGetGameList()" + IMDHCINGADG.DebugMessage);
|
|
if (IMDHCINGADG.ReturnCode == -16)
|
|
{
|
|
Debug.Log("namedcolorvalue");
|
|
}
|
|
}
|
|
HCPAJHOGHMM hcpajhoghmm = (HCPAJHOGHMM)(-109);
|
|
object[] array = new object[8];
|
|
array[0] = IMDHCINGADG.ReturnCode;
|
|
array[0] = IMDHCINGADG.DebugMessage;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(hcpajhoghmm, array);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log("Error sending friend request:" + IMDHCINGADG.DebugMessage);
|
|
if (IMDHCINGADG.ReturnCode == 54)
|
|
{
|
|
Debug.Log("OK");
|
|
}
|
|
}
|
|
HCPAJHOGHMM hcpajhoghmm2 = HCPAJHOGHMM.OnPhotonJoinRoomFailed;
|
|
object[] array2 = new object[0];
|
|
array2[0] = IMDHCINGADG.ReturnCode;
|
|
array2[0] = IMDHCINGADG.DebugMessage;
|
|
BEIKFLMNLCB.LBACGEMNLLP(hcpajhoghmm2, array2);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log("The host has unrestricted invitations" + IMDHCINGADG.DebugMessage);
|
|
}
|
|
HCPAJHOGHMM hcpajhoghmm3 = HCPAJHOGHMM.OnPhotonCreateRoomFailed;
|
|
object[] array3 = new object[8];
|
|
array3[0] = IMDHCINGADG.ReturnCode;
|
|
array3[1] = IMDHCINGADG.DebugMessage;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(hcpajhoghmm3, array3);
|
|
}
|
|
this.FJDMJGIODGI();
|
|
return;
|
|
}
|
|
PLOPPLAOICD plopplaoicd = new PLOPPLAOICD(this.KFLPHAFFMAL.IBLFNFKBOOG, null);
|
|
plopplaoicd.AOJMBBDBEAE(true);
|
|
this.NNCLHENEJDI = plopplaoicd;
|
|
this.FBBMOMHACLA = (CCNBAFJLBCH)64;
|
|
if (IMDHCINGADG.Parameters.ContainsKey(43))
|
|
{
|
|
int[] array4 = (int[])IMDHCINGADG.Parameters[(byte)(-162)];
|
|
this.KBIMCBHHKOM(array4);
|
|
}
|
|
int num = (int)IMDHCINGADG[97];
|
|
this.FMIIDOFMEHN(num);
|
|
ExitGames.Client.Photon.Hashtable hashtable = (ExitGames.Client.Photon.Hashtable)IMDHCINGADG[(byte)(-43)];
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = (ExitGames.Client.Photon.Hashtable)IMDHCINGADG[178];
|
|
this.EPAJOGNHEOI(hashtable2, hashtable, 1);
|
|
if (!this.FDIGCECCGIL().DEPHKHIDDGJ)
|
|
{
|
|
this.KCDJJHFDGKG(-1);
|
|
}
|
|
if (this.LFOOGKDCHAK)
|
|
{
|
|
this.OABKOHDGLDA();
|
|
}
|
|
byte operationCode2 = IMDHCINGADG.OperationCode;
|
|
if (operationCode2 != 190)
|
|
{
|
|
if (operationCode2 != 56 && operationCode2 != 164)
|
|
{
|
|
}
|
|
}
|
|
else
|
|
{
|
|
BEIKFLMNLCB.LBACGEMNLLP(HCPAJHOGHMM.OnMasterClientSwitched, new object[0]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFC5 RID: 49093 RVA: 0x00398D64 File Offset: 0x00396F64
|
|
protected internal LNJFBGIBLHA GGFGCLDDFAA(int DNIFODKLLOL)
|
|
{
|
|
if (this.MFOKJIFJOHC == null)
|
|
{
|
|
return null;
|
|
}
|
|
LNJFBGIBLHA lnjfbgiblha = null;
|
|
this.MFOKJIFJOHC.TryGetValue(DNIFODKLLOL, out lnjfbgiblha);
|
|
return lnjfbgiblha;
|
|
}
|
|
|
|
// Token: 0x170004B3 RID: 1203
|
|
// (get) Token: 0x0600BFC6 RID: 49094 RVA: 0x00398D90 File Offset: 0x00396F90
|
|
private bool CHLLBIBJPAN
|
|
{
|
|
get
|
|
{
|
|
return IHFKMIAHBFP.FGCEBOPPDHG && this.CONBCJADCAO == NIPLONJCJIF.MasterServer;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFC7 RID: 49095 RVA: 0x00398DA8 File Offset: 0x00396FA8
|
|
public void ICGNJBCKHHB(DebugLevel JOPHNBFKLCM, string NFAFJOMABOK)
|
|
{
|
|
this.KLBLFICDMNN(JOPHNBFKLCM, NFAFJOMABOK);
|
|
}
|
|
|
|
// Token: 0x0600BFC8 RID: 49096 RVA: 0x00398DB4 File Offset: 0x00396FB4
|
|
public void FGGGOPBACME(OCEOOCJEKDD NOBAPCOKFIL)
|
|
{
|
|
this.<OADDHLLCPDE>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600BFC9 RID: 49097 RVA: 0x00398DC0 File Offset: 0x00396FC0
|
|
public void DDEONDJIHNF(short LJGEAILPJJP)
|
|
{
|
|
this.CIMNHNOABOM = LJGEAILPJJP;
|
|
}
|
|
|
|
// Token: 0x170004AA RID: 1194
|
|
// (get) Token: 0x0600BFCA RID: 49098 RVA: 0x00398DCC File Offset: 0x00396FCC
|
|
// (set) Token: 0x0600C05F RID: 49247 RVA: 0x0039FD24 File Offset: 0x0039DF24
|
|
public OCEOOCJEKDD FALGIDIFGKO { get; set; }
|
|
|
|
// Token: 0x0600BFCB RID: 49099 RVA: 0x00398DD4 File Offset: 0x00396FD4
|
|
private object[] BLJPKKKCDFJ(PhotonView CAANMEBEOIJ)
|
|
{
|
|
if (CAANMEBEOIJ.synchronization == FHIIDMDFFMG.Off)
|
|
{
|
|
return null;
|
|
}
|
|
BOCLHJCCOEL boclhjccoel = new BOCLHJCCOEL(this.LDFLPFGFAPA(), IHFKMIAHBFP.EMGOIJNLLID, CAANMEBEOIJ);
|
|
this.DOFNMNAHHMK.KFHOODBBENL();
|
|
this.DOFNMNAHHMK.NCELHBANFFO(null);
|
|
this.DOFNMNAHHMK.LCLGLEJGLJE(null);
|
|
this.DOFNMNAHHMK.PIAIMPBEABJ(null);
|
|
CAANMEBEOIJ.SerializeView(this.DOFNMNAHHMK, boclhjccoel);
|
|
if (this.DOFNMNAHHMK.MJIPNFFGEDD() <= 8)
|
|
{
|
|
return null;
|
|
}
|
|
object[] array = this.DOFNMNAHHMK.GEFFEAHKFHB();
|
|
array[1] = CAANMEBEOIJ.ADMBCINHJOG;
|
|
array[0] = false;
|
|
array[2] = null;
|
|
if (CAANMEBEOIJ.synchronization == FHIIDMDFFMG.UnreliableOnChange)
|
|
{
|
|
return array;
|
|
}
|
|
if (CAANMEBEOIJ.synchronization == FHIIDMDFFMG.UnreliableOnChange)
|
|
{
|
|
if (this.ACFGMENMKDH(array, CAANMEBEOIJ.HIOBIAOAAGF))
|
|
{
|
|
if (CAANMEBEOIJ.GLPJKCLHEMI)
|
|
{
|
|
return null;
|
|
}
|
|
CAANMEBEOIJ.GLPJKCLHEMI = true;
|
|
CAANMEBEOIJ.HIOBIAOAAGF = array;
|
|
}
|
|
else
|
|
{
|
|
CAANMEBEOIJ.GLPJKCLHEMI = true;
|
|
CAANMEBEOIJ.HIOBIAOAAGF = array;
|
|
}
|
|
return array;
|
|
}
|
|
if (CAANMEBEOIJ.synchronization == FHIIDMDFFMG.Off)
|
|
{
|
|
object[] array2 = this.NOGHOJCNGHP(CAANMEBEOIJ.HIOBIAOAAGF, array);
|
|
CAANMEBEOIJ.HIOBIAOAAGF = array;
|
|
return array2;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600BFCC RID: 49100 RVA: 0x00398EF8 File Offset: 0x003970F8
|
|
private static int CFIDBEGLIEO(LNJFBGIBLHA[] PNBCBLCCKJN, int PHHLDNDHHAO)
|
|
{
|
|
if (PNBCBLCCKJN == null || PNBCBLCCKJN.Length == 0)
|
|
{
|
|
return -1;
|
|
}
|
|
int num = 141;
|
|
for (int i = 1; i < PNBCBLCCKJN.Length; i += 0)
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = PNBCBLCCKJN[i];
|
|
if (lnjfbgiblha.BADMPMDONAH != PHHLDNDHHAO)
|
|
{
|
|
if (lnjfbgiblha.BADMPMDONAH < num)
|
|
{
|
|
num = lnjfbgiblha.BADMPMDONAH;
|
|
}
|
|
}
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x0600BFCD RID: 49101 RVA: 0x00398F58 File Offset: 0x00397158
|
|
private void JBIBEAJEFKG()
|
|
{
|
|
foreach (PhotonView photonView in this.HOFNDCMODDM.Values)
|
|
{
|
|
photonView.HIOBIAOAAGF = null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFCE RID: 49102 RVA: 0x00398FBC File Offset: 0x003971BC
|
|
public PhotonView AOHNIHDFANN(int ADMBCINHJOG)
|
|
{
|
|
PhotonView photonView = null;
|
|
this.HOFNDCMODDM.TryGetValue(ADMBCINHJOG, out photonView);
|
|
return photonView;
|
|
}
|
|
|
|
// Token: 0x0600BFCF RID: 49103 RVA: 0x00398FDC File Offset: 0x003971DC
|
|
public bool NHHBNCKICGL(string IHMNHKKKLMM, NIPLONJCJIF ANNBGHOPFBN)
|
|
{
|
|
if (PhotonHandler.COPLPHCJJKA)
|
|
{
|
|
Debug.LogWarning("Ignoring Connect() because app gets closed. If this is an error, check PhotonHandler.AppQuits.");
|
|
return false;
|
|
}
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.Disconnecting)
|
|
{
|
|
Debug.LogError("Connect() failed. Can't connect while disconnecting (still). Current state: " + IHFKMIAHBFP.HNNLADDGHKC);
|
|
return false;
|
|
}
|
|
this.NOGOHDAEBCJ = ANNBGHOPFBN;
|
|
this.PNENAEJOEEM = IHMNHKKKLMM;
|
|
this.PGJOKBGHNGK = string.Empty;
|
|
this.OAHLGOAFGDN(ANNBGHOPFBN);
|
|
bool flag = base.Connect(IHMNHKKKLMM, string.Empty, this.EPMGJCMBPGP);
|
|
if (flag)
|
|
{
|
|
if (ANNBGHOPFBN != NIPLONJCJIF.NameServer)
|
|
{
|
|
if (ANNBGHOPFBN != NIPLONJCJIF.MasterServer)
|
|
{
|
|
if (ANNBGHOPFBN == NIPLONJCJIF.GameServer)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToGameserver;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToMasterserver;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToNameServer;
|
|
}
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x0600BFD0 RID: 49104 RVA: 0x003990A0 File Offset: 0x003972A0
|
|
protected internal LNJFBGIBLHA GECLOIKPGGH(int DNIFODKLLOL)
|
|
{
|
|
if (this.MFOKJIFJOHC == null)
|
|
{
|
|
return null;
|
|
}
|
|
LNJFBGIBLHA lnjfbgiblha = null;
|
|
this.MFOKJIFJOHC.TryGetValue(DNIFODKLLOL, out lnjfbgiblha);
|
|
return lnjfbgiblha;
|
|
}
|
|
|
|
// Token: 0x0600BFD1 RID: 49105 RVA: 0x003990CC File Offset: 0x003972CC
|
|
private bool ADDGKDBKOIO(ParameterInfo[] HKPHKHJBLPG, Type[] ONFCOONLDJO)
|
|
{
|
|
if (HKPHKHJBLPG.Length < ONFCOONLDJO.Length)
|
|
{
|
|
return false;
|
|
}
|
|
for (int i = 0; i < ONFCOONLDJO.Length; i++)
|
|
{
|
|
Type parameterType = HKPHKHJBLPG[i].ParameterType;
|
|
if (ONFCOONLDJO[i] != null && !parameterType.IsAssignableFrom(ONFCOONLDJO[i]) && (!parameterType.IsEnum || !Enum.GetUnderlyingType(parameterType).IsAssignableFrom(ONFCOONLDJO[i])))
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600BFD2 RID: 49106 RVA: 0x0039913C File Offset: 0x0039733C
|
|
public void JDKECDGINNK()
|
|
{
|
|
if (!IHFKMIAHBFP.PMKOLKDPDGH || IHFKMIAHBFP.HCOPIOOOFMN || this.MFOKJIFJOHC == null)
|
|
{
|
|
return;
|
|
}
|
|
if (this.MFOKJIFJOHC.Count <= 1)
|
|
{
|
|
return;
|
|
}
|
|
int num = 0;
|
|
this.IDKHICEFBDO.CGEIHDMHIIE();
|
|
List<int> list = null;
|
|
foreach (KeyValuePair<int, PhotonView> keyValuePair in this.HOFNDCMODDM)
|
|
{
|
|
PhotonView value = keyValuePair.Value;
|
|
if (value == null)
|
|
{
|
|
string text = "PhotonView with ID {0} wasn't properly unregistered! Please report this case to developer@photonengine.com";
|
|
Dictionary<int, PhotonView>.Enumerator enumerator;
|
|
KeyValuePair<int, PhotonView> keyValuePair2 = enumerator.Current;
|
|
Debug.LogError(string.Format(text, keyValuePair2.Key));
|
|
if (list == null)
|
|
{
|
|
list = new List<int>(4);
|
|
}
|
|
List<int> list2 = list;
|
|
KeyValuePair<int, PhotonView> keyValuePair3 = enumerator.Current;
|
|
list2.Add(keyValuePair3.Key);
|
|
}
|
|
else if (value.synchronization != FHIIDMDFFMG.Off && value.MOMLGEKNPGN && value.gameObject.activeInHierarchy)
|
|
{
|
|
if (!this.AGFINJBBNKC.Contains(value.group))
|
|
{
|
|
object[] array = this.LPHJEAJLAEH(value);
|
|
if (array != null)
|
|
{
|
|
if (value.synchronization == FHIIDMDFFMG.ReliableDeltaCompressed || value.GLPJKCLHEMI)
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = null;
|
|
if (!this.FODJGCNMDHL.TryGetValue((int)value.group, out hashtable))
|
|
{
|
|
hashtable = new ExitGames.Client.Photon.Hashtable(BEIKFLMNLCB.OKGIEHDFHED);
|
|
this.FODJGCNMDHL[(int)value.group] = hashtable;
|
|
}
|
|
hashtable.Add((byte)(hashtable.Count + 10), array);
|
|
num++;
|
|
if (hashtable.Count >= BEIKFLMNLCB.OKGIEHDFHED)
|
|
{
|
|
num -= hashtable.Count;
|
|
this.IDKHICEFBDO.JDINIKMGDOE = value.group;
|
|
hashtable[0] = IHFKMIAHBFP.EMGOIJNLLID;
|
|
if (this.CIMNHNOABOM >= 0)
|
|
{
|
|
hashtable[1] = this.CIMNHNOABOM;
|
|
}
|
|
this.JDKEEKDOLHJ(206, hashtable, true, this.IDKHICEFBDO);
|
|
hashtable.Clear();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = null;
|
|
if (!this.APJLENMBNOF.TryGetValue((int)value.group, out hashtable2))
|
|
{
|
|
hashtable2 = new ExitGames.Client.Photon.Hashtable(BEIKFLMNLCB.OKGIEHDFHED);
|
|
this.APJLENMBNOF[(int)value.group] = hashtable2;
|
|
}
|
|
hashtable2.Add((byte)(hashtable2.Count + 10), array);
|
|
num++;
|
|
if (hashtable2.Count >= BEIKFLMNLCB.OKGIEHDFHED)
|
|
{
|
|
num -= hashtable2.Count;
|
|
this.IDKHICEFBDO.JDINIKMGDOE = value.group;
|
|
hashtable2[0] = IHFKMIAHBFP.EMGOIJNLLID;
|
|
if (this.CIMNHNOABOM >= 0)
|
|
{
|
|
hashtable2[1] = this.CIMNHNOABOM;
|
|
}
|
|
this.JDKEEKDOLHJ(201, hashtable2, false, this.IDKHICEFBDO);
|
|
hashtable2.Clear();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (list != null)
|
|
{
|
|
int i = 0;
|
|
int count = list.Count;
|
|
while (i < count)
|
|
{
|
|
this.HOFNDCMODDM.Remove(list[i]);
|
|
i++;
|
|
}
|
|
}
|
|
if (num == 0)
|
|
{
|
|
return;
|
|
}
|
|
foreach (int num2 in this.FODJGCNMDHL.Keys)
|
|
{
|
|
this.IDKHICEFBDO.JDINIKMGDOE = (byte)num2;
|
|
ExitGames.Client.Photon.Hashtable hashtable3 = this.FODJGCNMDHL[num2];
|
|
if (hashtable3.Count != 0)
|
|
{
|
|
hashtable3[0] = IHFKMIAHBFP.EMGOIJNLLID;
|
|
if (this.CIMNHNOABOM >= 0)
|
|
{
|
|
hashtable3[1] = this.CIMNHNOABOM;
|
|
}
|
|
this.JDKEEKDOLHJ(206, hashtable3, true, this.IDKHICEFBDO);
|
|
hashtable3.Clear();
|
|
}
|
|
}
|
|
foreach (int num3 in this.APJLENMBNOF.Keys)
|
|
{
|
|
this.IDKHICEFBDO.JDINIKMGDOE = (byte)num3;
|
|
ExitGames.Client.Photon.Hashtable hashtable4 = this.APJLENMBNOF[num3];
|
|
if (hashtable4.Count != 0)
|
|
{
|
|
hashtable4[0] = IHFKMIAHBFP.EMGOIJNLLID;
|
|
if (this.CIMNHNOABOM >= 0)
|
|
{
|
|
hashtable4[1] = this.CIMNHNOABOM;
|
|
}
|
|
this.JDKEEKDOLHJ(201, hashtable4, false, this.IDKHICEFBDO);
|
|
hashtable4.Clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFD4 RID: 49108 RVA: 0x00399630 File Offset: 0x00397830
|
|
private void AHBCJBAKOGN(PLOPPLAOICD NOBAPCOKFIL)
|
|
{
|
|
this.OAFHDGPBCPN = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600BFD5 RID: 49109 RVA: 0x0039963C File Offset: 0x0039783C
|
|
private void OANCCCGLJMJ(int DHOGCJBAPOG)
|
|
{
|
|
bool flag = this.IDFONHMBFFO == DHOGCJBAPOG;
|
|
bool flag2 = DHOGCJBAPOG > 1;
|
|
if (flag2 && !flag)
|
|
{
|
|
return;
|
|
}
|
|
int num;
|
|
if (this.MFOKJIFJOHC.Count <= 0)
|
|
{
|
|
num = this.JJOPMICJNMB.BADMPMDONAH;
|
|
}
|
|
else
|
|
{
|
|
num = 59;
|
|
foreach (int num2 in this.MFOKJIFJOHC.Keys)
|
|
{
|
|
if (num2 < num && num2 != DHOGCJBAPOG)
|
|
{
|
|
num = num2;
|
|
}
|
|
}
|
|
}
|
|
this.LNAPPKHMLCI(num);
|
|
if (flag2)
|
|
{
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnConnectedToPhoton, new object[] { this.GECLOIKPGGH(num) });
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFD6 RID: 49110 RVA: 0x00399710 File Offset: 0x00397910
|
|
public bool GJMPDLOKOPC()
|
|
{
|
|
if (PhotonHandler.COPLPHCJJKA)
|
|
{
|
|
Debug.LogWarning("Ignoring Connect() because app gets closed. If this is an error, check PhotonHandler.AppQuits.");
|
|
return false;
|
|
}
|
|
this.HAKDGBANGAJ = true;
|
|
this.DBBPBMAELJN = EDGDNCCLDBN.none;
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.ConnectedToNameServer)
|
|
{
|
|
return true;
|
|
}
|
|
this.OAHLGOAFGDN(NIPLONJCJIF.NameServer);
|
|
this.NOGOHDAEBCJ = NIPLONJCJIF.NameServer;
|
|
this.PNENAEJOEEM = this.BPDCJGOMNCD;
|
|
this.PGJOKBGHNGK = "ns";
|
|
if (!base.Connect(this.BPDCJGOMNCD, "ns", this.EPMGJCMBPGP))
|
|
{
|
|
return false;
|
|
}
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToNameServer;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600BFD7 RID: 49111 RVA: 0x0039979C File Offset: 0x0039799C
|
|
private void JLJCHNFFHFG()
|
|
{
|
|
this.LLCLNGLCLFM(this.GLFEMICKAHP, new Func<bool>(base.DispatchIncomingCommands));
|
|
}
|
|
|
|
// Token: 0x0600BFD8 RID: 49112 RVA: 0x003997B8 File Offset: 0x003979B8
|
|
public void LIEHOAHCGMK()
|
|
{
|
|
if (!IHFKMIAHBFP.PMKOLKDPDGH || IHFKMIAHBFP.HCOPIOOOFMN || this.MFOKJIFJOHC == null)
|
|
{
|
|
return;
|
|
}
|
|
if (this.MFOKJIFJOHC.Count <= 1)
|
|
{
|
|
return;
|
|
}
|
|
int num = 0;
|
|
this.IDKHICEFBDO.JFPGKPGKLED();
|
|
List<int> list = null;
|
|
foreach (KeyValuePair<int, PhotonView> keyValuePair in this.HOFNDCMODDM)
|
|
{
|
|
PhotonView value = keyValuePair.Value;
|
|
if (value == null)
|
|
{
|
|
string text = "Dolly Speed ({0:0.00})";
|
|
Dictionary<int, PhotonView>.Enumerator enumerator;
|
|
KeyValuePair<int, PhotonView> keyValuePair2 = enumerator.Current;
|
|
Debug.LogError(string.Format(text, keyValuePair2.Key));
|
|
if (list == null)
|
|
{
|
|
list = new List<int>(1);
|
|
}
|
|
List<int> list2 = list;
|
|
KeyValuePair<int, PhotonView> keyValuePair3 = enumerator.Current;
|
|
list2.Add(keyValuePair3.Key);
|
|
}
|
|
else if (value.synchronization != FHIIDMDFFMG.Off && value.MOMLGEKNPGN && value.gameObject.activeInHierarchy)
|
|
{
|
|
if (!this.AGFINJBBNKC.Contains(value.group))
|
|
{
|
|
object[] array = this.LPHJEAJLAEH(value);
|
|
if (array != null)
|
|
{
|
|
if (value.synchronization == FHIIDMDFFMG.ReliableDeltaCompressed || value.GLPJKCLHEMI)
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = null;
|
|
if (!this.FODJGCNMDHL.TryGetValue((int)value.group, out hashtable))
|
|
{
|
|
hashtable = new ExitGames.Client.Photon.Hashtable(BEIKFLMNLCB.OKGIEHDFHED);
|
|
this.FODJGCNMDHL[(int)value.group] = hashtable;
|
|
}
|
|
hashtable.Add((byte)(hashtable.Count + 25), array);
|
|
num += 0;
|
|
if (hashtable.Count >= BEIKFLMNLCB.OKGIEHDFHED)
|
|
{
|
|
num -= hashtable.Count;
|
|
this.IDKHICEFBDO.JDINIKMGDOE = value.group;
|
|
hashtable[1] = IHFKMIAHBFP.EMGOIJNLLID;
|
|
if (this.CIMNHNOABOM >= 0)
|
|
{
|
|
hashtable[0] = this.CIMNHNOABOM;
|
|
}
|
|
this.KJAECGPGJBO(104, hashtable, true, this.IDKHICEFBDO);
|
|
hashtable.Clear();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = null;
|
|
if (!this.APJLENMBNOF.TryGetValue((int)value.group, out hashtable2))
|
|
{
|
|
hashtable2 = new ExitGames.Client.Photon.Hashtable(BEIKFLMNLCB.OKGIEHDFHED);
|
|
this.APJLENMBNOF[(int)value.group] = hashtable2;
|
|
}
|
|
hashtable2.Add((byte)(hashtable2.Count + 79), array);
|
|
num += 0;
|
|
if (hashtable2.Count >= BEIKFLMNLCB.OKGIEHDFHED)
|
|
{
|
|
num -= hashtable2.Count;
|
|
this.IDKHICEFBDO.JDINIKMGDOE = value.group;
|
|
hashtable2[1] = IHFKMIAHBFP.EMGOIJNLLID;
|
|
if (this.CIMNHNOABOM >= 1)
|
|
{
|
|
hashtable2[0] = this.CIMNHNOABOM;
|
|
}
|
|
this.JDKEEKDOLHJ(190, hashtable2, true, this.IDKHICEFBDO);
|
|
hashtable2.Clear();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (list != null)
|
|
{
|
|
int i = 0;
|
|
int count = list.Count;
|
|
while (i < count)
|
|
{
|
|
this.HOFNDCMODDM.Remove(list[i]);
|
|
i++;
|
|
}
|
|
}
|
|
if (num == 0)
|
|
{
|
|
return;
|
|
}
|
|
foreach (int num2 in this.FODJGCNMDHL.Keys)
|
|
{
|
|
this.IDKHICEFBDO.JDINIKMGDOE = (byte)num2;
|
|
ExitGames.Client.Photon.Hashtable hashtable3 = this.FODJGCNMDHL[num2];
|
|
if (hashtable3.Count != 0)
|
|
{
|
|
hashtable3[0] = IHFKMIAHBFP.EMGOIJNLLID;
|
|
if (this.CIMNHNOABOM >= 1)
|
|
{
|
|
hashtable3[0] = this.CIMNHNOABOM;
|
|
}
|
|
this.JDKEEKDOLHJ(126, hashtable3, true, this.IDKHICEFBDO);
|
|
hashtable3.Clear();
|
|
}
|
|
}
|
|
foreach (int num3 in this.APJLENMBNOF.Keys)
|
|
{
|
|
this.IDKHICEFBDO.JDINIKMGDOE = (byte)num3;
|
|
ExitGames.Client.Photon.Hashtable hashtable4 = this.APJLENMBNOF[num3];
|
|
if (hashtable4.Count != 0)
|
|
{
|
|
hashtable4[0] = IHFKMIAHBFP.EMGOIJNLLID;
|
|
if (this.CIMNHNOABOM >= 1)
|
|
{
|
|
hashtable4[0] = this.CIMNHNOABOM;
|
|
}
|
|
this.KJAECGPGJBO((byte)(-144), hashtable4, true, this.IDKHICEFBDO);
|
|
hashtable4.Clear();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFD9 RID: 49113 RVA: 0x00399CA4 File Offset: 0x00397EA4
|
|
protected internal void DJGNPOFGJGG(string NOBAPCOKFIL)
|
|
{
|
|
this.<LMMFOKKLLNN>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600BFDA RID: 49114 RVA: 0x00399CB0 File Offset: 0x00397EB0
|
|
private void HLBIJNDPJLM(int BADMPMDONAH, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
if (!this.MFOKJIFJOHC.ContainsKey(BADMPMDONAH))
|
|
{
|
|
this.MFOKJIFJOHC[BADMPMDONAH] = JEFGMHBLLKI;
|
|
this.HFKBEFHDICJ();
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError("\" gets executed locally only, if at all." + BADMPMDONAH);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFDB RID: 49115 RVA: 0x00399CF0 File Offset: 0x00397EF0
|
|
private void EBLNECDNNDL()
|
|
{
|
|
this.FJGJMENHPNK(new ThreadStart(this.JLJCHNFFHFG), "Photon Background Incoming Worker");
|
|
this.FJGJMENHPNK(new ThreadStart(this.OBFENCGPMGN), "Photon Background Outgoing Worker");
|
|
}
|
|
|
|
// Token: 0x0600BFDC RID: 49116 RVA: 0x00399D20 File Offset: 0x00397F20
|
|
public void OEFBLIOBFLL()
|
|
{
|
|
if (IHFKMIAHBFP.AJBCHBMGEEN != null)
|
|
{
|
|
IHFKMIAHBFP.AJBCHBMGEEN = null;
|
|
}
|
|
List<int> list = new List<int>();
|
|
foreach (KeyValuePair<int, PhotonView> keyValuePair in this.HOFNDCMODDM)
|
|
{
|
|
PhotonView value = keyValuePair.Value;
|
|
if (value == null)
|
|
{
|
|
list.Add(keyValuePair.Key);
|
|
}
|
|
}
|
|
for (int i = 1; i < list.Count; i++)
|
|
{
|
|
int num = list[i];
|
|
this.HOFNDCMODDM.Remove(num);
|
|
}
|
|
if (list.Count > 0 && IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log("user_{0}_player" + list.Count + "ObscuredUShort:");
|
|
}
|
|
}
|
|
|
|
// Token: 0x170004AF RID: 1199
|
|
// (get) Token: 0x0600C011 RID: 49169 RVA: 0x0039CC00 File Offset: 0x0039AE00
|
|
// (set) Token: 0x0600BFDD RID: 49117 RVA: 0x00399E28 File Offset: 0x00398028
|
|
public string GNDNGCCNCGN { get; protected internal set; }
|
|
|
|
// Token: 0x0600BFDF RID: 49119 RVA: 0x00399E40 File Offset: 0x00398040
|
|
internal GameObject JJGBKMEINPL(ExitGames.Client.Photon.Hashtable EDEOBAEBDGH, LNJFBGIBLHA GGMIDKPEEME, GameObject GOPAAIHBJJJ)
|
|
{
|
|
string text = (string)EDEOBAEBDGH[1];
|
|
int num = (int)EDEOBAEBDGH[6];
|
|
int num2 = (int)EDEOBAEBDGH[4];
|
|
Vector3 vector;
|
|
if (EDEOBAEBDGH.ContainsKey(1))
|
|
{
|
|
vector = (Vector3)EDEOBAEBDGH[1];
|
|
}
|
|
else
|
|
{
|
|
vector = Vector3.zero;
|
|
}
|
|
Quaternion quaternion = Quaternion.identity;
|
|
if (EDEOBAEBDGH.ContainsKey(0))
|
|
{
|
|
quaternion = (Quaternion)EDEOBAEBDGH[4];
|
|
}
|
|
byte b = 0;
|
|
if (EDEOBAEBDGH.ContainsKey(3))
|
|
{
|
|
b = (byte)EDEOBAEBDGH[2];
|
|
}
|
|
short num3 = 0;
|
|
if (EDEOBAEBDGH.ContainsKey(8))
|
|
{
|
|
num3 = (short)EDEOBAEBDGH[6];
|
|
}
|
|
int[] array;
|
|
if (EDEOBAEBDGH.ContainsKey(3))
|
|
{
|
|
array = (int[])EDEOBAEBDGH[4];
|
|
}
|
|
else
|
|
{
|
|
int[] array2 = new int[0];
|
|
array2[1] = num2;
|
|
array = array2;
|
|
}
|
|
object[] array3;
|
|
if (EDEOBAEBDGH.ContainsKey(7))
|
|
{
|
|
array3 = (object[])EDEOBAEBDGH[7];
|
|
}
|
|
else
|
|
{
|
|
array3 = null;
|
|
}
|
|
if (b != 0 && !this.NPNHFPBEPDM.Contains(b))
|
|
{
|
|
return null;
|
|
}
|
|
if (this.LJGEDOAJPNM != null)
|
|
{
|
|
GameObject gameObject = this.LJGEDOAJPNM.ICHFNPOCOEJ(text, vector, quaternion);
|
|
PhotonView[] array4 = gameObject.LPMEIGACNLH();
|
|
if (array4.Length != array.Length)
|
|
{
|
|
throw new Exception("utm_campaign");
|
|
}
|
|
for (int i = 1; i < array4.Length; i += 0)
|
|
{
|
|
array4[i].GLCIAHLKOCJ = true;
|
|
array4[i].EKMMPMDPALC(1);
|
|
array4[i].ACJKNCOIOJO((int)num3);
|
|
array4[i].instantiationId = num2;
|
|
array4[i].isRuntimeInstantiated = false;
|
|
array4[i].FDIGLDJIHNG = array3;
|
|
array4[i].GLCIAHLKOCJ = true;
|
|
array4[i].EKMMPMDPALC(array[i]);
|
|
}
|
|
gameObject.SendMessage(BEIKFLMNLCB.MEDBPNLKPBO, new BOCLHJCCOEL(GGMIDKPEEME, num, null), SendMessageOptions.DontRequireReceiver);
|
|
return gameObject;
|
|
}
|
|
else
|
|
{
|
|
if (GOPAAIHBJJJ == null)
|
|
{
|
|
if (!BEIKFLMNLCB.CDGIBFNHDHJ || !BEIKFLMNLCB.CINJHLOMKIA.TryGetValue(text, out GOPAAIHBJJJ))
|
|
{
|
|
GOPAAIHBJJJ = (GameObject)Resources.Load(text, typeof(GameObject));
|
|
if (BEIKFLMNLCB.CDGIBFNHDHJ)
|
|
{
|
|
BEIKFLMNLCB.CINJHLOMKIA.Add(text, GOPAAIHBJJJ);
|
|
}
|
|
}
|
|
if (GOPAAIHBJJJ == null)
|
|
{
|
|
Debug.LogError("linkid" + text + "F2");
|
|
return null;
|
|
}
|
|
}
|
|
PhotonView[] array5 = GOPAAIHBJJJ.LPMEIGACNLH();
|
|
if (array5.Length != array.Length)
|
|
{
|
|
throw new Exception("#FF4040");
|
|
}
|
|
for (int j = 0; j < array.Length; j++)
|
|
{
|
|
array5[j].EKMMPMDPALC(array[j]);
|
|
array5[j].LJGEAILPJJP = (int)num3;
|
|
array5[j].instantiationId = num2;
|
|
array5[j].isRuntimeInstantiated = false;
|
|
}
|
|
this.GBGJAAMIFDL(num2, array3);
|
|
GameObject gameObject2 = global::UnityEngine.Object.Instantiate<GameObject>(GOPAAIHBJJJ, vector, quaternion);
|
|
for (int k = 1; k < array.Length; k += 0)
|
|
{
|
|
array5[k].EKMMPMDPALC(1);
|
|
array5[k].ACJKNCOIOJO(-1);
|
|
array5[k].prefixBackup = -1;
|
|
array5[k].instantiationId = -1;
|
|
array5[k].isRuntimeInstantiated = true;
|
|
}
|
|
this.EPEGEFEOIAG(num2);
|
|
gameObject2.SendMessage(BEIKFLMNLCB.MEDBPNLKPBO, new BOCLHJCCOEL(GGMIDKPEEME, num, null), SendMessageOptions.RequireReceiver);
|
|
return gameObject2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFE0 RID: 49120 RVA: 0x0039A1E0 File Offset: 0x003983E0
|
|
public bool LNBOEPDNKIO()
|
|
{
|
|
return this.<PJIOCMCCMFE>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600BFE1 RID: 49121 RVA: 0x0039A1E8 File Offset: 0x003983E8
|
|
private string CPGMABHCFND()
|
|
{
|
|
ConnectionProtocol transportProtocol = base.TransportProtocol;
|
|
int num = 0;
|
|
BEIKFLMNLCB.BBBCEMEHJHO.TryGetValue(transportProtocol, out num);
|
|
string text = string.Empty;
|
|
if (transportProtocol == ConnectionProtocol.WebSocket)
|
|
{
|
|
text = "ws://";
|
|
}
|
|
else if (transportProtocol == ConnectionProtocol.WebSocketSecure)
|
|
{
|
|
text = "wss://";
|
|
}
|
|
return string.Format("{0}{1}:{2}", text, "ns.exitgames.com", num);
|
|
}
|
|
|
|
// Token: 0x0600BFE2 RID: 49122 RVA: 0x0039A24C File Offset: 0x0039844C
|
|
protected internal void OAHLGOAFGDN(NIPLONJCJIF PEIEJLHPNAE)
|
|
{
|
|
ConnectionProtocol connectionProtocol = base.TransportProtocol;
|
|
if (this.JOMBCGIHFGP == IKICDKCKFKM.AuthOnceWss)
|
|
{
|
|
if (PEIEJLHPNAE != NIPLONJCJIF.NameServer)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.ErrorsOnly)
|
|
{
|
|
Debug.LogWarning("Using PhotonServerSettings.Protocol when leaving the NameServer (AuthMode is AuthOnceWss): " + IHFKMIAHBFP.PBKGCAGGOLJ.Protocol);
|
|
}
|
|
connectionProtocol = IHFKMIAHBFP.PBKGCAGGOLJ.Protocol;
|
|
}
|
|
else
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.ErrorsOnly)
|
|
{
|
|
Debug.LogWarning("Using WebSocket to connect NameServer (AuthMode is AuthOnceWss).");
|
|
}
|
|
connectionProtocol = ConnectionProtocol.WebSocketSecure;
|
|
}
|
|
}
|
|
Type type = Type.GetType("ExitGames.Client.Photon.SocketWebTcp, Assembly-CSharp", false);
|
|
if (type == null)
|
|
{
|
|
type = Type.GetType("ExitGames.Client.Photon.SocketWebTcp, Assembly-CSharp-firstpass", false);
|
|
}
|
|
if (type != null)
|
|
{
|
|
this.SocketImplementationConfig[ConnectionProtocol.WebSocket] = type;
|
|
this.SocketImplementationConfig[ConnectionProtocol.WebSocketSecure] = type;
|
|
}
|
|
if (PhotonHandler.FFBJNEHPKMN == null)
|
|
{
|
|
PhotonHandler.FFBJNEHPKMN = typeof(PingMono);
|
|
}
|
|
if (base.TransportProtocol == connectionProtocol)
|
|
{
|
|
return;
|
|
}
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.ErrorsOnly)
|
|
{
|
|
Debug.LogWarning(string.Concat(new object[] { "Protocol switch from: ", base.TransportProtocol, " to: ", connectionProtocol, "." }));
|
|
}
|
|
base.TransportProtocol = connectionProtocol;
|
|
}
|
|
|
|
// Token: 0x0600BFE3 RID: 49123 RVA: 0x0039A37C File Offset: 0x0039857C
|
|
public static void LBACGEMNLLP(HCPAJHOGHMM PMLONIIIMKI, object[] OGDMHDCFKAB)
|
|
{
|
|
IHFKMIAHBFP.GFJPOGNGBAF(PMLONIIIMKI, OGDMHDCFKAB);
|
|
}
|
|
|
|
// Token: 0x0600BFE4 RID: 49124 RVA: 0x0039A388 File Offset: 0x00398588
|
|
private void NGJMCILCLEL(ExitGames.Client.Photon.Hashtable BDNJIFFKFBL, ExitGames.Client.Photon.Hashtable CFJKJFLEPAK, int MOHAMBKGHOB)
|
|
{
|
|
if (CFJKJFLEPAK != null && CFJKJFLEPAK.Count > 0)
|
|
{
|
|
if (MOHAMBKGHOB > 0)
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = this.GECLOIKPGGH(MOHAMBKGHOB);
|
|
if (lnjfbgiblha != null)
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = this.LALHLEKEJOB(CFJKJFLEPAK, MOHAMBKGHOB);
|
|
lnjfbgiblha.KKPGENOBJFL(hashtable);
|
|
HCPAJHOGHMM hcpajhoghmm = (HCPAJHOGHMM)(-84);
|
|
object[] array = new object[8];
|
|
array[0] = lnjfbgiblha;
|
|
array[0] = hashtable;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(hcpajhoghmm, array);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
foreach (object obj in CFJKJFLEPAK.Keys)
|
|
{
|
|
int num = (int)obj;
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = (ExitGames.Client.Photon.Hashtable)CFJKJFLEPAK[obj];
|
|
string text = (string)hashtable2[(byte)(-116)];
|
|
LNJFBGIBLHA lnjfbgiblha2 = this.GECLOIKPGGH(num);
|
|
if (lnjfbgiblha2 == null)
|
|
{
|
|
lnjfbgiblha2 = new LNJFBGIBLHA(true, num, text);
|
|
this.EJBNDCALOJK(num, lnjfbgiblha2);
|
|
}
|
|
lnjfbgiblha2.GMJMONACBMM(hashtable2);
|
|
HCPAJHOGHMM hcpajhoghmm2 = HCPAJHOGHMM.OnLeftRoom;
|
|
object[] array2 = new object[1];
|
|
array2[1] = lnjfbgiblha2;
|
|
array2[0] = hashtable2;
|
|
BEIKFLMNLCB.LBACGEMNLLP(hcpajhoghmm2, array2);
|
|
}
|
|
}
|
|
}
|
|
if (this.FDIGCECCGIL() != null && BDNJIFFKFBL != null)
|
|
{
|
|
this.NNCLHENEJDI.MHMOIEABPCF(BDNJIFFKFBL);
|
|
HCPAJHOGHMM hcpajhoghmm3 = (HCPAJHOGHMM)(-13);
|
|
object[] array3 = new object[1];
|
|
array3[1] = BDNJIFFKFBL;
|
|
BEIKFLMNLCB.LBACGEMNLLP(hcpajhoghmm3, array3);
|
|
if (IHFKMIAHBFP.DFHAJGGDIPJ)
|
|
{
|
|
this.KNPOGNLOKAB();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFE5 RID: 49125 RVA: 0x0039A4E0 File Offset: 0x003986E0
|
|
public int AKHLBIMFDNO()
|
|
{
|
|
return this.<HNJAHNOEEDM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600BFE6 RID: 49126 RVA: 0x0039A4E8 File Offset: 0x003986E8
|
|
private void ODCKJINPMAL(StatusCode CBIONIJKCEP)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log(string.Format("OnStatusChanged: {0} current State: {1}", CBIONIJKCEP.ToString(), this.FBBMOMHACLA));
|
|
}
|
|
switch (CBIONIJKCEP)
|
|
{
|
|
case StatusCode.ExceptionOnReceive:
|
|
case StatusCode.DisconnectByServer:
|
|
case StatusCode.DisconnectByServerUserLimit:
|
|
case StatusCode.DisconnectByServerLogic:
|
|
if (this.DLIEDKPCENF)
|
|
{
|
|
Debug.LogWarning(string.Concat(new object[] { CBIONIJKCEP, " while connecting to: ", base.ServerAddress, ". Check if the server is available." }));
|
|
this.DLIEDKPCENF = false;
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnFailedToConnectToPhoton, new object[] { cgialbalogm });
|
|
}
|
|
else
|
|
{
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnConnectionFail, new object[] { cgialbalogm });
|
|
}
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
this.Disconnect();
|
|
return;
|
|
case StatusCode.TimeoutDisconnect:
|
|
if (this.DLIEDKPCENF)
|
|
{
|
|
if (!this.OJMHLANFCKE)
|
|
{
|
|
Debug.LogWarning(string.Concat(new object[] { CBIONIJKCEP, " while connecting to: ", base.ServerAddress, ". Check if the server is available." }));
|
|
this.DLIEDKPCENF = false;
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnFailedToConnectToPhoton, new object[] { cgialbalogm });
|
|
}
|
|
}
|
|
else
|
|
{
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnConnectionFail, new object[] { cgialbalogm });
|
|
}
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
this.Disconnect();
|
|
return;
|
|
default:
|
|
switch (CBIONIJKCEP)
|
|
{
|
|
case StatusCode.SecurityExceptionOnConnect:
|
|
case StatusCode.ExceptionOnConnect:
|
|
{
|
|
this.DLIEDKPCENF = false;
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.PeerCreated;
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnFailedToConnectToPhoton, new object[] { cgialbalogm });
|
|
return;
|
|
}
|
|
case StatusCode.Connect:
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.ConnectingToNameServer)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Full)
|
|
{
|
|
Debug.Log("Connected to NameServer.");
|
|
}
|
|
this.CONBCJADCAO = NIPLONJCJIF.NameServer;
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
}
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.ConnectingToGameserver)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Full)
|
|
{
|
|
Debug.Log("Connected to gameserver.");
|
|
}
|
|
this.CONBCJADCAO = NIPLONJCJIF.GameServer;
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectedToGameserver;
|
|
}
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.ConnectingToMasterserver)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Full)
|
|
{
|
|
Debug.Log("Connected to masterserver.");
|
|
}
|
|
this.CONBCJADCAO = NIPLONJCJIF.MasterServer;
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Authenticating;
|
|
if (this.DLIEDKPCENF)
|
|
{
|
|
this.DLIEDKPCENF = false;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnConnectedToPhoton, new object[0]);
|
|
}
|
|
}
|
|
if (base.TransportProtocol != ConnectionProtocol.WebSocketSecure)
|
|
{
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.NameServer || this.JOMBCGIHFGP == IKICDKCKFKM.Auth)
|
|
{
|
|
base.EstablishEncryption();
|
|
}
|
|
return;
|
|
}
|
|
if (this.DebugOut == DebugLevel.INFO)
|
|
{
|
|
Debug.Log("Skipping EstablishEncryption. Protocol is secure.");
|
|
}
|
|
goto IL_1AC;
|
|
case StatusCode.Disconnect:
|
|
this.GJJEPCJBKBH = false;
|
|
this.MOLLGEKMPOP = false;
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.GameServer)
|
|
{
|
|
this.FAEPMIFIIID();
|
|
}
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.MasterServer)
|
|
{
|
|
this.DNCMGDJDKAC();
|
|
}
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.DisconnectingFromMasterserver)
|
|
{
|
|
if (this.NHHBNCKICGL(this.GNDNGCCNCGN, NIPLONJCJIF.GameServer))
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToGameserver;
|
|
}
|
|
}
|
|
else if (this.FBBMOMHACLA == CCNBAFJLBCH.DisconnectingFromGameserver || this.FBBMOMHACLA == CCNBAFJLBCH.DisconnectingFromNameServer)
|
|
{
|
|
this.OAHLGOAFGDN(NIPLONJCJIF.MasterServer);
|
|
if (this.NHHBNCKICGL(this.EBKJMGCNOMO, NIPLONJCJIF.MasterServer))
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToMasterserver;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (this.OJMHLANFCKE)
|
|
{
|
|
return;
|
|
}
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
this.DLIEDKPCENF = false;
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.PeerCreated;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnDisconnectedFromPhoton, new object[0]);
|
|
}
|
|
return;
|
|
case StatusCode.Exception:
|
|
if (this.DLIEDKPCENF)
|
|
{
|
|
Debug.LogError("Exception while connecting to: " + base.ServerAddress + ". Check if the server is available.");
|
|
if (base.ServerAddress == null || base.ServerAddress.StartsWith("127.0.0.1"))
|
|
{
|
|
Debug.LogWarning("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.");
|
|
if (base.ServerAddress == this.GNDNGCCNCGN)
|
|
{
|
|
Debug.LogWarning("This might be a misconfiguration in the game server config. You need to edit it to a (public) address.");
|
|
}
|
|
}
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.PeerCreated;
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
this.DLIEDKPCENF = false;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnFailedToConnectToPhoton, new object[] { cgialbalogm });
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.PeerCreated;
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnConnectionFail, new object[] { cgialbalogm });
|
|
}
|
|
this.Disconnect();
|
|
return;
|
|
case StatusCode.SendError:
|
|
return;
|
|
}
|
|
Debug.LogError("Received unknown status code: " + CBIONIJKCEP);
|
|
return;
|
|
case StatusCode.EncryptionEstablished:
|
|
break;
|
|
case StatusCode.EncryptionFailedToEstablish:
|
|
{
|
|
Debug.LogError("Encryption wasn't established: " + CBIONIJKCEP + ". Going to authenticate anyways.");
|
|
OCEOOCJEKDD oceoocjekdd;
|
|
if ((oceoocjekdd = this.FALGIDIFGKO) == null)
|
|
{
|
|
oceoocjekdd = new OCEOOCJEKDD
|
|
{
|
|
OCAHLHMIPMG = null
|
|
};
|
|
}
|
|
OCEOOCJEKDD oceoocjekdd2 = oceoocjekdd;
|
|
this.FOLLBEKJPAG(this.FFHFHKHJFOI, this.JHDCHFCLFFH, oceoocjekdd2, this.DBBPBMAELJN.ToString(), this.CHLLBIBJPAN);
|
|
return;
|
|
}
|
|
}
|
|
IL_1AC:
|
|
this.OJMHLANFCKE = false;
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.NameServer)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectedToNameServer;
|
|
if (!this.GJJEPCJBKBH && this.DBBPBMAELJN == EDGDNCCLDBN.none)
|
|
{
|
|
this.ELMMEEIFJAP(this.FFHFHKHJFOI);
|
|
}
|
|
}
|
|
if (this.CONBCJADCAO != NIPLONJCJIF.NameServer && (this.JOMBCGIHFGP == IKICDKCKFKM.AuthOnce || this.JOMBCGIHFGP == IKICDKCKFKM.AuthOnceWss))
|
|
{
|
|
Debug.Log(string.Concat(new object[] { "didAuthenticate ", this.GJJEPCJBKBH, " AuthMode ", this.JOMBCGIHFGP }));
|
|
}
|
|
else if (!this.GJJEPCJBKBH && (!this.HAKDGBANGAJ || this.DBBPBMAELJN != EDGDNCCLDBN.none))
|
|
{
|
|
this.GJJEPCJBKBH = this.HFHICEEMGOH();
|
|
if (this.GJJEPCJBKBH)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Authenticating;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFE7 RID: 49127 RVA: 0x0039AB38 File Offset: 0x00398D38
|
|
public virtual bool PNKLHCKBPFI(string IHMNHKKKLMM, string DNIMDPKHAMP)
|
|
{
|
|
Debug.LogError("127.0.0.1");
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x0600BFE8 RID: 49128 RVA: 0x0039AB48 File Offset: 0x00398D48
|
|
private void NKDJBLAGLID(StatusCode CBIONIJKCEP)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.ErrorsOnly)
|
|
{
|
|
Debug.Log(string.Format(" Server: ", CBIONIJKCEP.ToString(), this.FBBMOMHACLA));
|
|
}
|
|
switch (CBIONIJKCEP)
|
|
{
|
|
case (StatusCode)(-109):
|
|
case (StatusCode)(-107):
|
|
case (StatusCode)(-106):
|
|
case (StatusCode)(-105):
|
|
if (this.DLIEDKPCENF)
|
|
{
|
|
object[] array = new object[2];
|
|
array[0] = CBIONIJKCEP;
|
|
array[0] = "OUT OF BOUNDS!";
|
|
array[2] = base.ServerAddress;
|
|
array[5] = "GoogleAnalyticsRequestCache";
|
|
Debug.LogWarning(string.Concat(array));
|
|
this.DLIEDKPCENF = false;
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
HCPAJHOGHMM hcpajhoghmm = (HCPAJHOGHMM)60;
|
|
object[] array2 = new object[0];
|
|
array2[0] = cgialbalogm;
|
|
BEIKFLMNLCB.LBACGEMNLLP(hcpajhoghmm, array2);
|
|
}
|
|
else
|
|
{
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
HCPAJHOGHMM hcpajhoghmm2 = (HCPAJHOGHMM)(-92);
|
|
object[] array3 = new object[0];
|
|
array3[0] = cgialbalogm;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(hcpajhoghmm2, array3);
|
|
}
|
|
if (this.KLPPJMGBDDH() != null)
|
|
{
|
|
this.FALGIDIFGKO.ACOAEDFJFAI(null);
|
|
}
|
|
this.Disconnect();
|
|
return;
|
|
case (StatusCode)(-108):
|
|
if (this.DLIEDKPCENF)
|
|
{
|
|
if (!this.OJMHLANFCKE)
|
|
{
|
|
object[] array4 = new object[2];
|
|
array4[0] = CBIONIJKCEP;
|
|
array4[0] = "successfully";
|
|
array4[6] = base.ServerAddress;
|
|
array4[4] = "_FollowCamera";
|
|
Debug.LogWarning(string.Concat(array4));
|
|
this.DLIEDKPCENF = true;
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
HCPAJHOGHMM hcpajhoghmm3 = (HCPAJHOGHMM)79;
|
|
object[] array5 = new object[1];
|
|
array5[1] = cgialbalogm;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(hcpajhoghmm3, array5);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
BEIKFLMNLCB.LBACGEMNLLP((HCPAJHOGHMM)104, new object[] { cgialbalogm });
|
|
}
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.HAFPLDJLAKD(null);
|
|
}
|
|
this.Disconnect();
|
|
return;
|
|
default:
|
|
switch (CBIONIJKCEP)
|
|
{
|
|
case (StatusCode)(-145):
|
|
case (StatusCode)(-144):
|
|
{
|
|
this.DLIEDKPCENF = true;
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.PeerCreated;
|
|
if (this.KLPPJMGBDDH() != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
BEIKFLMNLCB.LBACGEMNLLP((HCPAJHOGHMM)110, new object[] { cgialbalogm });
|
|
return;
|
|
}
|
|
case (StatusCode)(-143):
|
|
if (this.FBBMOMHACLA == (CCNBAFJLBCH)(-37))
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= (DGNJCNPDGHM)8)
|
|
{
|
|
Debug.Log("ObscuredDouble:");
|
|
}
|
|
this.CONBCJADCAO = (NIPLONJCJIF)4;
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.KLPPJMGBDDH().ACOAEDFJFAI(null);
|
|
}
|
|
}
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.Queued)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.ErrorsOnly)
|
|
{
|
|
Debug.Log("x");
|
|
}
|
|
this.MGONFDOAMGI(NIPLONJCJIF.MasterServer);
|
|
this.IDMIPHEJBEI(CCNBAFJLBCH.Uninitialized);
|
|
}
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.Authenticating)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= (DGNJCNPDGHM)5)
|
|
{
|
|
Debug.Log("USE_DESATURATION_MASK");
|
|
}
|
|
this.EGMGLEPKCIE(NIPLONJCJIF.MasterServer);
|
|
this.FBBMOMHACLA = (CCNBAFJLBCH)(-3);
|
|
if (this.DLIEDKPCENF)
|
|
{
|
|
this.DLIEDKPCENF = true;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnConnectedToPhoton, new object[1]);
|
|
}
|
|
}
|
|
if (base.TransportProtocol != ConnectionProtocol.WebSocket)
|
|
{
|
|
if (this.CONBCJADCAO == (NIPLONJCJIF)4 || this.JOMBCGIHFGP == IKICDKCKFKM.Auth)
|
|
{
|
|
base.EstablishEncryption();
|
|
}
|
|
return;
|
|
}
|
|
if (this.DebugOut == (DebugLevel)8)
|
|
{
|
|
Debug.Log("google_analytics_clientid_pref_key");
|
|
}
|
|
goto IL_1AC;
|
|
case (StatusCode)(-142):
|
|
this.GJJEPCJBKBH = false;
|
|
this.MOLLGEKMPOP = true;
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.GameServer)
|
|
{
|
|
this.FAEPMIFIIID();
|
|
}
|
|
if (this.JOJNBLLNAII() == NIPLONJCJIF.MasterServer)
|
|
{
|
|
this.FEGHKOLIJIN();
|
|
}
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.ConnectingToGameserver)
|
|
{
|
|
if (this.NHHBNCKICGL(this.HNONCLINCCF(), NIPLONJCJIF.MasterServer))
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.DisconnectingFromMasterserver;
|
|
}
|
|
}
|
|
else if (this.FBBMOMHACLA == (CCNBAFJLBCH)110 || this.FBBMOMHACLA == (CCNBAFJLBCH)96)
|
|
{
|
|
this.FDOBEJEOCNO(NIPLONJCJIF.GameServer);
|
|
if (this.NHHBNCKICGL(this.EBKJMGCNOMO, NIPLONJCJIF.GameServer))
|
|
{
|
|
this.IDMIPHEJBEI((CCNBAFJLBCH)(-84));
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (this.OJMHLANFCKE)
|
|
{
|
|
return;
|
|
}
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
this.DLIEDKPCENF = true;
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Uninitialized;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnDisconnectedFromPhoton, new object[0]);
|
|
}
|
|
return;
|
|
case (StatusCode)(-141):
|
|
if (this.DLIEDKPCENF)
|
|
{
|
|
Debug.LogError("DiscGolfParticles" + base.ServerAddress + "', RecRoomSceneManager is null.");
|
|
if (base.ServerAddress == null || base.ServerAddress.StartsWith("Disabled instanced rendering"))
|
|
{
|
|
Debug.LogWarning("Saves protection");
|
|
if (base.ServerAddress == this.CCGGKJKECCP())
|
|
{
|
|
Debug.LogWarning("BalanceUpdates");
|
|
}
|
|
}
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.PeerCreated;
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
this.DLIEDKPCENF = false;
|
|
HCPAJHOGHMM hcpajhoghmm4 = (HCPAJHOGHMM)(-70);
|
|
object[] array6 = new object[1];
|
|
array6[1] = cgialbalogm;
|
|
BEIKFLMNLCB.LBACGEMNLLP(hcpajhoghmm4, array6);
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.PeerCreated;
|
|
CGIALBALOGM cgialbalogm = (CGIALBALOGM)CBIONIJKCEP;
|
|
BEIKFLMNLCB.LBACGEMNLLP((HCPAJHOGHMM)(-75), new object[] { cgialbalogm });
|
|
}
|
|
this.Disconnect();
|
|
return;
|
|
case (StatusCode)(-137):
|
|
return;
|
|
}
|
|
Debug.LogError("\">Detected: " + CBIONIJKCEP);
|
|
return;
|
|
case (StatusCode)(-100):
|
|
break;
|
|
case (StatusCode)(-99):
|
|
{
|
|
Debug.LogError("\" marked with the [PunRPC](C#) or @PunRPC(JS) property! Args: " + CBIONIJKCEP + "TAGGED ELITE BOT");
|
|
OCEOOCJEKDD oceoocjekdd;
|
|
if ((oceoocjekdd = this.FALGIDIFGKO) == null)
|
|
{
|
|
oceoocjekdd = new OCEOOCJEKDD
|
|
{
|
|
OCAHLHMIPMG = null
|
|
};
|
|
}
|
|
OCEOOCJEKDD oceoocjekdd2 = oceoocjekdd;
|
|
this.LOKPHBLHLCL(this.FFHFHKHJFOI, this.AMIEKMBOOIG(), oceoocjekdd2, this.NIEPAOJHGKA().ToString(), this.CHLLBIBJPAN);
|
|
return;
|
|
}
|
|
}
|
|
IL_1AC:
|
|
this.OJMHLANFCKE = true;
|
|
if (this.JOJNBLLNAII() == NIPLONJCJIF.GameServer)
|
|
{
|
|
this.FBBMOMHACLA = (CCNBAFJLBCH)(-76);
|
|
if (!this.GJJEPCJBKBH && this.DBBPBMAELJN == EDGDNCCLDBN.asia)
|
|
{
|
|
this.ELMMEEIFJAP(this.FFHFHKHJFOI);
|
|
}
|
|
}
|
|
if (this.CONBCJADCAO != (NIPLONJCJIF)8 && (this.JOMBCGIHFGP == IKICDKCKFKM.AuthOnce || this.JOMBCGIHFGP == (IKICDKCKFKM)5))
|
|
{
|
|
object[] array7 = new object[4];
|
|
array7[1] = "Chat";
|
|
array7[1] = this.GJJEPCJBKBH;
|
|
array7[0] = "Google Analytics: ";
|
|
array7[4] = this.JOMBCGIHFGP;
|
|
Debug.Log(string.Concat(array7));
|
|
}
|
|
else if (!this.GJJEPCJBKBH && (!this.HAKDGBANGAJ || this.BKPOLJGCGFO() != EDGDNCCLDBN.asia))
|
|
{
|
|
this.GJJEPCJBKBH = this.HFHICEEMGOH();
|
|
if (this.GJJEPCJBKBH)
|
|
{
|
|
this.FBBMOMHACLA = (CCNBAFJLBCH)(-70);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFE9 RID: 49129 RVA: 0x0039B198 File Offset: 0x00399398
|
|
private bool HFHICEEMGOH()
|
|
{
|
|
OCEOOCJEKDD oceoocjekdd;
|
|
if ((oceoocjekdd = this.FALGIDIFGKO) == null)
|
|
{
|
|
oceoocjekdd = new OCEOOCJEKDD
|
|
{
|
|
OCAHLHMIPMG = null
|
|
};
|
|
}
|
|
OCEOOCJEKDD oceoocjekdd2 = oceoocjekdd;
|
|
if (this.JOMBCGIHFGP == IKICDKCKFKM.Auth)
|
|
{
|
|
return this.FOLLBEKJPAG(this.FFHFHKHJFOI, this.JHDCHFCLFFH, oceoocjekdd2, this.DBBPBMAELJN.ToString(), this.CHLLBIBJPAN);
|
|
}
|
|
return this.OPBDMEJCGPM(this.FFHFHKHJFOI, this.JHDCHFCLFFH, oceoocjekdd2, this.DBBPBMAELJN.ToString(), this.FCKPOBBDMNO, IHFKMIAHBFP.PBKGCAGGOLJ.Protocol);
|
|
}
|
|
|
|
// Token: 0x0600BFEA RID: 49130 RVA: 0x0039B234 File Offset: 0x00399434
|
|
private static int IJKEOMNJBCA(LNJFBGIBLHA ILFEPFCLLFJ, LNJFBGIBLHA CCOAIHDIKAN)
|
|
{
|
|
return ILFEPFCLLFJ.BADMPMDONAH - CCOAIHDIKAN.BADMPMDONAH;
|
|
}
|
|
|
|
// Token: 0x0600BFEB RID: 49131 RVA: 0x0039B244 File Offset: 0x00399444
|
|
public void OAIGGDCOLOC(byte CNFNEDGMCEL, bool KELIMOCDMOD)
|
|
{
|
|
if (!KELIMOCDMOD)
|
|
{
|
|
this.AGFINJBBNKC.Add(CNFNEDGMCEL);
|
|
}
|
|
else
|
|
{
|
|
this.AGFINJBBNKC.Remove(CNFNEDGMCEL);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFEC RID: 49132 RVA: 0x0039B26C File Offset: 0x0039946C
|
|
private void CIMDHGKHKDO(Dictionary<byte, object> IGHLFCODKJA)
|
|
{
|
|
if (this.JOMBCGIHFGP == IKICDKCKFKM.Auth && this.DebugOut == DebugLevel.ERROR)
|
|
{
|
|
Debug.LogWarning("SetupEncryption() called but ignored. Not XB1 compiled. EncryptionData: " + IGHLFCODKJA.GJACOOMCPKE());
|
|
return;
|
|
}
|
|
if (this.DebugOut == DebugLevel.INFO)
|
|
{
|
|
Debug.Log("SetupEncryption() got called. " + IGHLFCODKJA.GJACOOMCPKE());
|
|
}
|
|
FCKPOBBDMNO fckpobbdmno = (FCKPOBBDMNO)((byte)IGHLFCODKJA[0]);
|
|
if (fckpobbdmno != FCKPOBBDMNO.PayloadEncryption)
|
|
{
|
|
if (fckpobbdmno != FCKPOBBDMNO.DatagramEncryption)
|
|
{
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
byte[] array = (byte[])IGHLFCODKJA[1];
|
|
byte[] array2 = (byte[])IGHLFCODKJA[2];
|
|
base.InitDatagramEncryption(array, array2);
|
|
}
|
|
else
|
|
{
|
|
byte[] array3 = (byte[])IGHLFCODKJA[1];
|
|
base.InitPayloadEncryption(array3);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFED RID: 49133 RVA: 0x0039B330 File Offset: 0x00399530
|
|
public virtual bool GPBGKGKLNND(NAMOHKJGILD BCIIENBBKPD)
|
|
{
|
|
bool flag = this.JOJNBLLNAII() == NIPLONJCJIF.MasterServer;
|
|
BCIIENBBKPD.HMPOKNOAHHI = flag;
|
|
if (!flag)
|
|
{
|
|
this.KFLPHAFFMAL = BCIIENBBKPD;
|
|
}
|
|
this.BCEOKIDFFCN = ((!BCIIENBBKPD.JJBAMKIPHII) ? BMBIMJIMFLA.JoinRoom : BMBIMJIMFLA.JoinRandomRoom);
|
|
return base.EFJGPNGJNAK(BCIIENBBKPD);
|
|
}
|
|
|
|
// Token: 0x170004AC RID: 1196
|
|
// (get) Token: 0x0600C057 RID: 49239 RVA: 0x0039F460 File Offset: 0x0039D660
|
|
// (set) Token: 0x0600BFEE RID: 49134 RVA: 0x0039B37C File Offset: 0x0039957C
|
|
public bool HAKDGBANGAJ { get; protected internal set; }
|
|
|
|
// Token: 0x0600BFEF RID: 49135 RVA: 0x0039B388 File Offset: 0x00399588
|
|
protected internal bool AIDAJKMOLMJ(int GKPEOHGOGCF, bool EDCCBAAEFNM)
|
|
{
|
|
bool flag = this.IDFONHMBFFO == GKPEOHGOGCF;
|
|
if (!flag || !this.MFOKJIFJOHC.ContainsKey(GKPEOHGOGCF))
|
|
{
|
|
return true;
|
|
}
|
|
if (EDCCBAAEFNM && !this.JDKEEKDOLHJ((byte)(-134), new ExitGames.Client.Photon.Hashtable { { 0, GKPEOHGOGCF } }, true, null))
|
|
{
|
|
return true;
|
|
}
|
|
this.KDGEJLICPNO = false;
|
|
this.FDIGCECCGIL().MLDGBIKANBD(GKPEOHGOGCF);
|
|
HCPAJHOGHMM hcpajhoghmm = HCPAJHOGHMM.OnLeftLobby;
|
|
object[] array = new object[1];
|
|
array[1] = this.GECLOIKPGGH(GKPEOHGOGCF);
|
|
BEIKFLMNLCB.LBACGEMNLLP(hcpajhoghmm, array);
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x0600BFF0 RID: 49136 RVA: 0x0039B41C File Offset: 0x0039961C
|
|
protected internal void KBIMCBHHKOM(int[] NFKLOLKIBII)
|
|
{
|
|
for (int i = 1; i < NFKLOLKIBII.Length; i++)
|
|
{
|
|
int num = NFKLOLKIBII[i];
|
|
if (this.JJOPMICJNMB.BADMPMDONAH != num && !this.MFOKJIFJOHC.ContainsKey(num))
|
|
{
|
|
this.KPDJJNPGAML(num, new LNJFBGIBLHA(true, num, string.Empty));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFF1 RID: 49137 RVA: 0x0039B478 File Offset: 0x00399678
|
|
public override bool ILLEBMBBPFC(JMOOAILGHJF KLIAFEFHCHP)
|
|
{
|
|
this.KFLPHAFFMAL = new NAMOHKJGILD();
|
|
this.KFLPHAFFMAL.ADLCILAAOMA = KLIAFEFHCHP.BLENNAHJGIP;
|
|
this.KFLPHAFFMAL.MMLMENHMLIH = KLIAFEFHCHP.MMLMENHMLIH;
|
|
this.BCEOKIDFFCN = BMBIMJIMFLA.JoinRandomRoom;
|
|
return base.ILLEBMBBPFC(KLIAFEFHCHP);
|
|
}
|
|
|
|
// Token: 0x0600BFF2 RID: 49138 RVA: 0x0039B4B8 File Offset: 0x003996B8
|
|
private bool EFMLFBHPCCE(object[] FHDBPFNABBG, object[] GGJAPLCMEPE)
|
|
{
|
|
if (FHDBPFNABBG == null && GGJAPLCMEPE == null)
|
|
{
|
|
return true;
|
|
}
|
|
if (FHDBPFNABBG == null || GGJAPLCMEPE == null || FHDBPFNABBG.Length != GGJAPLCMEPE.Length)
|
|
{
|
|
return false;
|
|
}
|
|
for (int i = 0; i < GGJAPLCMEPE.Length; i++)
|
|
{
|
|
object obj = GGJAPLCMEPE[i];
|
|
object obj2 = FHDBPFNABBG[i];
|
|
if (!this.EFMLFBHPCCE(obj, obj2))
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600BFF3 RID: 49139 RVA: 0x0039B518 File Offset: 0x00399718
|
|
private void JCGAPLDLHPO(int BADMPMDONAH, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
this.MFOKJIFJOHC.Remove(BADMPMDONAH);
|
|
if (!JEFGMHBLLKI.IPFPJCPGENH)
|
|
{
|
|
this.HFKBEFHDICJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFF4 RID: 49140 RVA: 0x0039B538 File Offset: 0x00399738
|
|
public void BCLCBOPIMNG(string MCOFHNPOEDN, string KLJKDEIIJOC)
|
|
{
|
|
this.FFHFHKHJFOI = MCOFHNPOEDN.Trim();
|
|
if (!string.IsNullOrEmpty(KLJKDEIIJOC))
|
|
{
|
|
IHFKMIAHBFP.KLJKDEIIJOC = KLJKDEIIJOC.Trim();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFF5 RID: 49141 RVA: 0x0039B55C File Offset: 0x0039975C
|
|
private void KGCJNLHHPCO()
|
|
{
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.ConnectingToGameserver)
|
|
{
|
|
this.LFOOGKDCHAK = true;
|
|
return;
|
|
}
|
|
if (this.JJOPMICJNMB != null)
|
|
{
|
|
this.JJOPMICJNMB.KODHOHBEAOP = this.GNLMCJKALBJ;
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[(byte)(-165)] = this.GNLMCJKALBJ;
|
|
if (this.JJOPMICJNMB.BADMPMDONAH > 0)
|
|
{
|
|
base.GHNGILJJBII(this.JJOPMICJNMB.BADMPMDONAH, hashtable, null, true);
|
|
this.LFOOGKDCHAK = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFF6 RID: 49142 RVA: 0x0039B5E4 File Offset: 0x003997E4
|
|
private void HFKBEFHDICJ()
|
|
{
|
|
this.LDJGFAKIDEL = new LNJFBGIBLHA[this.MFOKJIFJOHC.Count];
|
|
this.MFOKJIFJOHC.Values.CopyTo(this.LDJGFAKIDEL, 0);
|
|
LNJFBGIBLHA[] ldjgfakidel = this.LDJGFAKIDEL;
|
|
if (BEIKFLMNLCB.DINNJGHCFHI == null)
|
|
{
|
|
BEIKFLMNLCB.DINNJGHCFHI = new Comparison<LNJFBGIBLHA>(BEIKFLMNLCB.BNAMAHKKMGJ);
|
|
}
|
|
Array.Sort<LNJFBGIBLHA>(ldjgfakidel, BEIKFLMNLCB.DINNJGHCFHI);
|
|
List<LNJFBGIBLHA> list = new List<LNJFBGIBLHA>();
|
|
for (int i = 0; i < this.LDJGFAKIDEL.Length; i++)
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = this.LDJGFAKIDEL[i];
|
|
if (!lnjfbgiblha.IPFPJCPGENH)
|
|
{
|
|
list.Add(lnjfbgiblha);
|
|
}
|
|
}
|
|
this.IOJKLAGMOLO = list.ToArray();
|
|
}
|
|
|
|
// Token: 0x0600BFF7 RID: 49143 RVA: 0x0039B68C File Offset: 0x0039988C
|
|
public bool IHPJLCGGGGP()
|
|
{
|
|
if (this.KLPPJMGBDDH() == null)
|
|
{
|
|
Debug.LogWarning("crash.dmp");
|
|
this.FALGIDIFGKO = new OCEOOCJEKDD();
|
|
}
|
|
this.KLPPJMGBDDH().ACOAEDFJFAI(this.KHPMEEGONLI);
|
|
if (!string.IsNullOrEmpty(this.GNDNGCCNCGN) && this.KFLPHAFFMAL != null)
|
|
{
|
|
this.BCEOKIDFFCN = BMBIMJIMFLA.JoinRoom;
|
|
this.KFLPHAFFMAL.HCGBFGNFEPM = false;
|
|
return this.NHHBNCKICGL(this.CCGGKJKECCP(), NIPLONJCJIF.MasterServer);
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x0600BFF8 RID: 49144 RVA: 0x0039B708 File Offset: 0x00399908
|
|
public virtual void KNBCNNLHOAB()
|
|
{
|
|
if (base.PeerState == PeerStateValue.Disconnected)
|
|
{
|
|
if (!PhotonHandler.COPLPHCJJKA)
|
|
{
|
|
Debug.LogWarning(string.Format("long:", this.FBBMOMHACLA));
|
|
}
|
|
return;
|
|
}
|
|
this.FBBMOMHACLA = (CCNBAFJLBCH)80;
|
|
base.Disconnect();
|
|
}
|
|
|
|
// Token: 0x0600BFF9 RID: 49145 RVA: 0x0039B748 File Offset: 0x00399948
|
|
private bool EFMLFBHPCCE(object MNCAHPFABBN, object ONGFPKDDNLI)
|
|
{
|
|
if (MNCAHPFABBN == null || ONGFPKDDNLI == null)
|
|
{
|
|
return MNCAHPFABBN == null && ONGFPKDDNLI == null;
|
|
}
|
|
if (!MNCAHPFABBN.Equals(ONGFPKDDNLI))
|
|
{
|
|
if (MNCAHPFABBN is Vector3)
|
|
{
|
|
Vector3 vector = (Vector3)MNCAHPFABBN;
|
|
Vector3 vector2 = (Vector3)ONGFPKDDNLI;
|
|
if (vector.EFMLFBHPCCE(vector2, IHFKMIAHBFP.IICGPCGNCPM))
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
else if (MNCAHPFABBN is Vector2)
|
|
{
|
|
Vector2 vector3 = (Vector2)MNCAHPFABBN;
|
|
Vector2 vector4 = (Vector2)ONGFPKDDNLI;
|
|
if (vector3.EFMLFBHPCCE(vector4, IHFKMIAHBFP.IICGPCGNCPM))
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
else if (MNCAHPFABBN is Quaternion)
|
|
{
|
|
Quaternion quaternion = (Quaternion)MNCAHPFABBN;
|
|
Quaternion quaternion2 = (Quaternion)ONGFPKDDNLI;
|
|
if (quaternion.EFMLFBHPCCE(quaternion2, IHFKMIAHBFP.NBGHHKJEOBO))
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
else if (MNCAHPFABBN is float)
|
|
{
|
|
float num = (float)MNCAHPFABBN;
|
|
float num2 = (float)ONGFPKDDNLI;
|
|
if (num.EFMLFBHPCCE(num2, IHFKMIAHBFP.CDNAOOHNKAC))
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600BFFA RID: 49146 RVA: 0x0039B848 File Offset: 0x00399A48
|
|
public string HNONCLINCCF()
|
|
{
|
|
return this.<LMMFOKKLLNN>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600BFFC RID: 49148 RVA: 0x0039B884 File Offset: 0x00399A84
|
|
private void PKJMEKHBMCM(int BLNLKOJHBAM, EventData AKCJCCHFCII)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log(string.Concat(new object[]
|
|
{
|
|
"HandleEventLeave for player ID: ",
|
|
BLNLKOJHBAM,
|
|
" evLeave: ",
|
|
AKCJCCHFCII.ToStringFull()
|
|
}));
|
|
}
|
|
LNJFBGIBLHA lnjfbgiblha = this.LAKLKNLMCMH(BLNLKOJHBAM);
|
|
if (lnjfbgiblha == null)
|
|
{
|
|
Debug.LogError(string.Format("Received event Leave for unknown player ID: {0}", BLNLKOJHBAM));
|
|
return;
|
|
}
|
|
bool flag = lnjfbgiblha.GCDMPIPFODG;
|
|
if (AKCJCCHFCII.Parameters.ContainsKey(233))
|
|
{
|
|
lnjfbgiblha.GCDMPIPFODG = (bool)AKCJCCHFCII.Parameters[233];
|
|
if (lnjfbgiblha.GCDMPIPFODG != flag)
|
|
{
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonPlayerActivityChanged, new object[] { lnjfbgiblha });
|
|
}
|
|
if (lnjfbgiblha.GCDMPIPFODG && flag)
|
|
{
|
|
Debug.LogWarning(string.Concat(new object[] { "HandleEventLeave for player ID: ", BLNLKOJHBAM, " isInactive: ", lnjfbgiblha.GCDMPIPFODG, ". Stopping handling if inactive." }));
|
|
return;
|
|
}
|
|
}
|
|
if (AKCJCCHFCII.Parameters.ContainsKey(203))
|
|
{
|
|
int num = (int)AKCJCCHFCII[203];
|
|
if (num != 0)
|
|
{
|
|
this.IDFONHMBFFO = (int)AKCJCCHFCII[203];
|
|
this.AMIJPKBLJHE();
|
|
}
|
|
}
|
|
else if (!this.NNCLHENEJDI.DEPHKHIDDGJ)
|
|
{
|
|
this.KCDJJHFDGKG(BLNLKOJHBAM);
|
|
}
|
|
if (lnjfbgiblha.GCDMPIPFODG && !flag)
|
|
{
|
|
return;
|
|
}
|
|
if (this.NNCLHENEJDI != null && this.NNCLHENEJDI.CIEJKHKCICL)
|
|
{
|
|
this.OMBFAIHNAGM(BLNLKOJHBAM, true);
|
|
}
|
|
this.GDFCLGGODLG(BLNLKOJHBAM, lnjfbgiblha);
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonPlayerDisconnected, new object[] { lnjfbgiblha });
|
|
}
|
|
|
|
// Token: 0x170004B4 RID: 1204
|
|
// (get) Token: 0x0600C051 RID: 49233 RVA: 0x0039F2B0 File Offset: 0x0039D4B0
|
|
// (set) Token: 0x0600BFFD RID: 49149 RVA: 0x0039BA4C File Offset: 0x00399C4C
|
|
public string GNLMCJKALBJ
|
|
{
|
|
get
|
|
{
|
|
return this.LMAHIKJOIFL;
|
|
}
|
|
set
|
|
{
|
|
if (string.IsNullOrEmpty(value) || value.Equals(this.LMAHIKJOIFL))
|
|
{
|
|
return;
|
|
}
|
|
if (this.JJOPMICJNMB != null)
|
|
{
|
|
this.JJOPMICJNMB.KODHOHBEAOP = value;
|
|
}
|
|
this.LMAHIKJOIFL = value;
|
|
if (this.NNCLHENEJDI != null)
|
|
{
|
|
this.OABKOHDGLDA();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600BFFE RID: 49150 RVA: 0x0039BAA8 File Offset: 0x00399CA8
|
|
protected internal string AMIEKMBOOIG()
|
|
{
|
|
return string.Format("y", IHFKMIAHBFP.KLJKDEIIJOC, "speed");
|
|
}
|
|
|
|
// Token: 0x0600BFFF RID: 49151 RVA: 0x0039BAC0 File Offset: 0x00399CC0
|
|
public override void Disconnect()
|
|
{
|
|
if (base.PeerState == PeerStateValue.Disconnected)
|
|
{
|
|
if (!PhotonHandler.COPLPHCJJKA)
|
|
{
|
|
Debug.LogWarning(string.Format("Can't execute Disconnect() while not connected. Nothing changed. State: {0}", this.FBBMOMHACLA));
|
|
}
|
|
return;
|
|
}
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Disconnecting;
|
|
base.Disconnect();
|
|
}
|
|
|
|
// Token: 0x0600C000 RID: 49152 RVA: 0x0039BB00 File Offset: 0x00399D00
|
|
public bool JHPKPGJBPIH(PhotonView CAANMEBEOIJ)
|
|
{
|
|
CAANMEBEOIJ.GPJLODPELBJ = true;
|
|
return this.HOFNDCMODDM.Remove(CAANMEBEOIJ.NBAIABPNLNK());
|
|
}
|
|
|
|
// Token: 0x0600C001 RID: 49153 RVA: 0x0039BB1C File Offset: 0x00399D1C
|
|
public int CCOKMCKBDAO()
|
|
{
|
|
return this.<FEBEJAIPOJM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170004B6 RID: 1206
|
|
// (get) Token: 0x0600C002 RID: 49154 RVA: 0x0039BB24 File Offset: 0x00399D24
|
|
// (set) Token: 0x0600C00C RID: 49164 RVA: 0x0039BD90 File Offset: 0x00399F90
|
|
public LNJFBGIBLHA JJOPMICJNMB { get; internal set; }
|
|
|
|
// Token: 0x0600C003 RID: 49155 RVA: 0x0039BB2C File Offset: 0x00399D2C
|
|
public bool HEMICLKCCIA()
|
|
{
|
|
return this.<PJIOCMCCMFE>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C004 RID: 49156 RVA: 0x0039BB34 File Offset: 0x00399D34
|
|
internal void NPFAPPCKLIN(int NOBAPCOKFIL)
|
|
{
|
|
this.<HNJAHNOEEDM>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x170004BA RID: 1210
|
|
// (get) Token: 0x0600C005 RID: 49157 RVA: 0x0039BB40 File Offset: 0x00399D40
|
|
protected internal int HINLFPGBLDJ
|
|
{
|
|
get
|
|
{
|
|
return (!this.MOLLGEKMPOP && this.AOIALPPNDML != 0) ? (Environment.TickCount - this.AOIALPPNDML) : 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170004BC RID: 1212
|
|
// (get) Token: 0x0600C006 RID: 49158 RVA: 0x0039BB6C File Offset: 0x00399D6C
|
|
// (set) Token: 0x0600C065 RID: 49253 RVA: 0x003A03E4 File Offset: 0x0039E5E4
|
|
public List<FGFKLEOHHMH> JMEMPPOHIKD { get; protected internal set; }
|
|
|
|
// Token: 0x0600C008 RID: 49160 RVA: 0x0039BB7C File Offset: 0x00399D7C
|
|
public int PPGJKLECGHA()
|
|
{
|
|
return this.<HNJAHNOEEDM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C009 RID: 49161 RVA: 0x0039BB84 File Offset: 0x00399D84
|
|
private void FAEPMIFIIID()
|
|
{
|
|
bool flag = this.NNCLHENEJDI != null;
|
|
bool flag2 = ((this.NNCLHENEJDI == null) ? IHFKMIAHBFP.OGNBKMGOCAJ : this.NNCLHENEJDI.CIEJKHKCICL);
|
|
this.KDGEJLICPNO = false;
|
|
this.NNCLHENEJDI = null;
|
|
this.MFOKJIFJOHC = new Dictionary<int, LNJFBGIBLHA>();
|
|
this.LDJGFAKIDEL = new LNJFBGIBLHA[0];
|
|
this.IOJKLAGMOLO = new LNJFBGIBLHA[0];
|
|
this.NPNHFPBEPDM = new HashSet<byte>();
|
|
this.AGFINJBBNKC = new HashSet<byte>();
|
|
this.KJEENCIHBBG = new Dictionary<string, HLLIJLFHBJM>();
|
|
this.GJACNPPGFOP = new HLLIJLFHBJM[0];
|
|
this.MOLLGEKMPOP = false;
|
|
this.FMIIDOFMEHN(-1);
|
|
if (flag2)
|
|
{
|
|
this.KGMJCIJGLCJ(true);
|
|
IHFKMIAHBFP.NDNFNIGAJGE = new List<int>();
|
|
}
|
|
if (flag)
|
|
{
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnLeftRoom, new object[0]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C00A RID: 49162 RVA: 0x0039BC54 File Offset: 0x00399E54
|
|
protected internal void ECNMGOGBHMB(bool JDODJHKMMNE)
|
|
{
|
|
if (this.GGOAGLFKHDB.Count > 0)
|
|
{
|
|
Debug.LogWarning("0");
|
|
}
|
|
if (JDODJHKMMNE)
|
|
{
|
|
HashSet<GameObject> hashSet = new HashSet<GameObject>();
|
|
foreach (PhotonView photonView in this.HOFNDCMODDM.Values)
|
|
{
|
|
if (photonView.isRuntimeInstantiated)
|
|
{
|
|
hashSet.Add(photonView.gameObject);
|
|
}
|
|
}
|
|
foreach (GameObject gameObject in hashSet)
|
|
{
|
|
this.CKJAKKLDOIM(gameObject, true);
|
|
}
|
|
}
|
|
this.GGOAGLFKHDB.Clear();
|
|
IHFKMIAHBFP.LAMNEPPPBKK = 0;
|
|
IHFKMIAHBFP.FHPGFDBIHGO = 0;
|
|
}
|
|
|
|
// Token: 0x0600C00B RID: 49163 RVA: 0x0039BD4C File Offset: 0x00399F4C
|
|
private void IFJLJKNAOPE()
|
|
{
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[(byte)(-187)] = 1;
|
|
dictionary[153] = 3;
|
|
this.OpCustom(146, dictionary, true, 1);
|
|
}
|
|
|
|
// Token: 0x0600C00D RID: 49165 RVA: 0x0039BD9C File Offset: 0x00399F9C
|
|
private void FEGHKOLIJIN()
|
|
{
|
|
this.KJEENCIHBBG = new Dictionary<string, HLLIJLFHBJM>();
|
|
this.GJACNPPGFOP = new HLLIJLFHBJM[1];
|
|
if (this.NJJDIBJODPB)
|
|
{
|
|
this.NJJDIBJODPB = false;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnLeftRoom, new object[1]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C00E RID: 49166 RVA: 0x0039BDD4 File Offset: 0x00399FD4
|
|
private void GMCGPMDEFOC(OperationResponse IMDHCINGADG)
|
|
{
|
|
if (IHFKMIAHBFP.DBOGBGIJDDJ.FBBMOMHACLA == CCNBAFJLBCH.Disconnecting)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log("OperationResponse ignored while disconnecting. Code: " + IMDHCINGADG.OperationCode);
|
|
}
|
|
return;
|
|
}
|
|
if (IMDHCINGADG.ReturnCode == 0)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log(IMDHCINGADG.ToString());
|
|
}
|
|
}
|
|
else if (IMDHCINGADG.ReturnCode == -3)
|
|
{
|
|
Debug.LogError("Operation " + IMDHCINGADG.OperationCode + " could not be executed (yet). Wait for state JoinedLobby or ConnectedToMaster and their callbacks before calling operations. WebRPCs need a server-side configuration. Enum OperationCode helps identify the operation.");
|
|
}
|
|
else if (IMDHCINGADG.ReturnCode == 32752)
|
|
{
|
|
Debug.LogError(string.Concat(new object[] { "Operation ", IMDHCINGADG.OperationCode, " failed in a server-side plugin. Check the configuration in the Dashboard. Message from server-plugin: ", IMDHCINGADG.DebugMessage }));
|
|
}
|
|
else if (IMDHCINGADG.ReturnCode == 32760)
|
|
{
|
|
Debug.LogWarning("Operation failed: " + IMDHCINGADG.ToStringFull());
|
|
}
|
|
else if (IMDHCINGADG.OperationCode == 226 && IMDHCINGADG.ReturnCode == 32758)
|
|
{
|
|
Debug.LogWarning("Operation failed: " + IMDHCINGADG.ToStringFull());
|
|
}
|
|
else if (IMDHCINGADG.OperationCode == 252 && IMDHCINGADG.ReturnCode == -2)
|
|
{
|
|
Debug.LogWarning("Operation failed: " + IMDHCINGADG.ToStringFull());
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError(string.Concat(new object[]
|
|
{
|
|
"Operation failed: ",
|
|
IMDHCINGADG.ToStringFull(),
|
|
" Server: ",
|
|
this.CONBCJADCAO
|
|
}));
|
|
}
|
|
if (IMDHCINGADG.Parameters.ContainsKey(221))
|
|
{
|
|
if (this.FALGIDIFGKO == null)
|
|
{
|
|
this.FALGIDIFGKO = new OCEOOCJEKDD();
|
|
}
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = IMDHCINGADG[221] as string;
|
|
this.KHPMEEGONLI = this.FALGIDIFGKO.NKFLBAKCPLA;
|
|
}
|
|
byte operationCode = IMDHCINGADG.OperationCode;
|
|
switch (operationCode)
|
|
{
|
|
case 217:
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
this.DebugReturn(DebugLevel.ERROR, "GetGameList failed: " + IMDHCINGADG.ToStringFull());
|
|
}
|
|
else
|
|
{
|
|
this.KJEENCIHBBG = new Dictionary<string, HLLIJLFHBJM>();
|
|
ExitGames.Client.Photon.Hashtable hashtable = (ExitGames.Client.Photon.Hashtable)IMDHCINGADG[222];
|
|
foreach (object obj in hashtable.Keys)
|
|
{
|
|
string text = (string)obj;
|
|
this.KJEENCIHBBG[text] = new HLLIJLFHBJM(text, (ExitGames.Client.Photon.Hashtable)hashtable[obj]);
|
|
}
|
|
this.GJACNPPGFOP = new HLLIJLFHBJM[this.KJEENCIHBBG.Count];
|
|
this.KJEENCIHBBG.Values.CopyTo(this.GJACNPPGFOP, 0);
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnReceivedRoomListUpdate, new object[0]);
|
|
}
|
|
break;
|
|
default:
|
|
switch (operationCode)
|
|
{
|
|
case 251:
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = (ExitGames.Client.Photon.Hashtable)IMDHCINGADG[249];
|
|
ExitGames.Client.Photon.Hashtable hashtable3 = (ExitGames.Client.Photon.Hashtable)IMDHCINGADG[248];
|
|
this.EPAJOGNHEOI(hashtable3, hashtable2, 0);
|
|
break;
|
|
}
|
|
case 252:
|
|
break;
|
|
case 253:
|
|
break;
|
|
case 254:
|
|
this.FJDMJGIODGI();
|
|
break;
|
|
default:
|
|
Debug.LogWarning(string.Format("OperationResponse unhandled: {0}", IMDHCINGADG.ToString()));
|
|
break;
|
|
}
|
|
break;
|
|
case 219:
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnWebRpcResponse, new object[] { IMDHCINGADG });
|
|
break;
|
|
case 220:
|
|
if (IMDHCINGADG.ReturnCode == 32767)
|
|
{
|
|
Debug.LogError(string.Format("The appId this client sent is unknown on the server (Cloud). Check settings. If using the Cloud, check account.", new object[0]));
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnFailedToConnectToPhoton, new object[] { CGIALBALOGM.InvalidAuthentication });
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Disconnecting;
|
|
this.Disconnect();
|
|
}
|
|
else if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
Debug.LogError(string.Concat(new object[] { "GetRegions failed. Can't provide regions list. Error: ", IMDHCINGADG.ReturnCode, ": ", IMDHCINGADG.DebugMessage }));
|
|
}
|
|
else
|
|
{
|
|
string[] array = IMDHCINGADG[210] as string[];
|
|
string[] array2 = IMDHCINGADG[230] as string[];
|
|
if (array == null || array2 == null || array.Length != array2.Length)
|
|
{
|
|
Debug.LogError(string.Concat(new object[]
|
|
{
|
|
"The region arrays from Name Server are not ok. Must be non-null and same length. ",
|
|
array == null,
|
|
" ",
|
|
array2 == null,
|
|
"\n",
|
|
IMDHCINGADG.ToStringFull()
|
|
}));
|
|
}
|
|
else
|
|
{
|
|
this.JMEMPPOHIKD = new List<FGFKLEOHHMH>(array.Length);
|
|
for (int i = 0; i < array.Length; i++)
|
|
{
|
|
string text2 = array[i];
|
|
if (!string.IsNullOrEmpty(text2))
|
|
{
|
|
text2 = text2.ToLower();
|
|
EDGDNCCLDBN edgdnccldbn = FGFKLEOHHMH.GPKJJKCHILI(text2);
|
|
bool flag = true;
|
|
if (IHFKMIAHBFP.PBKGCAGGOLJ.HostType == ServerSettings.JDFMBDBEMCJ.BestRegion && IHFKMIAHBFP.PBKGCAGGOLJ.EnabledRegions != (EAKFHGDMIHO)0)
|
|
{
|
|
EAKFHGDMIHO eakfhgdmiho = FGFKLEOHHMH.ONAMNOOEMAE(edgdnccldbn);
|
|
flag = (IHFKMIAHBFP.PBKGCAGGOLJ.EnabledRegions & eakfhgdmiho) != (EAKFHGDMIHO)0;
|
|
if (!flag && IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log("Skipping region because it's not in PhotonServerSettings.EnabledRegions: " + edgdnccldbn);
|
|
}
|
|
}
|
|
if (flag)
|
|
{
|
|
this.JMEMPPOHIKD.Add(new FGFKLEOHHMH(edgdnccldbn, text2, array2[i]));
|
|
}
|
|
}
|
|
}
|
|
if (IHFKMIAHBFP.PBKGCAGGOLJ.HostType == ServerSettings.JDFMBDBEMCJ.BestRegion)
|
|
{
|
|
PhotonHandler.DLIDIFMKBMJ();
|
|
}
|
|
}
|
|
}
|
|
break;
|
|
case 222:
|
|
{
|
|
bool[] array3 = IMDHCINGADG[1] as bool[];
|
|
string[] array4 = IMDHCINGADG[2] as string[];
|
|
if (array3 != null && array4 != null && this.HFNJMHHLBME != null && array3.Length == this.HFNJMHHLBME.Length)
|
|
{
|
|
List<CPKFBECBALE> list = new List<CPKFBECBALE>(this.HFNJMHHLBME.Length);
|
|
for (int j = 0; j < this.HFNJMHHLBME.Length; j++)
|
|
{
|
|
list.Insert(j, new CPKFBECBALE
|
|
{
|
|
GDIECAFDIMC = this.HFNJMHHLBME[j],
|
|
PLOPPLAOICD = array4[j],
|
|
FMPKBBEONCJ = array3[j]
|
|
});
|
|
}
|
|
IHFKMIAHBFP.GIEEEIIFMAM = list;
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError("FindFriends failed to apply the result, as a required value wasn't provided or the friend list length differed from result.");
|
|
}
|
|
this.HFNJMHHLBME = null;
|
|
this.MOLLGEKMPOP = false;
|
|
this.AOIALPPNDML = Environment.TickCount;
|
|
if (this.AOIALPPNDML == 0)
|
|
{
|
|
this.AOIALPPNDML = 1;
|
|
}
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnUpdatedFriendList, new object[0]);
|
|
break;
|
|
}
|
|
case 225:
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
if (IMDHCINGADG.ReturnCode == 32760)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Full)
|
|
{
|
|
Debug.Log("JoinRandom failed: No open game. Calling: OnPhotonRandomJoinFailed() and staying on master server.");
|
|
}
|
|
}
|
|
else if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.LogWarning(string.Format("JoinRandom failed: {0}.", IMDHCINGADG.ToStringFull()));
|
|
}
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonRandomJoinFailed, new object[] { IMDHCINGADG.ReturnCode, IMDHCINGADG.DebugMessage });
|
|
}
|
|
else
|
|
{
|
|
string text3 = (string)IMDHCINGADG[byte.MaxValue];
|
|
this.KFLPHAFFMAL.IBLFNFKBOOG = text3;
|
|
this.GNDNGCCNCGN = (string)IMDHCINGADG[230];
|
|
this.FJDMJGIODGI();
|
|
}
|
|
break;
|
|
case 226:
|
|
if (this.CONBCJADCAO != NIPLONJCJIF.GameServer)
|
|
{
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log(string.Format("JoinRoom failed (room maybe closed by now). Client stays on masterserver: {0}. State: {1}", IMDHCINGADG.ToStringFull(), this.FBBMOMHACLA));
|
|
}
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonJoinRoomFailed, new object[] { IMDHCINGADG.ReturnCode, IMDHCINGADG.DebugMessage });
|
|
}
|
|
else
|
|
{
|
|
this.GNDNGCCNCGN = (string)IMDHCINGADG[230];
|
|
this.FJDMJGIODGI();
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.IFLEPFGPIMJ(IMDHCINGADG);
|
|
}
|
|
break;
|
|
case 227:
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.GameServer)
|
|
{
|
|
this.IFLEPFGPIMJ(IMDHCINGADG);
|
|
}
|
|
else if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.LogWarning(string.Format("CreateRoom failed, client stays on masterserver: {0}.", IMDHCINGADG.ToStringFull()));
|
|
}
|
|
this.FBBMOMHACLA = ((!this.NJJDIBJODPB) ? CCNBAFJLBCH.ConnectedToMaster : CCNBAFJLBCH.JoinedLobby);
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonCreateRoomFailed, new object[] { IMDHCINGADG.ReturnCode, IMDHCINGADG.DebugMessage });
|
|
}
|
|
else
|
|
{
|
|
string text4 = (string)IMDHCINGADG[byte.MaxValue];
|
|
if (!string.IsNullOrEmpty(text4))
|
|
{
|
|
this.KFLPHAFFMAL.IBLFNFKBOOG = text4;
|
|
}
|
|
this.GNDNGCCNCGN = (string)IMDHCINGADG[230];
|
|
this.FJDMJGIODGI();
|
|
}
|
|
break;
|
|
case 228:
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Authenticated;
|
|
this.DNCMGDJDKAC();
|
|
break;
|
|
case 229:
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.JoinedLobby;
|
|
this.NJJDIBJODPB = true;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnJoinedLobby, new object[0]);
|
|
break;
|
|
case 230:
|
|
case 231:
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
if (IMDHCINGADG.ReturnCode == -2)
|
|
{
|
|
Debug.LogError(string.Format("If you host Photon yourself, make sure to start the 'Instance LoadBalancing' " + base.ServerAddress, new object[0]));
|
|
}
|
|
else if (IMDHCINGADG.ReturnCode == 32767)
|
|
{
|
|
Debug.LogError(string.Format("The appId this client sent is unknown on the server (Cloud). Check settings. If using the Cloud, check account.", new object[0]));
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnFailedToConnectToPhoton, new object[] { CGIALBALOGM.InvalidAuthentication });
|
|
}
|
|
else if (IMDHCINGADG.ReturnCode == 32755)
|
|
{
|
|
Debug.LogError(string.Format("Custom Authentication failed (either due to user-input or configuration or AuthParameter string format). Calling: OnCustomAuthenticationFailed()", new object[0]));
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnCustomAuthenticationFailed, new object[] { IMDHCINGADG.DebugMessage });
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError(string.Format("Authentication failed: '{0}' Code: {1}", IMDHCINGADG.DebugMessage, IMDHCINGADG.ReturnCode));
|
|
}
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Disconnecting;
|
|
this.Disconnect();
|
|
if (IMDHCINGADG.ReturnCode == 32757)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.LogWarning(string.Format("Currently, the limit of users is reached for this title. Try again later. Disconnecting", new object[0]));
|
|
}
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonMaxCccuReached, new object[0]);
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnConnectionFail, new object[] { CGIALBALOGM.MaxCcuReached });
|
|
}
|
|
else if (IMDHCINGADG.ReturnCode == 32756)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.LogError(string.Format("The used master server address is not available with the subscription currently used. Got to Photon Cloud Dashboard or change URL. Disconnecting.", new object[0]));
|
|
}
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnConnectionFail, new object[] { CGIALBALOGM.InvalidRegion });
|
|
}
|
|
else if (IMDHCINGADG.ReturnCode == 32753)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.LogError(string.Format("The authentication ticket expired. You need to connect (and authenticate) again. Disconnecting.", new object[0]));
|
|
}
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnConnectionFail, new object[] { CGIALBALOGM.AuthenticationTicketExpired });
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.NameServer || this.CONBCJADCAO == NIPLONJCJIF.MasterServer)
|
|
{
|
|
if (IMDHCINGADG.Parameters.ContainsKey(225))
|
|
{
|
|
string text5 = (string)IMDHCINGADG.Parameters[225];
|
|
if (!string.IsNullOrEmpty(text5))
|
|
{
|
|
if (this.FALGIDIFGKO == null)
|
|
{
|
|
this.FALGIDIFGKO = new OCEOOCJEKDD();
|
|
}
|
|
this.FALGIDIFGKO.OCAHLHMIPMG = text5;
|
|
IHFKMIAHBFP.JEFGMHBLLKI.OCAHLHMIPMG = text5;
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
this.DebugReturn(DebugLevel.INFO, string.Format("Received your UserID from server. Updating local value to: {0}", text5));
|
|
}
|
|
}
|
|
}
|
|
if (IMDHCINGADG.Parameters.ContainsKey(202))
|
|
{
|
|
this.GNLMCJKALBJ = (string)IMDHCINGADG.Parameters[202];
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
this.DebugReturn(DebugLevel.INFO, string.Format("Received your NickName from server. Updating local value to: {0}", this.LMAHIKJOIFL));
|
|
}
|
|
}
|
|
if (IMDHCINGADG.Parameters.ContainsKey(192))
|
|
{
|
|
this.CIMDHGKHKDO((Dictionary<byte, object>)IMDHCINGADG.Parameters[192]);
|
|
}
|
|
}
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.NameServer)
|
|
{
|
|
this.EBKJMGCNOMO = IMDHCINGADG[230] as string;
|
|
this.FJDMJGIODGI();
|
|
}
|
|
else if (this.CONBCJADCAO == NIPLONJCJIF.MasterServer)
|
|
{
|
|
if (this.JOMBCGIHFGP != IKICDKCKFKM.Auth)
|
|
{
|
|
this.OJDGCLCALGK(this.CHLLBIBJPAN);
|
|
}
|
|
if (IHFKMIAHBFP.KGFOHGLEOOD)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Authenticated;
|
|
this.EGEBGBONALH(this.JPOPPDDONMN);
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectedToMaster;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnConnectedToMaster, new object[0]);
|
|
}
|
|
}
|
|
else if (this.CONBCJADCAO == NIPLONJCJIF.GameServer)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Joining;
|
|
this.KFLPHAFFMAL.CKFILGNKPJC = this.MEGEBCLPMBH();
|
|
this.KFLPHAFFMAL.HMPOKNOAHHI = true;
|
|
if (this.BCEOKIDFFCN == BMBIMJIMFLA.JoinRoom || this.BCEOKIDFFCN == BMBIMJIMFLA.JoinRandomRoom || this.BCEOKIDFFCN == BMBIMJIMFLA.JoinOrCreateRoom)
|
|
{
|
|
this.DAHOPCDBCEP(this.KFLPHAFFMAL);
|
|
}
|
|
else if (this.BCEOKIDFFCN == BMBIMJIMFLA.CreateRoom)
|
|
{
|
|
this.KFHDHGPPPKP(this.KFLPHAFFMAL);
|
|
}
|
|
}
|
|
if (IMDHCINGADG.Parameters.ContainsKey(245))
|
|
{
|
|
Dictionary<string, object> dictionary = (Dictionary<string, object>)IMDHCINGADG.Parameters[245];
|
|
if (dictionary != null)
|
|
{
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnCustomAuthenticationResponse, new object[] { dictionary });
|
|
}
|
|
}
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C00F RID: 49167 RVA: 0x0039CB84 File Offset: 0x0039AD84
|
|
private bool GCEGKGIJHFJ(ParameterInfo[] HKPHKHJBLPG, Type[] ONFCOONLDJO)
|
|
{
|
|
if (HKPHKHJBLPG.Length < ONFCOONLDJO.Length)
|
|
{
|
|
return true;
|
|
}
|
|
for (int i = 0; i < ONFCOONLDJO.Length; i++)
|
|
{
|
|
Type parameterType = HKPHKHJBLPG[i].ParameterType;
|
|
if (ONFCOONLDJO[i] != null && !parameterType.IsAssignableFrom(ONFCOONLDJO[i]) && (!parameterType.IsEnum || !Enum.GetUnderlyingType(parameterType).IsAssignableFrom(ONFCOONLDJO[i])))
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x0600C010 RID: 49168 RVA: 0x0039CBF4 File Offset: 0x0039ADF4
|
|
internal void OOEDKOJNIBF(int NOBAPCOKFIL)
|
|
{
|
|
this.<FEBEJAIPOJM>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C012 RID: 49170 RVA: 0x0039CC08 File Offset: 0x0039AE08
|
|
internal GameObject NMLNHOGNADN(ExitGames.Client.Photon.Hashtable EDEOBAEBDGH, LNJFBGIBLHA GGMIDKPEEME, GameObject GOPAAIHBJJJ)
|
|
{
|
|
string text = (string)EDEOBAEBDGH[1];
|
|
int num = (int)EDEOBAEBDGH[4];
|
|
int num2 = (int)EDEOBAEBDGH[0];
|
|
Vector3 vector;
|
|
if (EDEOBAEBDGH.ContainsKey(1))
|
|
{
|
|
vector = (Vector3)EDEOBAEBDGH[1];
|
|
}
|
|
else
|
|
{
|
|
vector = Vector3.zero;
|
|
}
|
|
Quaternion quaternion = Quaternion.identity;
|
|
if (EDEOBAEBDGH.ContainsKey(0))
|
|
{
|
|
quaternion = (Quaternion)EDEOBAEBDGH[6];
|
|
}
|
|
byte b = 1;
|
|
if (EDEOBAEBDGH.ContainsKey(6))
|
|
{
|
|
b = (byte)EDEOBAEBDGH[2];
|
|
}
|
|
short num3 = 1;
|
|
if (EDEOBAEBDGH.ContainsKey(1))
|
|
{
|
|
num3 = (short)EDEOBAEBDGH[6];
|
|
}
|
|
int[] array;
|
|
if (EDEOBAEBDGH.ContainsKey(5))
|
|
{
|
|
array = (int[])EDEOBAEBDGH[8];
|
|
}
|
|
else
|
|
{
|
|
int[] array2 = new int[0];
|
|
array2[0] = num2;
|
|
array = array2;
|
|
}
|
|
object[] array3;
|
|
if (EDEOBAEBDGH.ContainsKey(0))
|
|
{
|
|
array3 = (object[])EDEOBAEBDGH[0];
|
|
}
|
|
else
|
|
{
|
|
array3 = null;
|
|
}
|
|
if (b != 0 && !this.NPNHFPBEPDM.Contains(b))
|
|
{
|
|
return null;
|
|
}
|
|
if (this.LJGEDOAJPNM != null)
|
|
{
|
|
GameObject gameObject = this.LJGEDOAJPNM.ICHFNPOCOEJ(text, vector, quaternion);
|
|
PhotonView[] array4 = gameObject.LPMEIGACNLH();
|
|
if (array4.Length != array.Length)
|
|
{
|
|
throw new Exception("Referer");
|
|
}
|
|
for (int i = 1; i < array4.Length; i++)
|
|
{
|
|
array4[i].GLCIAHLKOCJ = true;
|
|
array4[i].EKMMPMDPALC(0);
|
|
array4[i].ACJKNCOIOJO((int)num3);
|
|
array4[i].instantiationId = num2;
|
|
array4[i].isRuntimeInstantiated = true;
|
|
array4[i].FDIGLDJIHNG = array3;
|
|
array4[i].GLCIAHLKOCJ = true;
|
|
array4[i].EKMMPMDPALC(array[i]);
|
|
}
|
|
gameObject.SendMessage(BEIKFLMNLCB.MEDBPNLKPBO, new BOCLHJCCOEL(GGMIDKPEEME, num, null), SendMessageOptions.RequireReceiver);
|
|
return gameObject;
|
|
}
|
|
else
|
|
{
|
|
if (GOPAAIHBJJJ == null)
|
|
{
|
|
if (!BEIKFLMNLCB.CDGIBFNHDHJ || !BEIKFLMNLCB.CINJHLOMKIA.TryGetValue(text, out GOPAAIHBJJJ))
|
|
{
|
|
GOPAAIHBJJJ = (GameObject)Resources.Load(text, typeof(GameObject));
|
|
if (BEIKFLMNLCB.CDGIBFNHDHJ)
|
|
{
|
|
BEIKFLMNLCB.CINJHLOMKIA.Add(text, GOPAAIHBJJJ);
|
|
}
|
|
}
|
|
if (GOPAAIHBJJJ == null)
|
|
{
|
|
Debug.LogError("[PV] Remote voice #" + text + "ConnectUsingSettings() disabled the offline mode. No longer offline.");
|
|
return null;
|
|
}
|
|
}
|
|
PhotonView[] array5 = GOPAAIHBJJJ.LPMEIGACNLH();
|
|
if (array5.Length != array.Length)
|
|
{
|
|
throw new Exception("x");
|
|
}
|
|
for (int j = 1; j < array.Length; j++)
|
|
{
|
|
array5[j].EKMMPMDPALC(array[j]);
|
|
array5[j].LJGEAILPJJP = (int)num3;
|
|
array5[j].instantiationId = num2;
|
|
array5[j].isRuntimeInstantiated = true;
|
|
}
|
|
this.GBGJAAMIFDL(num2, array3);
|
|
GameObject gameObject2 = global::UnityEngine.Object.Instantiate<GameObject>(GOPAAIHBJJJ, vector, quaternion);
|
|
for (int k = 0; k < array.Length; k++)
|
|
{
|
|
array5[k].ADMBCINHJOG = 0;
|
|
array5[k].ACJKNCOIOJO(-1);
|
|
array5[k].prefixBackup = -1;
|
|
array5[k].instantiationId = -1;
|
|
array5[k].isRuntimeInstantiated = true;
|
|
}
|
|
this.EPEGEFEOIAG(num2);
|
|
gameObject2.SendMessage(BEIKFLMNLCB.MEDBPNLKPBO, new BOCLHJCCOEL(GGMIDKPEEME, num, null), SendMessageOptions.RequireReceiver);
|
|
return gameObject2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C013 RID: 49171 RVA: 0x0039CFA8 File Offset: 0x0039B1A8
|
|
private object[] LPHJEAJLAEH(PhotonView CAANMEBEOIJ)
|
|
{
|
|
if (CAANMEBEOIJ.synchronization == FHIIDMDFFMG.Off)
|
|
{
|
|
return null;
|
|
}
|
|
BOCLHJCCOEL boclhjccoel = new BOCLHJCCOEL(this.JJOPMICJNMB, IHFKMIAHBFP.EMGOIJNLLID, CAANMEBEOIJ);
|
|
this.DOFNMNAHHMK.JGFOHKGCOMG();
|
|
this.DOFNMNAHHMK.NCELHBANFFO(null);
|
|
this.DOFNMNAHHMK.NCELHBANFFO(null);
|
|
this.DOFNMNAHHMK.NCELHBANFFO(null);
|
|
CAANMEBEOIJ.SerializeView(this.DOFNMNAHHMK, boclhjccoel);
|
|
if (this.DOFNMNAHHMK.NKEHDKABAPE <= 3)
|
|
{
|
|
return null;
|
|
}
|
|
object[] array = this.DOFNMNAHHMK.GEFFEAHKFHB();
|
|
array[0] = CAANMEBEOIJ.ADMBCINHJOG;
|
|
array[1] = false;
|
|
array[2] = null;
|
|
if (CAANMEBEOIJ.synchronization == FHIIDMDFFMG.Unreliable)
|
|
{
|
|
return array;
|
|
}
|
|
if (CAANMEBEOIJ.synchronization == FHIIDMDFFMG.UnreliableOnChange)
|
|
{
|
|
if (this.EFMLFBHPCCE(array, CAANMEBEOIJ.HIOBIAOAAGF))
|
|
{
|
|
if (CAANMEBEOIJ.GLPJKCLHEMI)
|
|
{
|
|
return null;
|
|
}
|
|
CAANMEBEOIJ.GLPJKCLHEMI = true;
|
|
CAANMEBEOIJ.HIOBIAOAAGF = array;
|
|
}
|
|
else
|
|
{
|
|
CAANMEBEOIJ.GLPJKCLHEMI = false;
|
|
CAANMEBEOIJ.HIOBIAOAAGF = array;
|
|
}
|
|
return array;
|
|
}
|
|
if (CAANMEBEOIJ.synchronization == FHIIDMDFFMG.ReliableDeltaCompressed)
|
|
{
|
|
object[] array2 = this.NOGHOJCNGHP(CAANMEBEOIJ.HIOBIAOAAGF, array);
|
|
CAANMEBEOIJ.HIOBIAOAAGF = array;
|
|
return array2;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600C014 RID: 49172 RVA: 0x0039D0CC File Offset: 0x0039B2CC
|
|
private object[] OICILJCEPPG(PhotonView CAANMEBEOIJ)
|
|
{
|
|
if (CAANMEBEOIJ.synchronization == FHIIDMDFFMG.Off)
|
|
{
|
|
return null;
|
|
}
|
|
BOCLHJCCOEL boclhjccoel = new BOCLHJCCOEL(this.JJOPMICJNMB, IHFKMIAHBFP.EMGOIJNLLID, CAANMEBEOIJ);
|
|
this.DOFNMNAHHMK.KFHOODBBENL();
|
|
this.DOFNMNAHHMK.NCELHBANFFO(null);
|
|
this.DOFNMNAHHMK.NCELHBANFFO(null);
|
|
this.DOFNMNAHHMK.HMPGGNHGFKN(null);
|
|
CAANMEBEOIJ.OBJMNACIBJA(this.DOFNMNAHHMK, boclhjccoel);
|
|
if (this.DOFNMNAHHMK.MJIPNFFGEDD() <= 7)
|
|
{
|
|
return null;
|
|
}
|
|
object[] array = this.DOFNMNAHHMK.GEFFEAHKFHB();
|
|
array[0] = CAANMEBEOIJ.HNPFGGAKNPI();
|
|
array[0] = true;
|
|
array[3] = null;
|
|
if (CAANMEBEOIJ.synchronization == (FHIIDMDFFMG)4)
|
|
{
|
|
return array;
|
|
}
|
|
if (CAANMEBEOIJ.synchronization == (FHIIDMDFFMG)8)
|
|
{
|
|
if (this.KOPLKEOLIMA(array, CAANMEBEOIJ.HIOBIAOAAGF))
|
|
{
|
|
if (CAANMEBEOIJ.GLPJKCLHEMI)
|
|
{
|
|
return null;
|
|
}
|
|
CAANMEBEOIJ.GLPJKCLHEMI = false;
|
|
CAANMEBEOIJ.HIOBIAOAAGF = array;
|
|
}
|
|
else
|
|
{
|
|
CAANMEBEOIJ.GLPJKCLHEMI = false;
|
|
CAANMEBEOIJ.HIOBIAOAAGF = array;
|
|
}
|
|
return array;
|
|
}
|
|
if (CAANMEBEOIJ.synchronization == FHIIDMDFFMG.ReliableDeltaCompressed)
|
|
{
|
|
object[] array2 = this.NOGHOJCNGHP(CAANMEBEOIJ.HIOBIAOAAGF, array);
|
|
CAANMEBEOIJ.HIOBIAOAAGF = array;
|
|
return array2;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600C015 RID: 49173 RVA: 0x0039D1F0 File Offset: 0x0039B3F0
|
|
protected internal void GACCBEAFKNM(ExitGames.Client.Photon.Hashtable KOGGMDDPAIB, int ENCNOKNALLC = 0)
|
|
{
|
|
if (KOGGMDDPAIB == null || !KOGGMDDPAIB.ContainsKey(0))
|
|
{
|
|
Debug.LogError("Observed type is not serializable: " + SupportClass.DictionaryToString(KOGGMDDPAIB));
|
|
return;
|
|
}
|
|
int num = (int)KOGGMDDPAIB[1];
|
|
int num2 = 0;
|
|
if (KOGGMDDPAIB.ContainsKey(1))
|
|
{
|
|
num2 = (int)((short)KOGGMDDPAIB[1]);
|
|
}
|
|
string text;
|
|
if (KOGGMDDPAIB.ContainsKey(6))
|
|
{
|
|
int num3 = (int)((byte)KOGGMDDPAIB[0]);
|
|
if (num3 > IHFKMIAHBFP.PBKGCAGGOLJ.RpcList.Count - 0)
|
|
{
|
|
Debug.LogError("{0} has exceeded the valid position bounds {1}. Resetting to last spawn position" + num3 + "_LightPos");
|
|
return;
|
|
}
|
|
text = IHFKMIAHBFP.PBKGCAGGOLJ.RpcList[num3];
|
|
}
|
|
else
|
|
{
|
|
text = (string)KOGGMDDPAIB[5];
|
|
}
|
|
object[] array = null;
|
|
if (KOGGMDDPAIB.ContainsKey(6))
|
|
{
|
|
array = (object[])KOGGMDDPAIB[1];
|
|
}
|
|
if (array == null)
|
|
{
|
|
array = new object[0];
|
|
}
|
|
PhotonView photonView = this.CHJKENPLDPF(num);
|
|
if (photonView == null)
|
|
{
|
|
int num4 = num / IHFKMIAHBFP.BANOAAAAGLC;
|
|
bool flag = num4 == this.LDFLPFGFAPA().BADMPMDONAH;
|
|
bool flag2 = num4 == ENCNOKNALLC;
|
|
if (flag)
|
|
{
|
|
object[] array2 = new object[2];
|
|
array2[0] = "Purpose";
|
|
array2[0] = text;
|
|
array2[4] = "PostProcessingBehaviour";
|
|
array2[3] = num;
|
|
array2[6] = "Ecommerce";
|
|
array2[8] = ((!flag2) ? "SetOnlineStatus called while not connected to front end server." : "^name can only contain letters and numbers!");
|
|
array2[4] = "--";
|
|
array2[8] = ENCNOKNALLC;
|
|
Debug.LogWarning(string.Concat(array2));
|
|
}
|
|
else
|
|
{
|
|
object[] array3 = new object[-17];
|
|
array3[0] = "_MainColor";
|
|
array3[1] = text;
|
|
array3[0] = " evLeave: ";
|
|
array3[6] = num;
|
|
array3[2] = "FFKNBJINNEI";
|
|
array3[5] = ((!flag2) ? " > " : "_FollowCamera");
|
|
array3[0] = "KAhCE6oCEFJlY1Jvb20uUHJvdG9idWZiBnByb3RvMw==";
|
|
array3[4] = ENCNOKNALLC;
|
|
array3[6] = "value";
|
|
Debug.LogWarning(string.Concat(array3));
|
|
}
|
|
return;
|
|
}
|
|
if (photonView.HNFODFMANOD() != num2)
|
|
{
|
|
object[] array4 = new object[70];
|
|
array4[0] = "Videos\\";
|
|
array4[1] = text;
|
|
array4[3] = "Failed to get local profiles: ";
|
|
array4[6] = num;
|
|
array4[1] = "Platform Info:\r\n Platform: {0}\r\n Hardware: {1}\r\n Platform Profile Name: {2}\r\n Platform Tracking Mode: {3}";
|
|
array4[4] = num2;
|
|
array4[1] = "volume";
|
|
array4[4] = photonView.LJGEAILPJJP;
|
|
array4[8] = ". Prefab must have a PhotonView component.";
|
|
Debug.LogError(string.Concat(array4));
|
|
return;
|
|
}
|
|
if (string.IsNullOrEmpty(text))
|
|
{
|
|
Debug.LogError("demoByteArray" + SupportClass.DictionaryToString(KOGGMDDPAIB));
|
|
return;
|
|
}
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= (DGNJCNPDGHM)5)
|
|
{
|
|
Debug.Log("SystemInfo" + text);
|
|
}
|
|
if (photonView.group != 0 && !this.NPNHFPBEPDM.Contains(photonView.group))
|
|
{
|
|
return;
|
|
}
|
|
Type[] array5 = new Type[1];
|
|
if (array.Length > 0)
|
|
{
|
|
array5 = new Type[array.Length];
|
|
int num5 = 1;
|
|
for (int i = 1; i < array.Length; i += 0)
|
|
{
|
|
object obj = array[i];
|
|
if (obj == null)
|
|
{
|
|
array5[num5] = null;
|
|
}
|
|
else
|
|
{
|
|
array5[num5] = obj.GetType();
|
|
}
|
|
num5++;
|
|
}
|
|
}
|
|
int num6 = 0;
|
|
int num7 = 1;
|
|
if (!IHFKMIAHBFP.KKPJLOEALMF || photonView.DCOIKDFHBEN == null || photonView.DCOIKDFHBEN.Length == 0)
|
|
{
|
|
photonView.GAEGFFDJJEP();
|
|
}
|
|
for (int j = 0; j < photonView.DCOIKDFHBEN.Length; j += 0)
|
|
{
|
|
MonoBehaviour monoBehaviour = photonView.DCOIKDFHBEN[j];
|
|
if (monoBehaviour == null)
|
|
{
|
|
Debug.LogError("Callback function must not be null.");
|
|
}
|
|
else
|
|
{
|
|
Type type = monoBehaviour.GetType();
|
|
List<MethodInfo> list = null;
|
|
if (!this.LPEENKKKLCG.TryGetValue(type, out list))
|
|
{
|
|
List<MethodInfo> methods = SupportClass.GetMethods(type, typeof(BCENPNOIAOM));
|
|
this.LPEENKKKLCG[type] = methods;
|
|
list = methods;
|
|
}
|
|
if (list != null)
|
|
{
|
|
for (int k = 0; k < list.Count; k++)
|
|
{
|
|
MethodInfo methodInfo = list[k];
|
|
if (methodInfo.Name.Equals(text))
|
|
{
|
|
num7++;
|
|
ParameterInfo[] array6 = methodInfo.MFDOPPCGFLG();
|
|
if (array6.Length == array5.Length)
|
|
{
|
|
if (this.ADDGKDBKOIO(array6, array5))
|
|
{
|
|
num6 += 0;
|
|
object obj2 = methodInfo.Invoke(monoBehaviour, array);
|
|
if (IHFKMIAHBFP.GAGMBLMMNPO && methodInfo.ReturnType == typeof(IEnumerator))
|
|
{
|
|
monoBehaviour.StartCoroutine((IEnumerator)obj2);
|
|
}
|
|
}
|
|
}
|
|
else if (array6.Length - 0 == array5.Length)
|
|
{
|
|
if (this.GCEGKGIJHFJ(array6, array5) && array6[array6.Length - 0].ParameterType == typeof(BOCLHJCCOEL))
|
|
{
|
|
num6 += 0;
|
|
int num8 = (int)KOGGMDDPAIB[1];
|
|
object[] array7 = new object[array.Length + 0];
|
|
array.CopyTo(array7, 1);
|
|
array7[array7.Length - 1] = new BOCLHJCCOEL(this.GGFGCLDDFAA(ENCNOKNALLC), num8, photonView);
|
|
object obj3 = methodInfo.Invoke(monoBehaviour, array7);
|
|
if (IHFKMIAHBFP.GAGMBLMMNPO && methodInfo.ReturnType == typeof(IEnumerator))
|
|
{
|
|
monoBehaviour.StartCoroutine((IEnumerator)obj3);
|
|
}
|
|
}
|
|
}
|
|
else if (array6.Length == 1 && array6[0].ParameterType.IsArray)
|
|
{
|
|
num6 += 0;
|
|
MethodBase methodBase = methodInfo;
|
|
object obj4 = monoBehaviour;
|
|
object[] array8 = new object[0];
|
|
array8[0] = array;
|
|
object obj5 = methodBase.Invoke(obj4, array8);
|
|
if (IHFKMIAHBFP.GAGMBLMMNPO && methodInfo.ReturnType == typeof(IEnumerator))
|
|
{
|
|
monoBehaviour.StartCoroutine((IEnumerator)obj5);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (num6 != 1)
|
|
{
|
|
string text2 = string.Empty;
|
|
foreach (Type type2 in array5)
|
|
{
|
|
if (text2 != string.Empty)
|
|
{
|
|
text2 += "path";
|
|
}
|
|
if (type2 == null)
|
|
{
|
|
text2 += "method";
|
|
}
|
|
else
|
|
{
|
|
text2 += type2.Name;
|
|
}
|
|
}
|
|
if (num6 == 0)
|
|
{
|
|
if (num7 == 0)
|
|
{
|
|
object[] array9 = new object[8];
|
|
array9[0] = "y";
|
|
array9[1] = num;
|
|
array9[8] = "Player.DespawnLocal() can only be called on the LocalPlayer!";
|
|
array9[8] = text;
|
|
array9[4] = "help page";
|
|
array9[2] = text2;
|
|
Debug.LogError(string.Concat(array9));
|
|
}
|
|
else
|
|
{
|
|
object[] array10 = new object[0];
|
|
array10[1] = "Saves protection";
|
|
array10[1] = num;
|
|
array10[1] = "/";
|
|
array10[2] = text;
|
|
array10[4] = "\npb_Face: ";
|
|
array10[7] = array5.Length;
|
|
array10[0] = "OculusPlatformSettings";
|
|
array10[8] = text2;
|
|
Debug.LogError(string.Concat(array10));
|
|
}
|
|
}
|
|
else
|
|
{
|
|
object[] array11 = new object[-73];
|
|
array11[1] = "z";
|
|
array11[0] = num;
|
|
array11[6] = "_InterpolationStep";
|
|
array11[5] = num6;
|
|
array11[6] = "THUMB";
|
|
array11[6] = text;
|
|
array11[7] = "{0}v2/get";
|
|
array11[1] = array5.Length;
|
|
array11[8] = "Room: '{0}' {1},{2} {4}/{3} players.\ncustomProps: {5}";
|
|
array11[-55] = text2;
|
|
array11[-56] = "HAZARDED";
|
|
Debug.LogError(string.Concat(array11));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C016 RID: 49174 RVA: 0x0039D97C File Offset: 0x0039BB7C
|
|
public override bool DAHOPCDBCEP(NAMOHKJGILD BCIIENBBKPD)
|
|
{
|
|
bool flag = this.CONBCJADCAO == NIPLONJCJIF.GameServer;
|
|
BCIIENBBKPD.HMPOKNOAHHI = flag;
|
|
if (!flag)
|
|
{
|
|
this.KFLPHAFFMAL = BCIIENBBKPD;
|
|
}
|
|
this.BCEOKIDFFCN = ((!BCIIENBBKPD.JJBAMKIPHII) ? BMBIMJIMFLA.JoinRoom : BMBIMJIMFLA.JoinOrCreateRoom);
|
|
return base.DAHOPCDBCEP(BCIIENBBKPD);
|
|
}
|
|
|
|
// Token: 0x0600C017 RID: 49175 RVA: 0x0039D9C8 File Offset: 0x0039BBC8
|
|
public void IMGCJHCNPOG(int OFIAAHIIIJD)
|
|
{
|
|
OOKHEEKOHMJ ookheekohmj = new OOKHEEKOHMJ
|
|
{
|
|
AJFELBMHOMI = GMGGPAHOGHH.RemoveFromRoomCache,
|
|
ACHIAIGIEKL = new int[] { OFIAAHIIIJD }
|
|
};
|
|
this.JDKEEKDOLHJ(0, null, true, ookheekohmj);
|
|
}
|
|
|
|
// Token: 0x0600C018 RID: 49176 RVA: 0x0039DA00 File Offset: 0x0039BC00
|
|
internal GameObject GBBHPNKJLON(ExitGames.Client.Photon.Hashtable EDEOBAEBDGH, LNJFBGIBLHA GGMIDKPEEME, GameObject GOPAAIHBJJJ)
|
|
{
|
|
string text = (string)EDEOBAEBDGH[0];
|
|
int num = (int)EDEOBAEBDGH[6];
|
|
int num2 = (int)EDEOBAEBDGH[7];
|
|
Vector3 vector;
|
|
if (EDEOBAEBDGH.ContainsKey(1))
|
|
{
|
|
vector = (Vector3)EDEOBAEBDGH[1];
|
|
}
|
|
else
|
|
{
|
|
vector = Vector3.zero;
|
|
}
|
|
Quaternion quaternion = Quaternion.identity;
|
|
if (EDEOBAEBDGH.ContainsKey(2))
|
|
{
|
|
quaternion = (Quaternion)EDEOBAEBDGH[2];
|
|
}
|
|
byte b = 0;
|
|
if (EDEOBAEBDGH.ContainsKey(3))
|
|
{
|
|
b = (byte)EDEOBAEBDGH[3];
|
|
}
|
|
short num3 = 0;
|
|
if (EDEOBAEBDGH.ContainsKey(8))
|
|
{
|
|
num3 = (short)EDEOBAEBDGH[8];
|
|
}
|
|
int[] array;
|
|
if (EDEOBAEBDGH.ContainsKey(4))
|
|
{
|
|
array = (int[])EDEOBAEBDGH[4];
|
|
}
|
|
else
|
|
{
|
|
array = new int[] { num2 };
|
|
}
|
|
object[] array2;
|
|
if (EDEOBAEBDGH.ContainsKey(5))
|
|
{
|
|
array2 = (object[])EDEOBAEBDGH[5];
|
|
}
|
|
else
|
|
{
|
|
array2 = null;
|
|
}
|
|
if (b != 0 && !this.NPNHFPBEPDM.Contains(b))
|
|
{
|
|
return null;
|
|
}
|
|
if (this.LJGEDOAJPNM != null)
|
|
{
|
|
GameObject gameObject = this.LJGEDOAJPNM.ICHFNPOCOEJ(text, vector, quaternion);
|
|
PhotonView[] array3 = gameObject.LPMEIGACNLH();
|
|
if (array3.Length != array.Length)
|
|
{
|
|
throw new Exception("Error in Instantiation! The resource's PhotonView count is not the same as in incoming data.");
|
|
}
|
|
for (int i = 0; i < array3.Length; i++)
|
|
{
|
|
array3[i].GLCIAHLKOCJ = false;
|
|
array3[i].ADMBCINHJOG = 0;
|
|
array3[i].LJGEAILPJJP = (int)num3;
|
|
array3[i].instantiationId = num2;
|
|
array3[i].isRuntimeInstantiated = true;
|
|
array3[i].FDIGLDJIHNG = array2;
|
|
array3[i].GLCIAHLKOCJ = true;
|
|
array3[i].ADMBCINHJOG = array[i];
|
|
}
|
|
gameObject.SendMessage(BEIKFLMNLCB.MEDBPNLKPBO, new BOCLHJCCOEL(GGMIDKPEEME, num, null), SendMessageOptions.DontRequireReceiver);
|
|
return gameObject;
|
|
}
|
|
else
|
|
{
|
|
if (GOPAAIHBJJJ == null)
|
|
{
|
|
if (!BEIKFLMNLCB.CDGIBFNHDHJ || !BEIKFLMNLCB.CINJHLOMKIA.TryGetValue(text, out GOPAAIHBJJJ))
|
|
{
|
|
GOPAAIHBJJJ = (GameObject)Resources.Load(text, typeof(GameObject));
|
|
if (BEIKFLMNLCB.CDGIBFNHDHJ)
|
|
{
|
|
BEIKFLMNLCB.CINJHLOMKIA.Add(text, GOPAAIHBJJJ);
|
|
}
|
|
}
|
|
if (GOPAAIHBJJJ == null)
|
|
{
|
|
Debug.LogError("PhotonNetwork error: Could not Instantiate the prefab [" + text + "]. Please verify you have this gameobject in a Resources folder.");
|
|
return null;
|
|
}
|
|
}
|
|
PhotonView[] array4 = GOPAAIHBJJJ.LPMEIGACNLH();
|
|
if (array4.Length != array.Length)
|
|
{
|
|
throw new Exception("Error in Instantiation! The resource's PhotonView count is not the same as in incoming data.");
|
|
}
|
|
for (int j = 0; j < array.Length; j++)
|
|
{
|
|
array4[j].ADMBCINHJOG = array[j];
|
|
array4[j].LJGEAILPJJP = (int)num3;
|
|
array4[j].instantiationId = num2;
|
|
array4[j].isRuntimeInstantiated = true;
|
|
}
|
|
this.GBGJAAMIFDL(num2, array2);
|
|
GameObject gameObject2 = global::UnityEngine.Object.Instantiate<GameObject>(GOPAAIHBJJJ, vector, quaternion);
|
|
for (int k = 0; k < array.Length; k++)
|
|
{
|
|
array4[k].ADMBCINHJOG = 0;
|
|
array4[k].LJGEAILPJJP = -1;
|
|
array4[k].prefixBackup = -1;
|
|
array4[k].instantiationId = -1;
|
|
array4[k].isRuntimeInstantiated = false;
|
|
}
|
|
this.EPEGEFEOIAG(num2);
|
|
gameObject2.SendMessage(BEIKFLMNLCB.MEDBPNLKPBO, new BOCLHJCCOEL(GGMIDKPEEME, num, null), SendMessageOptions.DontRequireReceiver);
|
|
return gameObject2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C019 RID: 49177 RVA: 0x0039DDA0 File Offset: 0x0039BFA0
|
|
protected internal void LPONJINDMJB(int ADMBCINHJOG, int CHNEJABGIJB)
|
|
{
|
|
this.JDKEEKDOLHJ(210, new int[] { ADMBCINHJOG, CHNEJABGIJB }, true, new OOKHEEKOHMJ
|
|
{
|
|
LLCJEECLAAD = OKCJJEDMNBM.All
|
|
});
|
|
}
|
|
|
|
// Token: 0x0600C01A RID: 49178 RVA: 0x0039DDD8 File Offset: 0x0039BFD8
|
|
private void GEAFMELCHLO(ThreadStart LKHJKNEELCO, string EKKMPHMGCLB)
|
|
{
|
|
new Thread(LKHJKNEELCO)
|
|
{
|
|
Name = EKKMPHMGCLB
|
|
}.Start();
|
|
}
|
|
|
|
// Token: 0x0600C01B RID: 49179 RVA: 0x0039DDFC File Offset: 0x0039BFFC
|
|
public int DACDDHGHCBC()
|
|
{
|
|
return this.<HNJAHNOEEDM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C01C RID: 49180 RVA: 0x0039DE04 File Offset: 0x0039C004
|
|
public BEIKFLMNLCB(string LMAHIKJOIFL, ConnectionProtocol COMFGHIJGJP)
|
|
: base(COMFGHIJGJP)
|
|
{
|
|
base.Listener = this;
|
|
base.LimitOfUnreliableCommands = 40;
|
|
this.JPOPPDDONMN = BLENNAHJGIP.ANJBEOJKBPO;
|
|
this.GNLMCJKALBJ = LMAHIKJOIFL;
|
|
this.JJOPMICJNMB = new LNJFBGIBLHA(true, -1, this.LMAHIKJOIFL);
|
|
this.KPDJJNPGAML(this.JJOPMICJNMB.BADMPMDONAH, this.JJOPMICJNMB);
|
|
this.ILJECOEGOIH = new Dictionary<string, int>(IHFKMIAHBFP.PBKGCAGGOLJ.RpcList.Count);
|
|
for (int i = 0; i < IHFKMIAHBFP.PBKGCAGGOLJ.RpcList.Count; i++)
|
|
{
|
|
string text = IHFKMIAHBFP.PBKGCAGGOLJ.RpcList[i];
|
|
this.ILJECOEGOIH[text] = i;
|
|
}
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.PeerCreated;
|
|
this.EBLNECDNNDL();
|
|
}
|
|
|
|
// Token: 0x0600C01D RID: 49181 RVA: 0x0039DFD0 File Offset: 0x0039C1D0
|
|
public override bool AODJCEPGAAN(string[] GNEGKGMLGKI)
|
|
{
|
|
if (this.MOLLGEKMPOP)
|
|
{
|
|
return false;
|
|
}
|
|
this.HFNJMHHLBME = GNEGKGMLGKI;
|
|
this.MOLLGEKMPOP = true;
|
|
return base.AODJCEPGAAN(GNEGKGMLGKI);
|
|
}
|
|
|
|
// Token: 0x0600C01E RID: 49182 RVA: 0x0039DFF4 File Offset: 0x0039C1F4
|
|
private bool KOPLKEOLIMA(object[] FHDBPFNABBG, object[] GGJAPLCMEPE)
|
|
{
|
|
if (FHDBPFNABBG == null && GGJAPLCMEPE == null)
|
|
{
|
|
return true;
|
|
}
|
|
if (FHDBPFNABBG == null || GGJAPLCMEPE == null || FHDBPFNABBG.Length != GGJAPLCMEPE.Length)
|
|
{
|
|
return true;
|
|
}
|
|
for (int i = 1; i < GGJAPLCMEPE.Length; i++)
|
|
{
|
|
object obj = GGJAPLCMEPE[i];
|
|
object obj2 = FHDBPFNABBG[i];
|
|
if (!this.EFMLFBHPCCE(obj, obj2))
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600C01F RID: 49183 RVA: 0x0039E054 File Offset: 0x0039C254
|
|
protected internal static bool GNOHKNEGCLM(MonoBehaviour BICHNPHBOGL, string FGDLAAGCMLL, out MethodInfo EALEIJFLOOG)
|
|
{
|
|
EALEIJFLOOG = null;
|
|
if (BICHNPHBOGL == null || string.IsNullOrEmpty(FGDLAAGCMLL))
|
|
{
|
|
return false;
|
|
}
|
|
List<MethodInfo> methods = SupportClass.GetMethods(BICHNPHBOGL.GetType(), null);
|
|
for (int i = 0; i < methods.Count; i++)
|
|
{
|
|
MethodInfo methodInfo = methods[i];
|
|
if (methodInfo.Name.Equals(FGDLAAGCMLL))
|
|
{
|
|
EALEIJFLOOG = methodInfo;
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x0600C020 RID: 49184 RVA: 0x0039E0C0 File Offset: 0x0039C2C0
|
|
public bool HIFCHDPBKEL()
|
|
{
|
|
if (PhotonHandler.COPLPHCJJKA)
|
|
{
|
|
Debug.LogWarning("_LargeScanlineColor");
|
|
return false;
|
|
}
|
|
this.LHPIJKKOFCF(false);
|
|
this.DBBPBMAELJN = EDGDNCCLDBN.au;
|
|
if (this.FBBMOMHACLA == (CCNBAFJLBCH)94)
|
|
{
|
|
return false;
|
|
}
|
|
this.OAHLGOAFGDN((NIPLONJCJIF)7);
|
|
this.NOGOHDAEBCJ = NIPLONJCJIF.NameServer;
|
|
this.PNENAEJOEEM = this.BPDCJGOMNCD;
|
|
this.PGJOKBGHNGK = "cl9kYXRhGBUgASgLMhUucmVjcm9vbS5Sb29tRG9vckRhdGFCE6oCEFJlY1Jv";
|
|
if (!base.Connect(this.BPDCJGOMNCD, " is missing Animation Attack Trigger.", this.KOJGIONGKNB()))
|
|
{
|
|
return false;
|
|
}
|
|
this.FBBMOMHACLA = (CCNBAFJLBCH)(-31);
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600C021 RID: 49185 RVA: 0x0039E14C File Offset: 0x0039C34C
|
|
public virtual bool LLEFILGAPNK(string[] GNEGKGMLGKI)
|
|
{
|
|
if (this.MOLLGEKMPOP)
|
|
{
|
|
return true;
|
|
}
|
|
this.HFNJMHHLBME = GNEGKGMLGKI;
|
|
this.MOLLGEKMPOP = false;
|
|
return base.DKLPPKMBKNC(GNEGKGMLGKI);
|
|
}
|
|
|
|
// Token: 0x0600C022 RID: 49186 RVA: 0x0039E170 File Offset: 0x0039C370
|
|
private void EKPCPJJDCBI()
|
|
{
|
|
this.KJEENCIHBBG = new Dictionary<string, HLLIJLFHBJM>();
|
|
this.GJACNPPGFOP = new HLLIJLFHBJM[1];
|
|
if (this.NJJDIBJODPB)
|
|
{
|
|
this.NJJDIBJODPB = false;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonCreateRoomFailed, new object[0]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C023 RID: 49187 RVA: 0x0039E1A8 File Offset: 0x0039C3A8
|
|
public void OMBFAIHNAGM(int GKPEOHGOGCF, bool FCGJHAMHJCA)
|
|
{
|
|
if (GKPEOHGOGCF <= 0)
|
|
{
|
|
Debug.LogError("Failed to Destroy objects of playerId: " + GKPEOHGOGCF);
|
|
return;
|
|
}
|
|
if (!FCGJHAMHJCA)
|
|
{
|
|
this.IJEPDLJHNDM(GKPEOHGOGCF);
|
|
this.AALAJDFBPJK(GKPEOHGOGCF);
|
|
this.BEGHGLDDDDL(GKPEOHGOGCF);
|
|
}
|
|
HashSet<GameObject> hashSet = new HashSet<GameObject>();
|
|
foreach (PhotonView photonView in this.HOFNDCMODDM.Values)
|
|
{
|
|
if (photonView != null && photonView.PFPNDJMCLLO == GKPEOHGOGCF)
|
|
{
|
|
hashSet.Add(photonView.gameObject);
|
|
}
|
|
}
|
|
foreach (GameObject gameObject in hashSet)
|
|
{
|
|
this.CKJAKKLDOIM(gameObject, true);
|
|
}
|
|
foreach (PhotonView photonView2 in this.HOFNDCMODDM.Values)
|
|
{
|
|
if (photonView2.OPDLGJGHMJI == GKPEOHGOGCF)
|
|
{
|
|
photonView2.OPDLGJGHMJI = photonView2.PFPNDJMCLLO;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C024 RID: 49188 RVA: 0x0039E314 File Offset: 0x0039C514
|
|
public void KHPDPKLIDEL()
|
|
{
|
|
this.FBNIOECNIIK = true;
|
|
this.GLFEMICKAHP.Set();
|
|
this.IEMFIKMJHIK.Set();
|
|
}
|
|
|
|
// Token: 0x0600C025 RID: 49189 RVA: 0x0039E338 File Offset: 0x0039C538
|
|
public void GCDAJELCPDL(byte[] JFFAIBMEJJE, byte[] HDFGMDPGPGE)
|
|
{
|
|
if (JFFAIBMEJJE != null)
|
|
{
|
|
for (int i = 0; i < JFFAIBMEJJE.Length; i += 0)
|
|
{
|
|
byte b = JFFAIBMEJJE[i];
|
|
this.AGFINJBBNKC.Add(b);
|
|
}
|
|
}
|
|
if (HDFGMDPGPGE != null)
|
|
{
|
|
for (int j = 1; j < HDFGMDPGPGE.Length; j += 0)
|
|
{
|
|
byte b2 = HDFGMDPGPGE[j];
|
|
this.AGFINJBBNKC.Remove(b2);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C026 RID: 49190 RVA: 0x0039E39C File Offset: 0x0039C59C
|
|
private void GGBOCPFGPEI()
|
|
{
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.ConnectedToGameserver)
|
|
{
|
|
this.LFOOGKDCHAK = true;
|
|
return;
|
|
}
|
|
if (this.LDFLPFGFAPA() != null)
|
|
{
|
|
this.LDFLPFGFAPA().KODHOHBEAOP = this.GNLMCJKALBJ;
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[(byte)(-160)] = this.GNLMCJKALBJ;
|
|
if (this.LDFLPFGFAPA().BADMPMDONAH > 0)
|
|
{
|
|
base.OMGGKAGMOCL(this.LDFLPFGFAPA().BADMPMDONAH, hashtable, null, false);
|
|
this.LFOOGKDCHAK = true;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x170004AB RID: 1195
|
|
// (get) Token: 0x0600C027 RID: 49191 RVA: 0x0039E424 File Offset: 0x0039C624
|
|
private string EPMGJCMBPGP
|
|
{
|
|
get
|
|
{
|
|
if (this.JOMBCGIHFGP == IKICDKCKFKM.Auth)
|
|
{
|
|
return null;
|
|
}
|
|
return (this.FALGIDIFGKO == null) ? null : this.FALGIDIFGKO.NKFLBAKCPLA;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C028 RID: 49192 RVA: 0x0039E450 File Offset: 0x0039C650
|
|
public override bool DispatchIncomingCommands()
|
|
{
|
|
this.GLFEMICKAHP.Set();
|
|
this.NFLJOCLBECF();
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x0600C029 RID: 49193 RVA: 0x0039E468 File Offset: 0x0039C668
|
|
public void OLJOHNACOLN(PhotonView CMOKGDCHHFG)
|
|
{
|
|
if (!Application.isPlaying)
|
|
{
|
|
this.HOFNDCMODDM = new Dictionary<int, PhotonView>();
|
|
return;
|
|
}
|
|
if (CMOKGDCHHFG.ADMBCINHJOG == 0)
|
|
{
|
|
Debug.Log("PhotonView register is ignored, because viewID is 0. No id assigned yet to: " + CMOKGDCHHFG);
|
|
return;
|
|
}
|
|
PhotonView photonView = null;
|
|
bool flag = this.HOFNDCMODDM.TryGetValue(CMOKGDCHHFG.ADMBCINHJOG, out photonView);
|
|
if (flag)
|
|
{
|
|
if (!(CMOKGDCHHFG != photonView))
|
|
{
|
|
return;
|
|
}
|
|
Debug.LogError(string.Format("PhotonView ID duplicate found: {0}. New: {1} old: {2}. Maybe one wasn't destroyed on scene load?! Check for 'DontDestroyOnLoad'. Destroying old entry, adding new.", CMOKGDCHHFG.ADMBCINHJOG, CMOKGDCHHFG, photonView));
|
|
this.CKJAKKLDOIM(photonView.gameObject, true);
|
|
}
|
|
this.HOFNDCMODDM.Add(CMOKGDCHHFG.ADMBCINHJOG, CMOKGDCHHFG);
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Full)
|
|
{
|
|
Debug.Log("Registered PhotonView: " + CMOKGDCHHFG.ADMBCINHJOG);
|
|
}
|
|
}
|
|
|
|
// Token: 0x170004BB RID: 1211
|
|
// (get) Token: 0x0600C02B RID: 49195 RVA: 0x0039E544 File Offset: 0x0039C744
|
|
public bool JAMCHANBHNC
|
|
{
|
|
get
|
|
{
|
|
return this.FALGIDIFGKO != null && !string.IsNullOrEmpty(this.FALGIDIFGKO.NKFLBAKCPLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C02C RID: 49196 RVA: 0x0039E568 File Offset: 0x0039C768
|
|
public virtual bool HCBEFLFFJGK()
|
|
{
|
|
this.GLFEMICKAHP.Set();
|
|
this.HFLAPBNLKKA();
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600C02D RID: 49197 RVA: 0x0039E580 File Offset: 0x0039C780
|
|
protected internal void NEGLIBNLKFI(int[] NFKLOLKIBII)
|
|
{
|
|
foreach (int num in NFKLOLKIBII)
|
|
{
|
|
if (this.JJOPMICJNMB.BADMPMDONAH != num && !this.MFOKJIFJOHC.ContainsKey(num))
|
|
{
|
|
this.KPDJJNPGAML(num, new LNJFBGIBLHA(false, num, string.Empty));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C02E RID: 49198 RVA: 0x0039E5DC File Offset: 0x0039C7DC
|
|
private void EJBNDCALOJK(int BADMPMDONAH, LNJFBGIBLHA JEFGMHBLLKI)
|
|
{
|
|
if (!this.MFOKJIFJOHC.ContainsKey(BADMPMDONAH))
|
|
{
|
|
this.MFOKJIFJOHC[BADMPMDONAH] = JEFGMHBLLKI;
|
|
this.HFKBEFHDICJ();
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError("end playing" + BADMPMDONAH);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C02F RID: 49199 RVA: 0x0039E61C File Offset: 0x0039C81C
|
|
protected internal void DJEAOCBFNFI()
|
|
{
|
|
if (!IHFKMIAHBFP.DFHAJGGDIPJ || IHFKMIAHBFP.HCHIDMOLLAD || IHFKMIAHBFP.FIIFPLCNFHJ == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!IHFKMIAHBFP.FIIFPLCNFHJ.BAHICKLKKHB.ContainsKey("curScn"))
|
|
{
|
|
return;
|
|
}
|
|
object obj = IHFKMIAHBFP.FIIFPLCNFHJ.BAHICKLKKHB["curScn"];
|
|
if (obj is int)
|
|
{
|
|
if (JHLOLIJHHDM.GOPKDINALGE != (int)obj)
|
|
{
|
|
IHFKMIAHBFP.KBPGDNLOIIH((int)obj);
|
|
}
|
|
}
|
|
else if (obj is string && JHLOLIJHHDM.EKOJENGHIFA != (string)obj)
|
|
{
|
|
IHFKMIAHBFP.KBPGDNLOIIH((string)obj);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C030 RID: 49200 RVA: 0x0039E6D0 File Offset: 0x0039C8D0
|
|
private void DNCMGDJDKAC()
|
|
{
|
|
this.KJEENCIHBBG = new Dictionary<string, HLLIJLFHBJM>();
|
|
this.GJACNPPGFOP = new HLLIJLFHBJM[0];
|
|
if (this.NJJDIBJODPB)
|
|
{
|
|
this.NJJDIBJODPB = false;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnLeftLobby, new object[0]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C031 RID: 49201 RVA: 0x0039E708 File Offset: 0x0039C908
|
|
private void CNMADFDBFDF(object[] AOAILGGFDHJ, LNJFBGIBLHA DNPNJBCAMDK, int BEMLKJKJKMP, short IKJEJDJEEMK)
|
|
{
|
|
int num = (int)AOAILGGFDHJ[0];
|
|
PhotonView photonView = this.CHJKENPLDPF(num);
|
|
if (photonView == null)
|
|
{
|
|
float num2;
|
|
int num3;
|
|
if (this.DCFEALHOPFE.TryGetValue(num, out num2) && this.NAIJLIDODKA.TryGetValue(num, out num3) && num2 - Time.realtimeSinceStartup < 1f)
|
|
{
|
|
num3++;
|
|
}
|
|
else
|
|
{
|
|
num3 = 1;
|
|
}
|
|
this.DCFEALHOPFE[num] = Time.realtimeSinceStartup;
|
|
this.NAIJLIDODKA[num] = num3;
|
|
if (num3 < 10)
|
|
{
|
|
return;
|
|
}
|
|
Debug.LogWarning(string.Concat(new object[] { "Received OnSerialization for view ID ", num, ". We have no such PhotonView! Ignored this if you're leaving a room. State: ", this.FBBMOMHACLA }));
|
|
return;
|
|
}
|
|
else
|
|
{
|
|
if (photonView.LJGEAILPJJP > 0 && (int)IKJEJDJEEMK != photonView.LJGEAILPJJP)
|
|
{
|
|
Debug.LogError(string.Concat(new object[] { "Received OnSerialization for view ID ", num, " with prefix ", IKJEJDJEEMK, ". Our prefix is ", photonView.LJGEAILPJJP }));
|
|
return;
|
|
}
|
|
if (photonView.group != 0 && !this.NPNHFPBEPDM.Contains(photonView.group))
|
|
{
|
|
return;
|
|
}
|
|
if (photonView.synchronization == FHIIDMDFFMG.ReliableDeltaCompressed)
|
|
{
|
|
object[] array = this.BPEHOONHLJG(photonView.NNDCCKHNJGO, AOAILGGFDHJ);
|
|
if (array == null)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log(string.Concat(new object[] { "Skipping packet for ", photonView.name, " [", photonView.ADMBCINHJOG, "] as we haven't received a full packet for delta compression yet. This is OK if it happens for the first few frames after joining a game." }));
|
|
}
|
|
return;
|
|
}
|
|
photonView.NNDCCKHNJGO = array;
|
|
AOAILGGFDHJ = array;
|
|
}
|
|
if (DNPNJBCAMDK.BADMPMDONAH != photonView.OPDLGJGHMJI && (!photonView.OwnerShipWasTransfered || photonView.OPDLGJGHMJI == 0) && photonView.currentMasterID == -1)
|
|
{
|
|
photonView.OPDLGJGHMJI = DNPNJBCAMDK.BADMPMDONAH;
|
|
}
|
|
this.LBMAHNJGIIH.BEHHDEMFBEA(AOAILGGFDHJ, 3);
|
|
BOCLHJCCOEL boclhjccoel = new BOCLHJCCOEL(DNPNJBCAMDK, BEMLKJKJKMP, photonView);
|
|
photonView.DeserializeView(this.LBMAHNJGIIH, boclhjccoel);
|
|
return;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C032 RID: 49202 RVA: 0x0039E938 File Offset: 0x0039CB38
|
|
private void KPPEPDDKCOJ(ExitGames.Client.Photon.Hashtable BDNJIFFKFBL, ExitGames.Client.Photon.Hashtable CFJKJFLEPAK, int MOHAMBKGHOB)
|
|
{
|
|
if (CFJKJFLEPAK != null && CFJKJFLEPAK.Count > 1)
|
|
{
|
|
if (MOHAMBKGHOB > 0)
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = this.GGFGCLDDFAA(MOHAMBKGHOB);
|
|
if (lnjfbgiblha != null)
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = this.LALHLEKEJOB(CFJKJFLEPAK, MOHAMBKGHOB);
|
|
lnjfbgiblha.KKPGENOBJFL(hashtable);
|
|
HCPAJHOGHMM hcpajhoghmm = (HCPAJHOGHMM)(-104);
|
|
object[] array = new object[0];
|
|
array[1] = lnjfbgiblha;
|
|
array[0] = hashtable;
|
|
BEIKFLMNLCB.LBACGEMNLLP(hcpajhoghmm, array);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
foreach (object obj in CFJKJFLEPAK.Keys)
|
|
{
|
|
int num = (int)obj;
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = (ExitGames.Client.Photon.Hashtable)CFJKJFLEPAK[obj];
|
|
string text = (string)hashtable2[63];
|
|
LNJFBGIBLHA lnjfbgiblha2 = this.GECLOIKPGGH(num);
|
|
if (lnjfbgiblha2 == null)
|
|
{
|
|
lnjfbgiblha2 = new LNJFBGIBLHA(false, num, text);
|
|
this.KPDJJNPGAML(num, lnjfbgiblha2);
|
|
}
|
|
lnjfbgiblha2.DJMPBDLCENP(hashtable2);
|
|
HCPAJHOGHMM hcpajhoghmm2 = (HCPAJHOGHMM)54;
|
|
object[] array2 = new object[4];
|
|
array2[0] = lnjfbgiblha2;
|
|
array2[1] = hashtable2;
|
|
BEIKFLMNLCB.LBACGEMNLLP(hcpajhoghmm2, array2);
|
|
}
|
|
}
|
|
}
|
|
if (this.NNCLHENEJDI != null && BDNJIFFKFBL != null)
|
|
{
|
|
this.NNCLHENEJDI.KAOPACPDHFG(BDNJIFFKFBL);
|
|
BEIKFLMNLCB.LEPBLBEFHAJ((HCPAJHOGHMM)66, new object[] { BDNJIFFKFBL });
|
|
if (IHFKMIAHBFP.DFHAJGGDIPJ)
|
|
{
|
|
this.DJEAOCBFNFI();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C033 RID: 49203 RVA: 0x0039EA90 File Offset: 0x0039CC90
|
|
private void GOBBLDANFOD()
|
|
{
|
|
this.LLCLNGLCLFM(this.GLFEMICKAHP, new Func<bool>(base.DispatchIncomingCommands));
|
|
}
|
|
|
|
// Token: 0x0600C035 RID: 49205 RVA: 0x0039EAB4 File Offset: 0x0039CCB4
|
|
public void DebugReturn(DebugLevel JOPHNBFKLCM, string NFAFJOMABOK)
|
|
{
|
|
this.KLBLFICDMNN(JOPHNBFKLCM, NFAFJOMABOK);
|
|
}
|
|
|
|
// Token: 0x0600C036 RID: 49206 RVA: 0x0039EAC0 File Offset: 0x0039CCC0
|
|
public void MLCMMICJHCB(string NOBAPCOKFIL)
|
|
{
|
|
if (string.IsNullOrEmpty(NOBAPCOKFIL) || NOBAPCOKFIL.Equals(this.LMAHIKJOIFL))
|
|
{
|
|
return;
|
|
}
|
|
if (this.LDFLPFGFAPA() != null)
|
|
{
|
|
this.JJOPMICJNMB.KODHOHBEAOP = NOBAPCOKFIL;
|
|
}
|
|
this.LMAHIKJOIFL = NOBAPCOKFIL;
|
|
if (this.FDIGCECCGIL() != null)
|
|
{
|
|
this.KGCJNLHHPCO();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C037 RID: 49207 RVA: 0x0039EB1C File Offset: 0x0039CD1C
|
|
public void GEOKIDDJFMI()
|
|
{
|
|
this.FBNIOECNIIK = true;
|
|
this.GLFEMICKAHP.Set();
|
|
this.IEMFIKMJHIK.Set();
|
|
}
|
|
|
|
// Token: 0x0600C038 RID: 49208 RVA: 0x0039EB40 File Offset: 0x0039CD40
|
|
private void KLBLFICDMNN(DebugLevel JOPHNBFKLCM, string NFAFJOMABOK)
|
|
{
|
|
if (JOPHNBFKLCM == DebugLevel.ERROR)
|
|
{
|
|
Debug.LogError(NFAFJOMABOK);
|
|
}
|
|
else if (JOPHNBFKLCM == DebugLevel.WARNING)
|
|
{
|
|
Debug.LogWarning(NFAFJOMABOK);
|
|
}
|
|
else if (JOPHNBFKLCM == DebugLevel.INFO && IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log(NFAFJOMABOK);
|
|
}
|
|
else if (JOPHNBFKLCM == DebugLevel.ALL && IHFKMIAHBFP.AHJGHBFFLCO == DGNJCNPDGHM.Full)
|
|
{
|
|
Debug.Log(NFAFJOMABOK);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C039 RID: 49209 RVA: 0x0039EBA8 File Offset: 0x0039CDA8
|
|
public void OnOperationResponse(OperationResponse IMDHCINGADG)
|
|
{
|
|
BEIKFLMNLCB.DJIJMBPPAKG djijmbppakg = new BEIKFLMNLCB.DJIJMBPPAKG();
|
|
djijmbppakg.IMDHCINGADG = IMDHCINGADG;
|
|
djijmbppakg.LGLLICEMHIK = this;
|
|
this.HPGHOHNADOD(new Action(djijmbppakg.OJKNBNGGBEC));
|
|
}
|
|
|
|
// Token: 0x0600C03A RID: 49210 RVA: 0x0039EBDC File Offset: 0x0039CDDC
|
|
public virtual void GLFHOHEFMGO()
|
|
{
|
|
if (base.PeerState == PeerStateValue.Disconnected)
|
|
{
|
|
if (!PhotonHandler.COPLPHCJJKA)
|
|
{
|
|
Debug.LogWarning(string.Format("player", this.FBBMOMHACLA));
|
|
}
|
|
return;
|
|
}
|
|
this.IDMIPHEJBEI((CCNBAFJLBCH)84);
|
|
base.Disconnect();
|
|
}
|
|
|
|
// Token: 0x0600C03B RID: 49211 RVA: 0x0039EC1C File Offset: 0x0039CE1C
|
|
private void MCNMAPPADOG(ThreadStart LKHJKNEELCO, string EKKMPHMGCLB)
|
|
{
|
|
new Thread(LKHJKNEELCO)
|
|
{
|
|
Name = EKKMPHMGCLB
|
|
}.Start();
|
|
}
|
|
|
|
// Token: 0x0600C03C RID: 49212 RVA: 0x0039EC40 File Offset: 0x0039CE40
|
|
private string PPLACIFAJCF()
|
|
{
|
|
ConnectionProtocol transportProtocol = base.TransportProtocol;
|
|
int num = 1;
|
|
BEIKFLMNLCB.BBBCEMEHJHO.TryGetValue(transportProtocol, out num);
|
|
string text = string.Empty;
|
|
if (transportProtocol == ConnectionProtocol.Tcp)
|
|
{
|
|
text = "cm90b2J1ZmIGcHJvdG8z";
|
|
}
|
|
else if (transportProtocol == ConnectionProtocol.Udp)
|
|
{
|
|
text = "OnOpen";
|
|
}
|
|
return string.Format(".Item.Used.", text, "[ACTk] WallHack Detector: disabled but StartDetection still called from somewhere (see stack trace for this message)!", num);
|
|
}
|
|
|
|
// Token: 0x0600C03D RID: 49213 RVA: 0x0039ECA4 File Offset: 0x0039CEA4
|
|
private void DAFFJPEJDLL()
|
|
{
|
|
this.KJEENCIHBBG = new Dictionary<string, HLLIJLFHBJM>();
|
|
this.GJACNPPGFOP = new HLLIJLFHBJM[1];
|
|
if (this.NJJDIBJODPB)
|
|
{
|
|
this.NJJDIBJODPB = true;
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnConnectedToPhoton, new object[1]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C03E RID: 49214 RVA: 0x0039ECDC File Offset: 0x0039CEDC
|
|
public void BMHNMHNBNGF(EventData KGLJJCBHOIO)
|
|
{
|
|
BEIKFLMNLCB.PNOICALOLHA pnoicalolha = new BEIKFLMNLCB.PNOICALOLHA();
|
|
pnoicalolha.KGLJJCBHOIO = KGLJJCBHOIO;
|
|
pnoicalolha.LGLLICEMHIK = this;
|
|
this.HPGHOHNADOD(new Action(pnoicalolha.DFFNHHOHCEK));
|
|
}
|
|
|
|
// Token: 0x0600C03F RID: 49215 RVA: 0x0039ED10 File Offset: 0x0039CF10
|
|
public PLOPPLAOICD FDIGCECCGIL()
|
|
{
|
|
if (this.OAFHDGPBCPN != null && this.OAFHDGPBCPN.JKNKJHFILMK())
|
|
{
|
|
return this.OAFHDGPBCPN;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x0600C040 RID: 49216 RVA: 0x0039ED38 File Offset: 0x0039CF38
|
|
protected internal void CDDHBDKKKEC(int[] NFKLOLKIBII)
|
|
{
|
|
for (int i = 1; i < NFKLOLKIBII.Length; i += 0)
|
|
{
|
|
int num = NFKLOLKIBII[i];
|
|
if (this.LDFLPFGFAPA().BADMPMDONAH != num && !this.MFOKJIFJOHC.ContainsKey(num))
|
|
{
|
|
this.KPDJJNPGAML(num, new LNJFBGIBLHA(true, num, string.Empty));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C041 RID: 49217 RVA: 0x0039ED94 File Offset: 0x0039CF94
|
|
protected internal void PEBNBFOMIJD(int ADMBCINHJOG, int LEBNJBJKFLJ)
|
|
{
|
|
this.JDKEEKDOLHJ(209, new int[] { ADMBCINHJOG, LEBNJBJKFLJ }, true, new OOKHEEKOHMJ
|
|
{
|
|
LLCJEECLAAD = OKCJJEDMNBM.All
|
|
});
|
|
}
|
|
|
|
// Token: 0x0600C042 RID: 49218 RVA: 0x0039EDCC File Offset: 0x0039CFCC
|
|
public bool INHFKJIAEHJ()
|
|
{
|
|
if (this.FALGIDIFGKO == null)
|
|
{
|
|
Debug.LogWarning(" CoreSystems");
|
|
this.FALGIDIFGKO = new OCEOOCJEKDD();
|
|
}
|
|
this.FALGIDIFGKO.HAFPLDJLAKD(this.KHPMEEGONLI);
|
|
if (!string.IsNullOrEmpty(this.GNDNGCCNCGN) && this.KFLPHAFFMAL != null)
|
|
{
|
|
this.BCEOKIDFFCN = BMBIMJIMFLA.CreateRoom;
|
|
this.KFLPHAFFMAL.HCGBFGNFEPM = true;
|
|
return this.NHHBNCKICGL(this.CCGGKJKECCP(), NIPLONJCJIF.GameServer);
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600C043 RID: 49219 RVA: 0x0039EE48 File Offset: 0x0039D048
|
|
public bool DEMLJANBDID()
|
|
{
|
|
if (PhotonHandler.COPLPHCJJKA)
|
|
{
|
|
Debug.LogWarning("AssetBundle Download");
|
|
return true;
|
|
}
|
|
this.LHPIJKKOFCF(false);
|
|
this.DBBPBMAELJN = EDGDNCCLDBN.usw;
|
|
if (this.FBBMOMHACLA == (CCNBAFJLBCH)(-67))
|
|
{
|
|
return false;
|
|
}
|
|
this.ODBECGNCAPC((NIPLONJCJIF)5);
|
|
this.NOGOHDAEBCJ = NIPLONJCJIF.MasterServer;
|
|
this.PNENAEJOEEM = this.BPDCJGOMNCD;
|
|
this.PGJOKBGHNGK = "://";
|
|
if (!base.Connect(this.BPDCJGOMNCD, "Failed to parse OutfitSelectionToBody with str:", this.KOJGIONGKNB()))
|
|
{
|
|
return true;
|
|
}
|
|
this.FBBMOMHACLA = (CCNBAFJLBCH)104;
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x0600C044 RID: 49220 RVA: 0x0039EED4 File Offset: 0x0039D0D4
|
|
private string KOJGIONGKNB()
|
|
{
|
|
if (this.JOMBCGIHFGP == IKICDKCKFKM.Auth)
|
|
{
|
|
return null;
|
|
}
|
|
return (this.FALGIDIFGKO == null) ? null : this.FALGIDIFGKO.NKFLBAKCPLA;
|
|
}
|
|
|
|
// Token: 0x0600C045 RID: 49221 RVA: 0x0039EF00 File Offset: 0x0039D100
|
|
public bool GMCIGMNFGBO()
|
|
{
|
|
if (this.KLPPJMGBDDH() == null)
|
|
{
|
|
Debug.LogWarning(" took ");
|
|
this.FALGIDIFGKO = new OCEOOCJEKDD();
|
|
}
|
|
this.FALGIDIFGKO.ACOAEDFJFAI(this.KHPMEEGONLI);
|
|
if (!string.IsNullOrEmpty(this.GNDNGCCNCGN) && this.KFLPHAFFMAL != null)
|
|
{
|
|
this.BCEOKIDFFCN = BMBIMJIMFLA.JoinRoom;
|
|
this.KFLPHAFFMAL.HCGBFGNFEPM = true;
|
|
return this.NHHBNCKICGL(this.HNONCLINCCF(), NIPLONJCJIF.MasterServer);
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600C046 RID: 49222 RVA: 0x0039EF7C File Offset: 0x0039D17C
|
|
public void BOHCGHKOGKI(EventData KGLJJCBHOIO)
|
|
{
|
|
BEIKFLMNLCB.PNOICALOLHA pnoicalolha = new BEIKFLMNLCB.PNOICALOLHA();
|
|
pnoicalolha.KGLJJCBHOIO = KGLJJCBHOIO;
|
|
pnoicalolha.LGLLICEMHIK = this;
|
|
this.HPGHOHNADOD(new Action(pnoicalolha.FLEEFDFKEIB));
|
|
}
|
|
|
|
// Token: 0x0600C047 RID: 49223 RVA: 0x0039EFB0 File Offset: 0x0039D1B0
|
|
public object[] DEIIHMKIPAD(int ILFOHLJBEJN)
|
|
{
|
|
object[] array = null;
|
|
if (ILFOHLJBEJN == 0)
|
|
{
|
|
return null;
|
|
}
|
|
this.GGOAGLFKHDB.TryGetValue(ILFOHLJBEJN, out array);
|
|
return array;
|
|
}
|
|
|
|
// Token: 0x0600C048 RID: 49224 RVA: 0x0039EFD8 File Offset: 0x0039D1D8
|
|
private bool CAPBEDPACCF(object[] FHDBPFNABBG, object[] GGJAPLCMEPE)
|
|
{
|
|
if (FHDBPFNABBG == null && GGJAPLCMEPE == null)
|
|
{
|
|
return false;
|
|
}
|
|
if (FHDBPFNABBG == null || GGJAPLCMEPE == null || FHDBPFNABBG.Length != GGJAPLCMEPE.Length)
|
|
{
|
|
return false;
|
|
}
|
|
for (int i = 1; i < GGJAPLCMEPE.Length; i++)
|
|
{
|
|
object obj = GGJAPLCMEPE[i];
|
|
object obj2 = FHDBPFNABBG[i];
|
|
if (!this.EFMLFBHPCCE(obj, obj2))
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x0600C049 RID: 49225 RVA: 0x0039F038 File Offset: 0x0039D238
|
|
private void LAKOCHOLDEM(int LHBKFFLFHNK, int HNJMBEFCJMN, bool IDPCJAALILK)
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[7] = LHBKFFLFHNK;
|
|
OOKHEEKOHMJ ookheekohmj = new OOKHEEKOHMJ
|
|
{
|
|
AJFELBMHOMI = GMGGPAHOGHH.RemoveFromRoomCache,
|
|
ACHIAIGIEKL = new int[] { HNJMBEFCJMN }
|
|
};
|
|
this.JDKEEKDOLHJ(202, hashtable, true, ookheekohmj);
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable2[0] = LHBKFFLFHNK;
|
|
ookheekohmj = null;
|
|
if (!IDPCJAALILK)
|
|
{
|
|
ookheekohmj = new OOKHEEKOHMJ();
|
|
ookheekohmj.AJFELBMHOMI = GMGGPAHOGHH.AddToRoomCacheGlobal;
|
|
Debug.Log("Destroying GO as global. ID: " + LHBKFFLFHNK);
|
|
}
|
|
this.JDKEEKDOLHJ(204, hashtable2, true, ookheekohmj);
|
|
}
|
|
|
|
// Token: 0x0600C04A RID: 49226 RVA: 0x0039F0DC File Offset: 0x0039D2DC
|
|
public void AIJPFJBKKHG(PhotonView CAANMEBEOIJ)
|
|
{
|
|
if (CAANMEBEOIJ.PNAHJNPGAFI() != this.JJOPMICJNMB.BADMPMDONAH && !this.LDFLPFGFAPA().DOIHBAFKHAN())
|
|
{
|
|
object[] array = new object[1];
|
|
array[1] = "CHARADES_TIMER";
|
|
array[0] = CAANMEBEOIJ.HKLENNJOICH;
|
|
array[4] = "FnTable:IVRScreenshots_001";
|
|
array[5] = CAANMEBEOIJ.KLFBONMIBJD;
|
|
Debug.LogError(string.Concat(array));
|
|
return;
|
|
}
|
|
this.AALAJDFBPJK(CAANMEBEOIJ);
|
|
}
|
|
|
|
// Token: 0x0600C04B RID: 49227 RVA: 0x0039F150 File Offset: 0x0039D350
|
|
public bool GBJMKOGPMAD()
|
|
{
|
|
if (this.FALGIDIFGKO == null)
|
|
{
|
|
Debug.LogWarning("ReconnectToMaster() with AuthValues == null is not correct!");
|
|
this.FALGIDIFGKO = new OCEOOCJEKDD();
|
|
}
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = this.KHPMEEGONLI;
|
|
return this.NHHBNCKICGL(this.EBKJMGCNOMO, NIPLONJCJIF.MasterServer);
|
|
}
|
|
|
|
// Token: 0x0600C04C RID: 49228 RVA: 0x0039F190 File Offset: 0x0039D390
|
|
protected internal NIPLONJCJIF JOJNBLLNAII()
|
|
{
|
|
return this.<ACIOGKOBOHD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C04D RID: 49229 RVA: 0x0039F198 File Offset: 0x0039D398
|
|
private void HACLPKOBEON(Dictionary<byte, object> IGHLFCODKJA)
|
|
{
|
|
if (this.JOMBCGIHFGP == IKICDKCKFKM.Auth && this.DebugOut == DebugLevel.ERROR)
|
|
{
|
|
Debug.LogWarning("PhotonMono" + IGHLFCODKJA.GJACOOMCPKE());
|
|
return;
|
|
}
|
|
if (this.DebugOut == (DebugLevel)6)
|
|
{
|
|
Debug.Log("Launching external application..." + IGHLFCODKJA.GJACOOMCPKE());
|
|
}
|
|
FCKPOBBDMNO fckpobbdmno = (FCKPOBBDMNO)((byte)IGHLFCODKJA[1]);
|
|
if (fckpobbdmno != FCKPOBBDMNO.PayloadEncryption)
|
|
{
|
|
if (fckpobbdmno != (FCKPOBBDMNO)(-18))
|
|
{
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
byte[] array = (byte[])IGHLFCODKJA[0];
|
|
byte[] array2 = (byte[])IGHLFCODKJA[6];
|
|
base.InitDatagramEncryption(array, array2);
|
|
}
|
|
else
|
|
{
|
|
byte[] array3 = (byte[])IGHLFCODKJA[0];
|
|
base.InitPayloadEncryption(array3);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C04E RID: 49230 RVA: 0x0039F25C File Offset: 0x0039D45C
|
|
public virtual bool NDDKMCFJODD(JMOOAILGHJF KLIAFEFHCHP)
|
|
{
|
|
this.KFLPHAFFMAL = new NAMOHKJGILD();
|
|
this.KFLPHAFFMAL.ADLCILAAOMA = KLIAFEFHCHP.BLENNAHJGIP;
|
|
this.KFLPHAFFMAL.MMLMENHMLIH = KLIAFEFHCHP.MMLMENHMLIH;
|
|
this.BCEOKIDFFCN = (BMBIMJIMFLA)6;
|
|
return base.ACLPCNCAECM(KLIAFEFHCHP);
|
|
}
|
|
|
|
// Token: 0x0600C04F RID: 49231 RVA: 0x0039F29C File Offset: 0x0039D49C
|
|
public int NELIOLIJMPL()
|
|
{
|
|
return this.<AMIKDMLIPEJ>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C052 RID: 49234 RVA: 0x0039F2B8 File Offset: 0x0039D4B8
|
|
protected internal void IHMEFDHDDIB(int ADMBCINHJOG, int CHNEJABGIJB)
|
|
{
|
|
byte b = 175;
|
|
int[] array = new int[3];
|
|
array[0] = ADMBCINHJOG;
|
|
array[1] = CHNEJABGIJB;
|
|
this.KJAECGPGJBO(b, array, true, new OOKHEEKOHMJ
|
|
{
|
|
LLCJEECLAAD = OKCJJEDMNBM.All
|
|
});
|
|
}
|
|
|
|
// Token: 0x0600C053 RID: 49235 RVA: 0x0039F2F0 File Offset: 0x0039D4F0
|
|
public void BIAICJMJDDO(object JGBMONAGDMC)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0600C054 RID: 49236 RVA: 0x0039F2F4 File Offset: 0x0039D4F4
|
|
protected internal void BNNCNGNCNFG(object CCMFBGEGGPP)
|
|
{
|
|
if (!IHFKMIAHBFP.DFHAJGGDIPJ || !IHFKMIAHBFP.HCHIDMOLLAD || IHFKMIAHBFP.FIIFPLCNFHJ == null)
|
|
{
|
|
return;
|
|
}
|
|
if (CCMFBGEGGPP == null)
|
|
{
|
|
Debug.LogError("Parameter levelId can't be null!");
|
|
return;
|
|
}
|
|
if (IHFKMIAHBFP.FIIFPLCNFHJ.BAHICKLKKHB.ContainsKey("curScn"))
|
|
{
|
|
object obj = IHFKMIAHBFP.FIIFPLCNFHJ.BAHICKLKKHB["curScn"];
|
|
if (obj is int && JHLOLIJHHDM.GOPKDINALGE == (int)obj)
|
|
{
|
|
return;
|
|
}
|
|
if (obj is string && JHLOLIJHHDM.EKOJENGHIFA != null && JHLOLIJHHDM.EKOJENGHIFA.Equals((string)obj))
|
|
{
|
|
return;
|
|
}
|
|
}
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
if (CCMFBGEGGPP is int)
|
|
{
|
|
hashtable["curScn"] = (int)CCMFBGEGGPP;
|
|
}
|
|
else if (CCMFBGEGGPP is string)
|
|
{
|
|
hashtable["curScn"] = (string)CCMFBGEGGPP;
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError("Parameter levelId must be int or string!");
|
|
}
|
|
IHFKMIAHBFP.FIIFPLCNFHJ.NIACFDCMGLG(hashtable, null, false);
|
|
this.SendOutgoingCommands();
|
|
}
|
|
|
|
// Token: 0x0600C055 RID: 49237 RVA: 0x0039F414 File Offset: 0x0039D614
|
|
private void HLBHAJPKNGL()
|
|
{
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[(byte)(-161)] = 0;
|
|
dictionary[(byte)(-51)] = 3;
|
|
this.OpCustom((byte)(-132), dictionary, true, 0);
|
|
}
|
|
|
|
// Token: 0x0600C056 RID: 49238 RVA: 0x0039F458 File Offset: 0x0039D658
|
|
protected internal NIPLONJCJIF FNFEHPIIKKO()
|
|
{
|
|
return this.<ACIOGKOBOHD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C058 RID: 49240 RVA: 0x0039F468 File Offset: 0x0039D668
|
|
protected internal void NGIILEBDIDP()
|
|
{
|
|
HCPAJHOGHMM hcpajhoghmm = HCPAJHOGHMM.OnPhotonCreateRoomFailed;
|
|
object[] array = new object[0];
|
|
array[1] = IHFKMIAHBFP.HGDJAAMBDNH;
|
|
BEIKFLMNLCB.LBACGEMNLLP(hcpajhoghmm, array);
|
|
}
|
|
|
|
// Token: 0x0600C059 RID: 49241 RVA: 0x0039F480 File Offset: 0x0039D680
|
|
private void HPGHOHNADOD(Action HJNJOGJJMOF)
|
|
{
|
|
object jhkfnilodgp = this.JHKFNILODGP;
|
|
lock (jhkfnilodgp)
|
|
{
|
|
this.JHKFNILODGP.Enqueue(HJNJOGJJMOF);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C05A RID: 49242 RVA: 0x0039F4C4 File Offset: 0x0039D6C4
|
|
protected internal void EIPCFJNOFGH(ExitGames.Client.Photon.Hashtable KOGGMDDPAIB, int ENCNOKNALLC = 0)
|
|
{
|
|
if (KOGGMDDPAIB == null || !KOGGMDDPAIB.ContainsKey(0))
|
|
{
|
|
Debug.LogError("Malformed RPC; this should never occur. Content: " + SupportClass.DictionaryToString(KOGGMDDPAIB));
|
|
return;
|
|
}
|
|
int num = (int)KOGGMDDPAIB[0];
|
|
int num2 = 0;
|
|
if (KOGGMDDPAIB.ContainsKey(1))
|
|
{
|
|
num2 = (int)((short)KOGGMDDPAIB[1]);
|
|
}
|
|
string text;
|
|
if (KOGGMDDPAIB.ContainsKey(5))
|
|
{
|
|
int num3 = (int)((byte)KOGGMDDPAIB[5]);
|
|
if (num3 > IHFKMIAHBFP.PBKGCAGGOLJ.RpcList.Count - 1)
|
|
{
|
|
Debug.LogError("Could not find RPC with index: " + num3 + ". Going to ignore! Check PhotonServerSettings.RpcList");
|
|
return;
|
|
}
|
|
text = IHFKMIAHBFP.PBKGCAGGOLJ.RpcList[num3];
|
|
}
|
|
else
|
|
{
|
|
text = (string)KOGGMDDPAIB[3];
|
|
}
|
|
object[] array = null;
|
|
if (KOGGMDDPAIB.ContainsKey(4))
|
|
{
|
|
array = (object[])KOGGMDDPAIB[4];
|
|
}
|
|
if (array == null)
|
|
{
|
|
array = new object[0];
|
|
}
|
|
PhotonView photonView = this.CHJKENPLDPF(num);
|
|
if (photonView == null)
|
|
{
|
|
int num4 = num / IHFKMIAHBFP.BANOAAAAGLC;
|
|
bool flag = num4 == this.JJOPMICJNMB.BADMPMDONAH;
|
|
bool flag2 = num4 == ENCNOKNALLC;
|
|
if (flag)
|
|
{
|
|
Debug.LogWarning(string.Concat(new object[]
|
|
{
|
|
"Received RPC \"",
|
|
text,
|
|
"\" for viewID ",
|
|
num,
|
|
" but this PhotonView does not exist! View was/is ours.",
|
|
(!flag2) ? " Remote called." : " Owner called.",
|
|
" By: ",
|
|
ENCNOKNALLC
|
|
}));
|
|
}
|
|
else
|
|
{
|
|
Debug.LogWarning(string.Concat(new object[]
|
|
{
|
|
"Received RPC \"",
|
|
text,
|
|
"\" for viewID ",
|
|
num,
|
|
" but this PhotonView does not exist! Was remote PV.",
|
|
(!flag2) ? " Remote called." : " Owner called.",
|
|
" By: ",
|
|
ENCNOKNALLC,
|
|
" Maybe GO was destroyed but RPC not cleaned up."
|
|
}));
|
|
}
|
|
return;
|
|
}
|
|
if (photonView.LJGEAILPJJP != num2)
|
|
{
|
|
Debug.LogError(string.Concat(new object[] { "Received RPC \"", text, "\" on viewID ", num, " with a prefix of ", num2, ", our prefix is ", photonView.LJGEAILPJJP, ". The RPC has been ignored." }));
|
|
return;
|
|
}
|
|
if (string.IsNullOrEmpty(text))
|
|
{
|
|
Debug.LogError("Malformed RPC; this should never occur. Content: " + SupportClass.DictionaryToString(KOGGMDDPAIB));
|
|
return;
|
|
}
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Full)
|
|
{
|
|
Debug.Log("Received RPC: " + text);
|
|
}
|
|
if (photonView.group != 0 && !this.NPNHFPBEPDM.Contains(photonView.group))
|
|
{
|
|
return;
|
|
}
|
|
Type[] array2 = new Type[0];
|
|
if (array.Length > 0)
|
|
{
|
|
array2 = new Type[array.Length];
|
|
int num5 = 0;
|
|
foreach (object obj in array)
|
|
{
|
|
if (obj == null)
|
|
{
|
|
array2[num5] = null;
|
|
}
|
|
else
|
|
{
|
|
array2[num5] = obj.GetType();
|
|
}
|
|
num5++;
|
|
}
|
|
}
|
|
int num6 = 0;
|
|
int num7 = 0;
|
|
if (!IHFKMIAHBFP.KKPJLOEALMF || photonView.DCOIKDFHBEN == null || photonView.DCOIKDFHBEN.Length == 0)
|
|
{
|
|
photonView.RefreshRpcMonoBehaviourCache();
|
|
}
|
|
for (int j = 0; j < photonView.DCOIKDFHBEN.Length; j++)
|
|
{
|
|
MonoBehaviour monoBehaviour = photonView.DCOIKDFHBEN[j];
|
|
if (monoBehaviour == null)
|
|
{
|
|
Debug.LogError("ERROR You have missing MonoBehaviours on your gameobjects!");
|
|
}
|
|
else
|
|
{
|
|
Type type = monoBehaviour.GetType();
|
|
List<MethodInfo> list = null;
|
|
if (!this.LPEENKKKLCG.TryGetValue(type, out list))
|
|
{
|
|
List<MethodInfo> methods = SupportClass.GetMethods(type, typeof(BCENPNOIAOM));
|
|
this.LPEENKKKLCG[type] = methods;
|
|
list = methods;
|
|
}
|
|
if (list != null)
|
|
{
|
|
for (int k = 0; k < list.Count; k++)
|
|
{
|
|
MethodInfo methodInfo = list[k];
|
|
if (methodInfo.Name.Equals(text))
|
|
{
|
|
num7++;
|
|
ParameterInfo[] array3 = methodInfo.MFDOPPCGFLG();
|
|
if (array3.Length == array2.Length)
|
|
{
|
|
if (this.ADDGKDBKOIO(array3, array2))
|
|
{
|
|
num6++;
|
|
object obj2 = methodInfo.Invoke(monoBehaviour, array);
|
|
if (IHFKMIAHBFP.GAGMBLMMNPO && methodInfo.ReturnType == typeof(IEnumerator))
|
|
{
|
|
monoBehaviour.StartCoroutine((IEnumerator)obj2);
|
|
}
|
|
}
|
|
}
|
|
else if (array3.Length - 1 == array2.Length)
|
|
{
|
|
if (this.ADDGKDBKOIO(array3, array2) && array3[array3.Length - 1].ParameterType == typeof(BOCLHJCCOEL))
|
|
{
|
|
num6++;
|
|
int num8 = (int)KOGGMDDPAIB[2];
|
|
object[] array4 = new object[array.Length + 1];
|
|
array.CopyTo(array4, 0);
|
|
array4[array4.Length - 1] = new BOCLHJCCOEL(this.LAKLKNLMCMH(ENCNOKNALLC), num8, photonView);
|
|
object obj3 = methodInfo.Invoke(monoBehaviour, array4);
|
|
if (IHFKMIAHBFP.GAGMBLMMNPO && methodInfo.ReturnType == typeof(IEnumerator))
|
|
{
|
|
monoBehaviour.StartCoroutine((IEnumerator)obj3);
|
|
}
|
|
}
|
|
}
|
|
else if (array3.Length == 1 && array3[0].ParameterType.IsArray)
|
|
{
|
|
num6++;
|
|
object obj4 = methodInfo.Invoke(monoBehaviour, new object[] { array });
|
|
if (IHFKMIAHBFP.GAGMBLMMNPO && methodInfo.ReturnType == typeof(IEnumerator))
|
|
{
|
|
monoBehaviour.StartCoroutine((IEnumerator)obj4);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (num6 != 1)
|
|
{
|
|
string text2 = string.Empty;
|
|
foreach (Type type2 in array2)
|
|
{
|
|
if (text2 != string.Empty)
|
|
{
|
|
text2 += ", ";
|
|
}
|
|
if (type2 == null)
|
|
{
|
|
text2 += "null";
|
|
}
|
|
else
|
|
{
|
|
text2 += type2.Name;
|
|
}
|
|
}
|
|
if (num6 == 0)
|
|
{
|
|
if (num7 == 0)
|
|
{
|
|
Debug.LogError(string.Concat(new object[] { "PhotonView with ID ", num, " has no method \"", text, "\" marked with the [PunRPC](C#) or @PunRPC(JS) property! Args: ", text2 }));
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError(string.Concat(new object[] { "PhotonView with ID ", num, " has no method \"", text, "\" that takes ", array2.Length, " argument(s): ", text2 }));
|
|
}
|
|
}
|
|
else
|
|
{
|
|
Debug.LogError(string.Concat(new object[]
|
|
{
|
|
"PhotonView with ID ", num, " has ", num6, " methods \"", text, "\" that takes ", array2.Length, " argument(s): ", text2,
|
|
". Should be just one?"
|
|
}));
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C05B RID: 49243 RVA: 0x0039FC50 File Offset: 0x0039DE50
|
|
private void KNALDJCGFOL()
|
|
{
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary[244] = 0;
|
|
dictionary[247] = 7;
|
|
this.OpCustom(253, dictionary, true, 0);
|
|
}
|
|
|
|
// Token: 0x0600C05C RID: 49244 RVA: 0x0039FC94 File Offset: 0x0039DE94
|
|
private static int OBOIMBPKIOD(LNJFBGIBLHA[] PNBCBLCCKJN, int PHHLDNDHHAO)
|
|
{
|
|
if (PNBCBLCCKJN == null || PNBCBLCCKJN.Length == 0)
|
|
{
|
|
return -1;
|
|
}
|
|
int num = 192;
|
|
for (int i = 0; i < PNBCBLCCKJN.Length; i += 0)
|
|
{
|
|
LNJFBGIBLHA lnjfbgiblha = PNBCBLCCKJN[i];
|
|
if (lnjfbgiblha.BADMPMDONAH != PHHLDNDHHAO)
|
|
{
|
|
if (lnjfbgiblha.BADMPMDONAH < num)
|
|
{
|
|
num = lnjfbgiblha.BADMPMDONAH;
|
|
}
|
|
}
|
|
}
|
|
return num;
|
|
}
|
|
|
|
// Token: 0x0600C05D RID: 49245 RVA: 0x0039FCF4 File Offset: 0x0039DEF4
|
|
public void EMJADIGHIDM(byte CNFNEDGMCEL, bool KELIMOCDMOD)
|
|
{
|
|
if (!KELIMOCDMOD)
|
|
{
|
|
this.AGFINJBBNKC.Add(CNFNEDGMCEL);
|
|
}
|
|
else
|
|
{
|
|
this.AGFINJBBNKC.Remove(CNFNEDGMCEL);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C060 RID: 49248 RVA: 0x0039FD30 File Offset: 0x0039DF30
|
|
protected internal void CKJAKKLDOIM(GameObject FMEGPDMNPED, bool FCGJHAMHJCA)
|
|
{
|
|
if (FMEGPDMNPED == null)
|
|
{
|
|
Debug.LogError("Failed to 'network-remove' GameObject because it's null.");
|
|
return;
|
|
}
|
|
PhotonView[] componentsInChildren = FMEGPDMNPED.GetComponentsInChildren<PhotonView>(true);
|
|
if (componentsInChildren == null || componentsInChildren.Length <= 0)
|
|
{
|
|
Debug.LogError("Failed to 'network-remove' GameObject because has no PhotonView components: " + FMEGPDMNPED);
|
|
return;
|
|
}
|
|
PhotonView photonView = componentsInChildren[0];
|
|
int creatorActorNr = photonView.PFPNDJMCLLO;
|
|
int instantiationId = photonView.instantiationId;
|
|
if (!FCGJHAMHJCA)
|
|
{
|
|
if (!photonView.MOMLGEKNPGN)
|
|
{
|
|
Debug.LogError("Failed to 'network-remove' GameObject. Client is neither owner nor masterClient taking over for owner who left: " + photonView);
|
|
return;
|
|
}
|
|
if (instantiationId < 1)
|
|
{
|
|
Debug.LogError("Failed to 'network-remove' GameObject because it is missing a valid InstantiationId on view: " + photonView + ". Not Destroying GameObject or PhotonViews!");
|
|
return;
|
|
}
|
|
}
|
|
if (!FCGJHAMHJCA)
|
|
{
|
|
this.LAKOCHOLDEM(instantiationId, creatorActorNr, photonView.isRuntimeInstantiated);
|
|
}
|
|
for (int i = componentsInChildren.Length - 1; i >= 0; i--)
|
|
{
|
|
PhotonView photonView2 = componentsInChildren[i];
|
|
if (!(photonView2 == null))
|
|
{
|
|
if (photonView2.instantiationId >= 1)
|
|
{
|
|
this.OHEPFAHBINK(photonView2);
|
|
}
|
|
if (!FCGJHAMHJCA)
|
|
{
|
|
this.AALAJDFBPJK(photonView2);
|
|
}
|
|
}
|
|
}
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Full)
|
|
{
|
|
Debug.Log("Network destroy Instantiated GO: " + FMEGPDMNPED.name);
|
|
}
|
|
if (this.LJGEDOAJPNM != null)
|
|
{
|
|
PhotonView[] array = FMEGPDMNPED.LPMEIGACNLH();
|
|
for (int j = 0; j < array.Length; j++)
|
|
{
|
|
array[j].ADMBCINHJOG = 0;
|
|
}
|
|
this.LJGEDOAJPNM.JFCIOOHPLFJ(FMEGPDMNPED);
|
|
}
|
|
else
|
|
{
|
|
global::UnityEngine.Object.Destroy(FMEGPDMNPED);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C061 RID: 49249 RVA: 0x0039FEA8 File Offset: 0x0039E0A8
|
|
protected internal void BENDGGNEMLN(GameObject FMEGPDMNPED, bool FCGJHAMHJCA)
|
|
{
|
|
if (FMEGPDMNPED == null)
|
|
{
|
|
Debug.LogError(")");
|
|
return;
|
|
}
|
|
PhotonView[] componentsInChildren = FMEGPDMNPED.GetComponentsInChildren<PhotonView>(true);
|
|
if (componentsInChildren == null || componentsInChildren.Length <= 0)
|
|
{
|
|
Debug.LogError("InvincibleInGames" + FMEGPDMNPED);
|
|
return;
|
|
}
|
|
PhotonView photonView = componentsInChildren[1];
|
|
int num = photonView.CEHNFKCAIOO();
|
|
int instantiationId = photonView.instantiationId;
|
|
if (!FCGJHAMHJCA)
|
|
{
|
|
if (!photonView.MOMLGEKNPGN)
|
|
{
|
|
Debug.LogError(" ms" + photonView);
|
|
return;
|
|
}
|
|
if (instantiationId < 1)
|
|
{
|
|
Debug.LogError("Go to " + photonView + "Members only area!");
|
|
return;
|
|
}
|
|
}
|
|
if (!FCGJHAMHJCA)
|
|
{
|
|
this.LAKOCHOLDEM(instantiationId, num, photonView.isRuntimeInstantiated);
|
|
}
|
|
for (int i = componentsInChildren.Length - 1; i >= 1; i -= 0)
|
|
{
|
|
PhotonView photonView2 = componentsInChildren[i];
|
|
if (!(photonView2 == null))
|
|
{
|
|
if (photonView2.instantiationId >= 0)
|
|
{
|
|
this.JHPKPGJBPIH(photonView2);
|
|
}
|
|
if (!FCGJHAMHJCA)
|
|
{
|
|
this.AALAJDFBPJK(photonView2);
|
|
}
|
|
}
|
|
}
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log("=" + FMEGPDMNPED.name);
|
|
}
|
|
if (this.LJGEDOAJPNM != null)
|
|
{
|
|
PhotonView[] array = FMEGPDMNPED.LPMEIGACNLH();
|
|
for (int j = 0; j < array.Length; j += 0)
|
|
{
|
|
array[j].EKMMPMDPALC(0);
|
|
}
|
|
this.LJGEDOAJPNM.JFCIOOHPLFJ(FMEGPDMNPED);
|
|
}
|
|
else
|
|
{
|
|
global::UnityEngine.Object.Destroy(FMEGPDMNPED);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C062 RID: 49250 RVA: 0x003A0020 File Offset: 0x0039E220
|
|
private void IFLEPFGPIMJ(OperationResponse IMDHCINGADG)
|
|
{
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
byte operationCode = IMDHCINGADG.OperationCode;
|
|
if (operationCode != 227)
|
|
{
|
|
if (operationCode != 226)
|
|
{
|
|
if (operationCode == 225)
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log("Join failed on GameServer. Changing back to MasterServer. Msg: " + IMDHCINGADG.DebugMessage);
|
|
if (IMDHCINGADG.ReturnCode == 32758)
|
|
{
|
|
Debug.Log("Most likely the game became empty during the switch to GameServer.");
|
|
}
|
|
}
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonRandomJoinFailed, new object[] { IMDHCINGADG.ReturnCode, IMDHCINGADG.DebugMessage });
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log("Join failed on GameServer. Changing back to MasterServer. Msg: " + IMDHCINGADG.DebugMessage);
|
|
if (IMDHCINGADG.ReturnCode == 32758)
|
|
{
|
|
Debug.Log("Most likely the game became empty during the switch to GameServer.");
|
|
}
|
|
}
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonJoinRoomFailed, new object[] { IMDHCINGADG.ReturnCode, IMDHCINGADG.DebugMessage });
|
|
}
|
|
}
|
|
else
|
|
{
|
|
if (IHFKMIAHBFP.AHJGHBFFLCO >= DGNJCNPDGHM.Informational)
|
|
{
|
|
Debug.Log("Create failed on GameServer. Changing back to MasterServer. Msg: " + IMDHCINGADG.DebugMessage);
|
|
}
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnPhotonCreateRoomFailed, new object[] { IMDHCINGADG.ReturnCode, IMDHCINGADG.DebugMessage });
|
|
}
|
|
this.FJDMJGIODGI();
|
|
return;
|
|
}
|
|
this.NNCLHENEJDI = new PLOPPLAOICD(this.KFLPHAFFMAL.IBLFNFKBOOG, null)
|
|
{
|
|
DKKCEGIBCMK = true
|
|
};
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Joined;
|
|
if (IMDHCINGADG.Parameters.ContainsKey(252))
|
|
{
|
|
int[] array = (int[])IMDHCINGADG.Parameters[252];
|
|
this.NEGLIBNLKFI(array);
|
|
}
|
|
int num = (int)IMDHCINGADG[254];
|
|
this.FMIIDOFMEHN(num);
|
|
ExitGames.Client.Photon.Hashtable hashtable = (ExitGames.Client.Photon.Hashtable)IMDHCINGADG[249];
|
|
ExitGames.Client.Photon.Hashtable hashtable2 = (ExitGames.Client.Photon.Hashtable)IMDHCINGADG[248];
|
|
this.EPAJOGNHEOI(hashtable2, hashtable, 0);
|
|
if (!this.NNCLHENEJDI.DEPHKHIDDGJ)
|
|
{
|
|
this.KCDJJHFDGKG(-1);
|
|
}
|
|
if (this.LFOOGKDCHAK)
|
|
{
|
|
this.OABKOHDGLDA();
|
|
}
|
|
byte operationCode2 = IMDHCINGADG.OperationCode;
|
|
if (operationCode2 != 227)
|
|
{
|
|
if (operationCode2 != 226 && operationCode2 != 225)
|
|
{
|
|
}
|
|
}
|
|
else
|
|
{
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnCreatedRoom, new object[0]);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C063 RID: 49251 RVA: 0x003A028C File Offset: 0x0039E48C
|
|
protected internal void EPKFFGOAIDO()
|
|
{
|
|
if (!IHFKMIAHBFP.DFHAJGGDIPJ || IHFKMIAHBFP.HCHIDMOLLAD || IHFKMIAHBFP.FIIFPLCNFHJ == null)
|
|
{
|
|
return;
|
|
}
|
|
if (!IHFKMIAHBFP.FIIFPLCNFHJ.BAHICKLKKHB.ContainsKey("ObscuredPrefs vs PlayerPrefs, "))
|
|
{
|
|
return;
|
|
}
|
|
object obj = IHFKMIAHBFP.FIIFPLCNFHJ.HPNKGLIGOCJ()["cHJvdG8z"];
|
|
if (obj is int)
|
|
{
|
|
if (JHLOLIJHHDM.HFJBFJEFCFD() != (int)obj)
|
|
{
|
|
IHFKMIAHBFP.KBPGDNLOIIH((int)obj);
|
|
}
|
|
}
|
|
else if (obj is string && JHLOLIJHHDM.CAGJICFIFOD() != (string)obj)
|
|
{
|
|
IHFKMIAHBFP.KBPGDNLOIIH((string)obj);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C064 RID: 49252 RVA: 0x003A0340 File Offset: 0x0039E540
|
|
public void FMIIDOFMEHN(int EIOBMFGBFCA)
|
|
{
|
|
if (this.JJOPMICJNMB == null)
|
|
{
|
|
Debug.LogWarning(string.Format("LocalPlayer is null or not in mActors! LocalPlayer: {0} mActors==null: {1} newID: {2}", this.JJOPMICJNMB, this.MFOKJIFJOHC == null, EIOBMFGBFCA));
|
|
}
|
|
if (this.MFOKJIFJOHC.ContainsKey(this.JJOPMICJNMB.BADMPMDONAH))
|
|
{
|
|
this.MFOKJIFJOHC.Remove(this.JJOPMICJNMB.BADMPMDONAH);
|
|
}
|
|
this.JJOPMICJNMB.FNBCGOMADJL(EIOBMFGBFCA);
|
|
this.MFOKJIFJOHC[this.JJOPMICJNMB.BADMPMDONAH] = this.JJOPMICJNMB;
|
|
this.HFKBEFHDICJ();
|
|
}
|
|
|
|
// Token: 0x0600C066 RID: 49254 RVA: 0x003A03F0 File Offset: 0x0039E5F0
|
|
public int GHDDFIFPPME()
|
|
{
|
|
return this.<FEBEJAIPOJM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C067 RID: 49255 RVA: 0x003A03F8 File Offset: 0x0039E5F8
|
|
[CompilerGenerated]
|
|
private static int BNAMAHKKMGJ(LNJFBGIBLHA ILFEPFCLLFJ, LNJFBGIBLHA CCOAIHDIKAN)
|
|
{
|
|
return ILFEPFCLLFJ.BADMPMDONAH - CCOAIHDIKAN.BADMPMDONAH;
|
|
}
|
|
|
|
// Token: 0x0600C068 RID: 49256 RVA: 0x003A0408 File Offset: 0x0039E608
|
|
private void KCDJJHFDGKG(int DHOGCJBAPOG)
|
|
{
|
|
bool flag = this.IDFONHMBFFO == DHOGCJBAPOG;
|
|
bool flag2 = DHOGCJBAPOG > 0;
|
|
if (flag2 && !flag)
|
|
{
|
|
return;
|
|
}
|
|
int num;
|
|
if (this.MFOKJIFJOHC.Count <= 1)
|
|
{
|
|
num = this.JJOPMICJNMB.BADMPMDONAH;
|
|
}
|
|
else
|
|
{
|
|
num = int.MaxValue;
|
|
foreach (int num2 in this.MFOKJIFJOHC.Keys)
|
|
{
|
|
if (num2 < num && num2 != DHOGCJBAPOG)
|
|
{
|
|
num = num2;
|
|
}
|
|
}
|
|
}
|
|
this.IDFONHMBFFO = num;
|
|
if (flag2)
|
|
{
|
|
BEIKFLMNLCB.LEPBLBEFHAJ(HCPAJHOGHMM.OnMasterClientSwitched, new object[] { this.LAKLKNLMCMH(num) });
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C069 RID: 49257 RVA: 0x003A04DC File Offset: 0x0039E6DC
|
|
public void IKPMOEDGKLN(PhotonView CAANMEBEOIJ)
|
|
{
|
|
ExitGames.Client.Photon.Hashtable hashtable = new ExitGames.Client.Photon.Hashtable();
|
|
hashtable[1] = CAANMEBEOIJ.ADMBCINHJOG;
|
|
OOKHEEKOHMJ ookheekohmj = new OOKHEEKOHMJ
|
|
{
|
|
AJFELBMHOMI = (GMGGPAHOGHH)8
|
|
};
|
|
this.JDKEEKDOLHJ(176, hashtable, true, ookheekohmj);
|
|
}
|
|
|
|
// Token: 0x04001B6D RID: 7021
|
|
protected internal string FFHFHKHJFOI;
|
|
|
|
// Token: 0x04001B6F RID: 7023
|
|
private string KHPMEEGONLI;
|
|
|
|
// Token: 0x04001B70 RID: 7024
|
|
public IKICDKCKFKM JOMBCGIHFGP;
|
|
|
|
// Token: 0x04001B71 RID: 7025
|
|
public FCKPOBBDMNO FCKPOBBDMNO;
|
|
|
|
// Token: 0x04001B73 RID: 7027
|
|
public const string AIGNAPDKBMA = "ns.exitgames.com";
|
|
|
|
// Token: 0x04001B74 RID: 7028
|
|
public const string BHACACOBGIK = "http://ns.exitgamescloud.com:80/photon/n";
|
|
|
|
// Token: 0x04001B75 RID: 7029
|
|
private static readonly Dictionary<ConnectionProtocol, int> BBBCEMEHJHO = new Dictionary<ConnectionProtocol, int>
|
|
{
|
|
{
|
|
ConnectionProtocol.Udp,
|
|
5058
|
|
},
|
|
{
|
|
ConnectionProtocol.Tcp,
|
|
4533
|
|
},
|
|
{
|
|
ConnectionProtocol.WebSocket,
|
|
9093
|
|
},
|
|
{
|
|
ConnectionProtocol.WebSocketSecure,
|
|
19093
|
|
}
|
|
};
|
|
|
|
// Token: 0x04001B7A RID: 7034
|
|
public bool DLIEDKPCENF;
|
|
|
|
// Token: 0x04001B7B RID: 7035
|
|
public bool NJJDIBJODPB;
|
|
|
|
// Token: 0x04001B7D RID: 7037
|
|
protected internal List<HPOGOLJNMOE> PPGPEJENEBP = new List<HPOGOLJNMOE>();
|
|
|
|
// Token: 0x04001B7E RID: 7038
|
|
public Dictionary<string, HLLIJLFHBJM> KJEENCIHBBG = new Dictionary<string, HLLIJLFHBJM>();
|
|
|
|
// Token: 0x04001B7F RID: 7039
|
|
public HLLIJLFHBJM[] GJACNPPGFOP = new HLLIJLFHBJM[0];
|
|
|
|
// Token: 0x04001B80 RID: 7040
|
|
private string LMAHIKJOIFL = string.Empty;
|
|
|
|
// Token: 0x04001B81 RID: 7041
|
|
private bool LFOOGKDCHAK;
|
|
|
|
// Token: 0x04001B82 RID: 7042
|
|
private PLOPPLAOICD OAFHDGPBCPN;
|
|
|
|
// Token: 0x04001B87 RID: 7047
|
|
private BMBIMJIMFLA BCEOKIDFFCN;
|
|
|
|
// Token: 0x04001B88 RID: 7048
|
|
protected internal NAMOHKJGILD KFLPHAFFMAL;
|
|
|
|
// Token: 0x04001B89 RID: 7049
|
|
private bool GJJEPCJBKBH;
|
|
|
|
// Token: 0x04001B8A RID: 7050
|
|
private string[] HFNJMHHLBME;
|
|
|
|
// Token: 0x04001B8B RID: 7051
|
|
private int AOIALPPNDML;
|
|
|
|
// Token: 0x04001B8C RID: 7052
|
|
private bool MOLLGEKMPOP;
|
|
|
|
// Token: 0x04001B8F RID: 7055
|
|
public Dictionary<int, LNJFBGIBLHA> MFOKJIFJOHC = new Dictionary<int, LNJFBGIBLHA>();
|
|
|
|
// Token: 0x04001B90 RID: 7056
|
|
public LNJFBGIBLHA[] IOJKLAGMOLO = new LNJFBGIBLHA[0];
|
|
|
|
// Token: 0x04001B91 RID: 7057
|
|
public LNJFBGIBLHA[] LDJGFAKIDEL = new LNJFBGIBLHA[0];
|
|
|
|
// Token: 0x04001B92 RID: 7058
|
|
public bool KDGEJLICPNO;
|
|
|
|
// Token: 0x04001B93 RID: 7059
|
|
private HashSet<byte> NPNHFPBEPDM = new HashSet<byte>();
|
|
|
|
// Token: 0x04001B94 RID: 7060
|
|
private HashSet<byte> AGFINJBBNKC = new HashSet<byte>();
|
|
|
|
// Token: 0x04001B95 RID: 7061
|
|
protected internal Dictionary<int, PhotonView> HOFNDCMODDM = new Dictionary<int, PhotonView>();
|
|
|
|
// Token: 0x04001B96 RID: 7062
|
|
private readonly FKIBELLNBEC LBMAHNJGIIH = new FKIBELLNBEC(false, null);
|
|
|
|
// Token: 0x04001B97 RID: 7063
|
|
private readonly FKIBELLNBEC DOFNMNAHHMK = new FKIBELLNBEC(true, null);
|
|
|
|
// Token: 0x04001B98 RID: 7064
|
|
private readonly Dictionary<int, ExitGames.Client.Photon.Hashtable> FODJGCNMDHL = new Dictionary<int, ExitGames.Client.Photon.Hashtable>();
|
|
|
|
// Token: 0x04001B99 RID: 7065
|
|
private readonly Dictionary<int, ExitGames.Client.Photon.Hashtable> APJLENMBNOF = new Dictionary<int, ExitGames.Client.Photon.Hashtable>();
|
|
|
|
// Token: 0x04001B9A RID: 7066
|
|
protected internal short CIMNHNOABOM;
|
|
|
|
// Token: 0x04001B9B RID: 7067
|
|
protected internal const string HLHNHEGKKDI = "curScn";
|
|
|
|
// Token: 0x04001B9C RID: 7068
|
|
public static bool CDGIBFNHDHJ = true;
|
|
|
|
// Token: 0x04001B9D RID: 7069
|
|
internal ENODLBMBMJD LJGEDOAJPNM;
|
|
|
|
// Token: 0x04001B9E RID: 7070
|
|
public static Dictionary<string, GameObject> CINJHLOMKIA = new Dictionary<string, GameObject>();
|
|
|
|
// Token: 0x04001B9F RID: 7071
|
|
private Dictionary<Type, List<MethodInfo>> LPEENKKKLCG = new Dictionary<Type, List<MethodInfo>>();
|
|
|
|
// Token: 0x04001BA0 RID: 7072
|
|
private readonly Dictionary<string, int> ILJECOEGOIH;
|
|
|
|
// Token: 0x04001BA1 RID: 7073
|
|
private static readonly string MEDBPNLKPBO = HCPAJHOGHMM.OnPhotonInstantiate.ToString();
|
|
|
|
// Token: 0x04001BA2 RID: 7074
|
|
private string PNENAEJOEEM;
|
|
|
|
// Token: 0x04001BA3 RID: 7075
|
|
private string PGJOKBGHNGK;
|
|
|
|
// Token: 0x04001BA4 RID: 7076
|
|
private NIPLONJCJIF NOGOHDAEBCJ;
|
|
|
|
// Token: 0x04001BA5 RID: 7077
|
|
private bool OJMHLANFCKE;
|
|
|
|
// Token: 0x04001BA6 RID: 7078
|
|
private Dictionary<int, object[]> GGOAGLFKHDB = new Dictionary<int, object[]>();
|
|
|
|
// Token: 0x04001BA7 RID: 7079
|
|
public static int OKGIEHDFHED = 10;
|
|
|
|
// Token: 0x04001BA8 RID: 7080
|
|
private OOKHEEKOHMJ IDKHICEFBDO = new OOKHEEKOHMJ();
|
|
|
|
// Token: 0x04001BA9 RID: 7081
|
|
private Dictionary<int, float> DCFEALHOPFE = new Dictionary<int, float>(1000);
|
|
|
|
// Token: 0x04001BAA RID: 7082
|
|
private Dictionary<int, int> NAIJLIDODKA = new Dictionary<int, int>(1000);
|
|
|
|
// Token: 0x04001BAB RID: 7083
|
|
public const int HMFBDFCGIFC = 0;
|
|
|
|
// Token: 0x04001BAC RID: 7084
|
|
public const int EIHOKCGMFHO = 1;
|
|
|
|
// Token: 0x04001BAD RID: 7085
|
|
public const int PEFLFLNCEEM = 2;
|
|
|
|
// Token: 0x04001BAE RID: 7086
|
|
public const int OHBOBNNPDHC = 3;
|
|
|
|
// Token: 0x04001BAF RID: 7087
|
|
private AutoResetEvent GLFEMICKAHP = new AutoResetEvent(false);
|
|
|
|
// Token: 0x04001BB0 RID: 7088
|
|
private AutoResetEvent IEMFIKMJHIK = new AutoResetEvent(false);
|
|
|
|
// Token: 0x04001BB1 RID: 7089
|
|
private bool FBNIOECNIIK;
|
|
|
|
// Token: 0x04001BB2 RID: 7090
|
|
private Queue<Action> JHKFNILODGP = new Queue<Action>();
|
|
|
|
// Token: 0x04001BB3 RID: 7091
|
|
[CompilerGenerated]
|
|
private static Comparison<LNJFBGIBLHA> DINNJGHCFHI;
|
|
|
|
// Token: 0x0200049D RID: 1181
|
|
[CompilerGenerated]
|
|
private sealed class DJIJMBPPAKG
|
|
{
|
|
// Token: 0x0600C06A RID: 49258 RVA: 0x003A0524 File Offset: 0x0039E724
|
|
internal void DPIKDIPCJKM()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C06B RID: 49259 RVA: 0x003A0538 File Offset: 0x0039E738
|
|
internal void KLMKCPAELKO()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C06C RID: 49260 RVA: 0x003A054C File Offset: 0x0039E74C
|
|
internal void NALMKHOOIDC()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C06D RID: 49261 RVA: 0x003A0560 File Offset: 0x0039E760
|
|
internal void OJKNBNGGBEC()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C06E RID: 49262 RVA: 0x003A0574 File Offset: 0x0039E774
|
|
internal void ELNIKMBDIDF()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C06F RID: 49263 RVA: 0x003A0588 File Offset: 0x0039E788
|
|
internal void ODJELHECHPO()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C070 RID: 49264 RVA: 0x003A059C File Offset: 0x0039E79C
|
|
internal void CBMLMMGMAMI()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C071 RID: 49265 RVA: 0x003A05B0 File Offset: 0x0039E7B0
|
|
internal void CHPMHNFNCDD()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C072 RID: 49266 RVA: 0x003A05C4 File Offset: 0x0039E7C4
|
|
internal void BMJOLOCMHKL()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C073 RID: 49267 RVA: 0x003A05D8 File Offset: 0x0039E7D8
|
|
internal void BFLGOFKCKFP()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C074 RID: 49268 RVA: 0x003A05EC File Offset: 0x0039E7EC
|
|
internal void BPHNJPMKOEC()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C075 RID: 49269 RVA: 0x003A0600 File Offset: 0x0039E800
|
|
internal void OBEELMGMFCN()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C076 RID: 49270 RVA: 0x003A0614 File Offset: 0x0039E814
|
|
internal void JBFOKOJEMEC()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C077 RID: 49271 RVA: 0x003A0628 File Offset: 0x0039E828
|
|
internal void CMJAJDPCFJA()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C078 RID: 49272 RVA: 0x003A063C File Offset: 0x0039E83C
|
|
internal void NKONOOELLHD()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C079 RID: 49273 RVA: 0x003A0650 File Offset: 0x0039E850
|
|
internal void NNKHKHOALNP()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C07A RID: 49274 RVA: 0x003A0664 File Offset: 0x0039E864
|
|
internal void EDIBGMKACKD()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C07C RID: 49276 RVA: 0x003A0680 File Offset: 0x0039E880
|
|
internal void KIIKBNCHANP()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C07D RID: 49277 RVA: 0x003A0694 File Offset: 0x0039E894
|
|
internal void GFKPDLLFOFH()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C07E RID: 49278 RVA: 0x003A06A8 File Offset: 0x0039E8A8
|
|
internal void PBHHLBFFGJK()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x0600C07F RID: 49279 RVA: 0x003A06BC File Offset: 0x0039E8BC
|
|
internal void NNKGIDKPAEK()
|
|
{
|
|
this.LGLLICEMHIK.GMCGPMDEFOC(this.IMDHCINGADG);
|
|
}
|
|
|
|
// Token: 0x04001BB4 RID: 7092
|
|
internal OperationResponse IMDHCINGADG;
|
|
|
|
// Token: 0x04001BB5 RID: 7093
|
|
internal BEIKFLMNLCB LGLLICEMHIK;
|
|
}
|
|
|
|
// Token: 0x0200049E RID: 1182
|
|
[CompilerGenerated]
|
|
private sealed class JKHMPKJADMJ
|
|
{
|
|
// Token: 0x0600C080 RID: 49280 RVA: 0x003A06D0 File Offset: 0x0039E8D0
|
|
internal void CIEGOBEALHN()
|
|
{
|
|
this.LGLLICEMHIK.ODCKJINPMAL(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C081 RID: 49281 RVA: 0x003A06E4 File Offset: 0x0039E8E4
|
|
internal void IBLIPIGAMEL()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C082 RID: 49282 RVA: 0x003A06F8 File Offset: 0x0039E8F8
|
|
internal void KLMKCPAELKO()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C083 RID: 49283 RVA: 0x003A070C File Offset: 0x0039E90C
|
|
internal void PIBLMAAJNEN()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C084 RID: 49284 RVA: 0x003A0720 File Offset: 0x0039E920
|
|
internal void PGMGGNODPAN()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C085 RID: 49285 RVA: 0x003A0734 File Offset: 0x0039E934
|
|
internal void NNKGIDKPAEK()
|
|
{
|
|
this.LGLLICEMHIK.ODCKJINPMAL(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C086 RID: 49286 RVA: 0x003A0748 File Offset: 0x0039E948
|
|
internal void OJKNBNGGBEC()
|
|
{
|
|
this.LGLLICEMHIK.ODCKJINPMAL(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C087 RID: 49287 RVA: 0x003A075C File Offset: 0x0039E95C
|
|
internal void PBHHLBFFGJK()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C088 RID: 49288 RVA: 0x003A0770 File Offset: 0x0039E970
|
|
internal void EDIBGMKACKD()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C089 RID: 49289 RVA: 0x003A0784 File Offset: 0x0039E984
|
|
internal void NALMKHOOIDC()
|
|
{
|
|
this.LGLLICEMHIK.ODCKJINPMAL(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C08A RID: 49290 RVA: 0x003A0798 File Offset: 0x0039E998
|
|
internal void GKPFDNMOEIP()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C08B RID: 49291 RVA: 0x003A07AC File Offset: 0x0039E9AC
|
|
internal void FLEEFDFKEIB()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C08C RID: 49292 RVA: 0x003A07C0 File Offset: 0x0039E9C0
|
|
internal void IOJPCLALFLN()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C08D RID: 49293 RVA: 0x003A07D4 File Offset: 0x0039E9D4
|
|
internal void ELNIKMBDIDF()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C08E RID: 49294 RVA: 0x003A07E8 File Offset: 0x0039E9E8
|
|
internal void DPNFJMCMNGC()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C08F RID: 49295 RVA: 0x003A07FC File Offset: 0x0039E9FC
|
|
internal void CBMLMMGMAMI()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C090 RID: 49296 RVA: 0x003A0810 File Offset: 0x0039EA10
|
|
internal void PGGNPPHMGMF()
|
|
{
|
|
this.LGLLICEMHIK.ODCKJINPMAL(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C091 RID: 49297 RVA: 0x003A0824 File Offset: 0x0039EA24
|
|
internal void CEGCMAAOAKK()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C092 RID: 49298 RVA: 0x003A0838 File Offset: 0x0039EA38
|
|
internal void NPODACBLMGF()
|
|
{
|
|
this.LGLLICEMHIK.ODCKJINPMAL(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C093 RID: 49299 RVA: 0x003A084C File Offset: 0x0039EA4C
|
|
internal void KKJLKAONIOD()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C094 RID: 49300 RVA: 0x003A0860 File Offset: 0x0039EA60
|
|
internal void CFCEJGGFGPD()
|
|
{
|
|
this.LGLLICEMHIK.ODCKJINPMAL(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C095 RID: 49301 RVA: 0x003A0874 File Offset: 0x0039EA74
|
|
internal void DPIKDIPCJKM()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C096 RID: 49302 RVA: 0x003A0888 File Offset: 0x0039EA88
|
|
internal void GOPMNHCPOJL()
|
|
{
|
|
this.LGLLICEMHIK.ODCKJINPMAL(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C097 RID: 49303 RVA: 0x003A089C File Offset: 0x0039EA9C
|
|
internal void PJGEPHDJHFC()
|
|
{
|
|
this.LGLLICEMHIK.NKDJBLAGLID(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C098 RID: 49304 RVA: 0x003A08B0 File Offset: 0x0039EAB0
|
|
internal void BPHNJPMKOEC()
|
|
{
|
|
this.LGLLICEMHIK.ODCKJINPMAL(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C099 RID: 49305 RVA: 0x003A08C4 File Offset: 0x0039EAC4
|
|
internal void BALLGOLONNE()
|
|
{
|
|
this.LGLLICEMHIK.ODCKJINPMAL(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C09A RID: 49306 RVA: 0x003A08D8 File Offset: 0x0039EAD8
|
|
internal void GFKPDLLFOFH()
|
|
{
|
|
this.LGLLICEMHIK.ODCKJINPMAL(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x0600C09B RID: 49307 RVA: 0x003A08EC File Offset: 0x0039EAEC
|
|
internal void DFFNHHOHCEK()
|
|
{
|
|
this.LGLLICEMHIK.ODCKJINPMAL(this.CBIONIJKCEP);
|
|
}
|
|
|
|
// Token: 0x04001BB6 RID: 7094
|
|
internal StatusCode CBIONIJKCEP;
|
|
|
|
// Token: 0x04001BB7 RID: 7095
|
|
internal BEIKFLMNLCB LGLLICEMHIK;
|
|
}
|
|
|
|
// Token: 0x0200049F RID: 1183
|
|
[CompilerGenerated]
|
|
private sealed class PNOICALOLHA
|
|
{
|
|
// Token: 0x0600C09D RID: 49309 RVA: 0x003A0908 File Offset: 0x0039EB08
|
|
internal void PGGNPPHMGMF()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C09E RID: 49310 RVA: 0x003A091C File Offset: 0x0039EB1C
|
|
internal void KKJLKAONIOD()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C09F RID: 49311 RVA: 0x003A0930 File Offset: 0x0039EB30
|
|
internal void DPIKDIPCJKM()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0A0 RID: 49312 RVA: 0x003A0944 File Offset: 0x0039EB44
|
|
internal void PGMGGNODPAN()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0A1 RID: 49313 RVA: 0x003A0958 File Offset: 0x0039EB58
|
|
internal void NMLJPMHILLF()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0A2 RID: 49314 RVA: 0x003A096C File Offset: 0x0039EB6C
|
|
internal void FLEEFDFKEIB()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0A3 RID: 49315 RVA: 0x003A0980 File Offset: 0x0039EB80
|
|
internal void GFKPDLLFOFH()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0A4 RID: 49316 RVA: 0x003A0994 File Offset: 0x0039EB94
|
|
internal void DFFNHHOHCEK()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0A5 RID: 49317 RVA: 0x003A09A8 File Offset: 0x0039EBA8
|
|
internal void CNBODKBDHKF()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0A7 RID: 49319 RVA: 0x003A09C4 File Offset: 0x0039EBC4
|
|
internal void PIBLMAAJNEN()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0A8 RID: 49320 RVA: 0x003A09D8 File Offset: 0x0039EBD8
|
|
internal void CMJAJDPCFJA()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0A9 RID: 49321 RVA: 0x003A09EC File Offset: 0x0039EBEC
|
|
internal void OJKNBNGGBEC()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0AA RID: 49322 RVA: 0x003A0A00 File Offset: 0x0039EC00
|
|
internal void CHPIPMCMKFE()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0AB RID: 49323 RVA: 0x003A0A14 File Offset: 0x0039EC14
|
|
internal void ABODGDAKAEN()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0AC RID: 49324 RVA: 0x003A0A28 File Offset: 0x0039EC28
|
|
internal void CDOONHODPEF()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0AD RID: 49325 RVA: 0x003A0A3C File Offset: 0x0039EC3C
|
|
internal void ODJELHECHPO()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0AE RID: 49326 RVA: 0x003A0A50 File Offset: 0x0039EC50
|
|
internal void PJGEPHDJHFC()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0AF RID: 49327 RVA: 0x003A0A64 File Offset: 0x0039EC64
|
|
internal void DPNFJMCMNGC()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0B0 RID: 49328 RVA: 0x003A0A78 File Offset: 0x0039EC78
|
|
internal void CACOMKEAKLI()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0B1 RID: 49329 RVA: 0x003A0A8C File Offset: 0x0039EC8C
|
|
internal void KLMKCPAELKO()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0B2 RID: 49330 RVA: 0x003A0AA0 File Offset: 0x0039ECA0
|
|
internal void JBFOKOJEMEC()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0B3 RID: 49331 RVA: 0x003A0AB4 File Offset: 0x0039ECB4
|
|
internal void NJLCHBPFKMD()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0B4 RID: 49332 RVA: 0x003A0AC8 File Offset: 0x0039ECC8
|
|
internal void IBLIPIGAMEL()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0B5 RID: 49333 RVA: 0x003A0ADC File Offset: 0x0039ECDC
|
|
internal void HJNAKCHFFHA()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0B6 RID: 49334 RVA: 0x003A0AF0 File Offset: 0x0039ECF0
|
|
internal void MFGNBHBNJPJ()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x0600C0B7 RID: 49335 RVA: 0x003A0B04 File Offset: 0x0039ED04
|
|
internal void OGAJFHEKIED()
|
|
{
|
|
this.LGLLICEMHIK.DCFLDIDDFDE(this.KGLJJCBHOIO);
|
|
}
|
|
|
|
// Token: 0x04001BB8 RID: 7096
|
|
internal EventData KGLJJCBHOIO;
|
|
|
|
// Token: 0x04001BB9 RID: 7097
|
|
internal BEIKFLMNLCB LGLLICEMHIK;
|
|
}
|
|
}
|