1896 lines
57 KiB
C#
1896 lines
57 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.Threading;
|
|
using UnityEngine;
|
|
|
|
namespace ExitGames.Client.Photon.LoadBalancing
|
|
{
|
|
// Token: 0x0200050B RID: 1291
|
|
public class FIAOFHLCFJM : IPhotonPeerListener
|
|
{
|
|
// Token: 0x0600D36F RID: 54127 RVA: 0x003FC738 File Offset: 0x003FA938
|
|
public bool DAHOPCDBCEP(string NJIGDCLPOLO, string[] FNBNGDPICEA = null)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Joining;
|
|
this.BCEOKIDFFCN = BMBIMJIMFLA.JoinRoom;
|
|
bool flag = this.CONBCJADCAO == NIPLONJCJIF.GameServer;
|
|
NAMOHKJGILD namohkjgild = new NAMOHKJGILD();
|
|
this.KFLPHAFFMAL = namohkjgild;
|
|
namohkjgild.IBLFNFKBOOG = NJIGDCLPOLO;
|
|
namohkjgild.HMPOKNOAHHI = flag;
|
|
namohkjgild.MMLMENHMLIH = FNBNGDPICEA;
|
|
return this.NGMGACDCAKP.DAHOPCDBCEP(namohkjgild);
|
|
}
|
|
|
|
// Token: 0x0600D370 RID: 54128 RVA: 0x003FC78C File Offset: 0x003FA98C
|
|
protected internal virtual MBHLIAEFEAD MHGPJOOJGMP(string PDCGBNKOENM, int OFIAAHIIIJD, bool NHDDPGADJPJ, Hashtable IHFAHPNPLOM)
|
|
{
|
|
return new MBHLIAEFEAD(PDCGBNKOENM, OFIAAHIIIJD, NHDDPGADJPJ, IHFAHPNPLOM);
|
|
}
|
|
|
|
// Token: 0x17000573 RID: 1395
|
|
// (get) Token: 0x0600D390 RID: 54160 RVA: 0x003FD9EC File Offset: 0x003FBBEC
|
|
// (set) Token: 0x0600D371 RID: 54129 RVA: 0x003FC7A8 File Offset: 0x003FA9A8
|
|
public NIPLONJCJIF CONBCJADCAO { get; private set; }
|
|
|
|
// Token: 0x17000581 RID: 1409
|
|
// (get) Token: 0x0600D372 RID: 54130 RVA: 0x003FC7B4 File Offset: 0x003FA9B4
|
|
// (set) Token: 0x0600D3BB RID: 54203 RVA: 0x003FE754 File Offset: 0x003FC954
|
|
public List<CPKFBECBALE> DNAGMNFAOMJ { get; private set; }
|
|
|
|
// Token: 0x0600D373 RID: 54131 RVA: 0x003FC7BC File Offset: 0x003FA9BC
|
|
public virtual bool JDKEEKDOLHJ(byte FEMGCILDLIO, object KBIBIMMAKAH, bool FJJDCGOIMNE, OOKHEEKOHMJ JFEJPFPPHKJ)
|
|
{
|
|
return this.NGMGACDCAKP != null && this.NGMGACDCAKP.JDKEEKDOLHJ(FEMGCILDLIO, KBIBIMMAKAH, FJJDCGOIMNE, JFEJPFPPHKJ);
|
|
}
|
|
|
|
// Token: 0x0600D374 RID: 54132 RVA: 0x003FC7DC File Offset: 0x003FA9DC
|
|
protected internal bool GPIGEJFPIMJ(Hashtable BDNJIFFKFBL, Hashtable AFHBJGKLCID = null, DBDDPLOKKJM BMGPDKJIOPG = null)
|
|
{
|
|
if (this.NNCLHENEJDI == null)
|
|
{
|
|
if (this.NGMGACDCAKP.DebugOut >= DebugLevel.ERROR)
|
|
{
|
|
this.DebugReturn(DebugLevel.ERROR, "OpSetPropertiesOfRoom() failed because this client is not in a room currently. State: " + this.FBBMOMHACLA);
|
|
}
|
|
return false;
|
|
}
|
|
if (AFHBJGKLCID == null || AFHBJGKLCID.Count == 0)
|
|
{
|
|
this.NNCLHENEJDI.KAOPACPDHFG(BDNJIFFKFBL);
|
|
}
|
|
return this.NGMGACDCAKP.GPIGEJFPIMJ(BDNJIFFKFBL, AFHBJGKLCID, BMGPDKJIOPG);
|
|
}
|
|
|
|
// Token: 0x17000585 RID: 1413
|
|
// (get) Token: 0x0600D3A1 RID: 54177 RVA: 0x003FDF64 File Offset: 0x003FC164
|
|
// (set) Token: 0x0600D375 RID: 54133 RVA: 0x003FC850 File Offset: 0x003FAA50
|
|
public string[] EPFJMKGBOMD { get; private set; }
|
|
|
|
// Token: 0x0600D376 RID: 54134 RVA: 0x003FC85C File Offset: 0x003FAA5C
|
|
public virtual bool NHHBNCKICGL()
|
|
{
|
|
this.GKBLHGKNLID = CGIALBALOGM.None;
|
|
if (this.NGMGACDCAKP.Connect(this.EBKJMGCNOMO, this.FFHFHKHJFOI, this.EPMGJCMBPGP))
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToMasterserver;
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x1400003E RID: 62
|
|
// (add) Token: 0x0600D388 RID: 54152 RVA: 0x003FD29C File Offset: 0x003FB49C
|
|
// (remove) Token: 0x0600D377 RID: 54135 RVA: 0x003FC894 File Offset: 0x003FAA94
|
|
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public event Action<EventData> JGJMNCPCPEO;
|
|
|
|
// Token: 0x1700057D RID: 1405
|
|
// (get) Token: 0x0600D39E RID: 54174 RVA: 0x003FDF1C File Offset: 0x003FC11C
|
|
// (set) Token: 0x0600D378 RID: 54136 RVA: 0x003FC8CC File Offset: 0x003FAACC
|
|
public string OCAHLHMIPMG
|
|
{
|
|
get
|
|
{
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
return this.FALGIDIFGKO.OCAHLHMIPMG;
|
|
}
|
|
return null;
|
|
}
|
|
set
|
|
{
|
|
if (this.FALGIDIFGKO == null)
|
|
{
|
|
this.FALGIDIFGKO = new OCEOOCJEKDD();
|
|
}
|
|
this.FALGIDIFGKO.OCAHLHMIPMG = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000578 RID: 1400
|
|
// (get) Token: 0x0600D379 RID: 54137 RVA: 0x003FC8F0 File Offset: 0x003FAAF0
|
|
// (set) Token: 0x0600D3C6 RID: 54214 RVA: 0x003FE9C0 File Offset: 0x003FCBC0
|
|
public BLENNAHJGIP JDGEGMKFFOI { get; protected internal set; }
|
|
|
|
// Token: 0x0600D37A RID: 54138 RVA: 0x003FC8F8 File Offset: 0x003FAAF8
|
|
public bool ILLEBMBBPFC(Hashtable OMMFEGPLJAB, byte MNKJLLJIFCJ, HGFLHEPKLJK KBCCMFKFDEJ)
|
|
{
|
|
return this.ILLEBMBBPFC(OMMFEGPLJAB, MNKJLLJIFCJ, KBCCMFKFDEJ, BLENNAHJGIP.ANJBEOJKBPO, null, null);
|
|
}
|
|
|
|
// Token: 0x0600D37B RID: 54139 RVA: 0x003FC90C File Offset: 0x003FAB0C
|
|
internal void BJJIKMICKAI(int NOBAPCOKFIL)
|
|
{
|
|
this.<FEBEJAIPOJM>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600D37C RID: 54140 RVA: 0x003FC918 File Offset: 0x003FAB18
|
|
private void FJDMJGIODGI()
|
|
{
|
|
NIPLONJCJIF niplonjcjif = this.CONBCJADCAO;
|
|
if (niplonjcjif != NIPLONJCJIF.NameServer)
|
|
{
|
|
if (niplonjcjif != NIPLONJCJIF.MasterServer)
|
|
{
|
|
if (niplonjcjif == NIPLONJCJIF.GameServer)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.DisconnectingFromGameserver;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.DisconnectingFromMasterserver;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.DisconnectingFromNameServer;
|
|
}
|
|
this.NGMGACDCAKP.Disconnect();
|
|
}
|
|
|
|
// Token: 0x1400003D RID: 61
|
|
// (add) Token: 0x0600D3DB RID: 54235 RVA: 0x003FECD8 File Offset: 0x003FCED8
|
|
// (remove) Token: 0x0600D37D RID: 54141 RVA: 0x003FC978 File Offset: 0x003FAB78
|
|
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public event Action<CCNBAFJLBCH> DOHKNINFCOC;
|
|
|
|
// Token: 0x0600D37E RID: 54142 RVA: 0x003FC9B0 File Offset: 0x003FABB0
|
|
public int FMGACBMAEBH()
|
|
{
|
|
return this.<FEBEJAIPOJM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600D37F RID: 54143 RVA: 0x003FC9B8 File Offset: 0x003FABB8
|
|
private void IFLEPFGPIMJ(OperationResponse IMDHCINGADG)
|
|
{
|
|
this.NNCLHENEJDI = this.BLACOKDOBME(this.KFLPHAFFMAL.IBLFNFKBOOG, this.KFLPHAFFMAL.IENIFNHCKCE);
|
|
this.NNCLHENEJDI.FIAOFHLCFJM = this;
|
|
this.NNCLHENEJDI.DKKCEGIBCMK = true;
|
|
int num = (int)IMDHCINGADG[254];
|
|
this.FMIIDOFMEHN(num);
|
|
if (IMDHCINGADG.Parameters.ContainsKey(252))
|
|
{
|
|
int[] array = (int[])IMDHCINGADG.Parameters[252];
|
|
this.NEGLIBNLKFI(array);
|
|
}
|
|
Hashtable hashtable = (Hashtable)IMDHCINGADG[249];
|
|
Hashtable hashtable2 = (Hashtable)IMDHCINGADG[248];
|
|
this.EPAJOGNHEOI(hashtable2, hashtable, 0);
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Joined;
|
|
byte operationCode = IMDHCINGADG.OperationCode;
|
|
if (operationCode != 227)
|
|
{
|
|
if (operationCode != 226 && operationCode != 225)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D380 RID: 54144 RVA: 0x003FCAB8 File Offset: 0x003FACB8
|
|
public virtual void COABLKFFDKK(OperationResponse IMDHCINGADG)
|
|
{
|
|
if (IMDHCINGADG.Parameters.ContainsKey((byte)(-18)))
|
|
{
|
|
if (this.CEHEIGDJGIJ() == null)
|
|
{
|
|
this.FALGIDIFGKO = new OCEOOCJEKDD();
|
|
}
|
|
this.FALGIDIFGKO.PAGKLOABPEK(IMDHCINGADG[(byte)(-119)] as string);
|
|
}
|
|
byte operationCode = IMDHCINGADG.OperationCode;
|
|
switch (operationCode)
|
|
{
|
|
case 170:
|
|
case 171:
|
|
case 172:
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.MasterServer)
|
|
{
|
|
this.FJDMJGIODGI();
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = ((!this.ICACMFBOIOI) ? ((CCNBAFJLBCH)(-110)) : CCNBAFJLBCH.ConnectingToGameserver);
|
|
}
|
|
}
|
|
else if (this.CONBCJADCAO == NIPLONJCJIF.GameServer)
|
|
{
|
|
this.IFLEPFGPIMJ(IMDHCINGADG);
|
|
}
|
|
else
|
|
{
|
|
this.GNDNGCCNCGN = (string)IMDHCINGADG[(byte)(-63)];
|
|
string text = IMDHCINGADG[(byte)(-65)] as string;
|
|
if (!string.IsNullOrEmpty(text))
|
|
{
|
|
this.KFLPHAFFMAL.IBLFNFKBOOG = text;
|
|
}
|
|
this.FJDMJGIODGI();
|
|
}
|
|
break;
|
|
case 173:
|
|
this.FBBMOMHACLA = (CCNBAFJLBCH)(-93);
|
|
this.ICACMFBOIOI = true;
|
|
break;
|
|
case 174:
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Joined;
|
|
this.ICACMFBOIOI = false;
|
|
break;
|
|
case 175:
|
|
case 176:
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
DebugLevel debugLevel = DebugLevel.OFF;
|
|
object[] array = new object[2];
|
|
array[0] = IMDHCINGADG.ToStringFull();
|
|
array[0] = "Cookies";
|
|
array[6] = this.CONBCJADCAO;
|
|
array[5] = "Code of conduct violation";
|
|
array[8] = this.NGMGACDCAKP.ServerAddress;
|
|
this.DebugReturn(debugLevel, string.Concat(array));
|
|
short returnCode = IMDHCINGADG.ReturnCode;
|
|
switch (returnCode)
|
|
{
|
|
case 67:
|
|
this.GKBLHGKNLID = (CGIALBALOGM)59;
|
|
break;
|
|
case 68:
|
|
this.GKBLHGKNLID = CGIALBALOGM.TimeoutDisconnect;
|
|
break;
|
|
case 69:
|
|
this.GKBLHGKNLID = CGIALBALOGM.TimeoutDisconnect;
|
|
break;
|
|
default:
|
|
if (returnCode != -88)
|
|
{
|
|
if (returnCode == 177)
|
|
{
|
|
this.GKBLHGKNLID = CGIALBALOGM.InvalidRegion;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.GKBLHGKNLID = (CGIALBALOGM)(-100);
|
|
}
|
|
break;
|
|
}
|
|
this.FBBMOMHACLA = (CCNBAFJLBCH)84;
|
|
this.BCIMHPNDOOL();
|
|
}
|
|
else
|
|
{
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.GameServer || this.CONBCJADCAO == NIPLONJCJIF.MasterServer)
|
|
{
|
|
if (IMDHCINGADG.Parameters.ContainsKey((byte)(-145)))
|
|
{
|
|
string text2 = (string)IMDHCINGADG.Parameters[(byte)(-191)];
|
|
if (!string.IsNullOrEmpty(text2))
|
|
{
|
|
this.OCAHLHMIPMG = text2;
|
|
this.DebugReturn(DebugLevel.WARNING, string.Format("ENABLED", this.OCAHLHMIPMG));
|
|
}
|
|
}
|
|
if (IMDHCINGADG.Parameters.ContainsKey((byte)(-158)))
|
|
{
|
|
this.KODHOHBEAOP = (string)IMDHCINGADG.Parameters[(byte)(-159)];
|
|
this.DebugReturn(DebugLevel.INFO, string.Format("RpcOnTrapKilledPlayer", this.KODHOHBEAOP));
|
|
}
|
|
if (IMDHCINGADG.Parameters.ContainsKey(23))
|
|
{
|
|
this.CIMDHGKHKDO((Dictionary<byte, object>)IMDHCINGADG.Parameters[178]);
|
|
}
|
|
}
|
|
if (this.CONBCJADCAO == (NIPLONJCJIF)4)
|
|
{
|
|
this.EBKJMGCNOMO = IMDHCINGADG[(byte)(-59)] as string;
|
|
if (this.JOMBCGIHFGP == (IKICDKCKFKM)7)
|
|
{
|
|
this.DebugReturn(DebugLevel.ERROR, string.Format("Ignoring double-hide.", this.LDFHBHKLCOA));
|
|
this.NGMGACDCAKP.TransportProtocol = this.LDFHBHKLCOA;
|
|
}
|
|
this.FJDMJGIODGI();
|
|
}
|
|
else if (this.CONBCJADCAO == NIPLONJCJIF.MasterServer)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectedToMasterserver;
|
|
if (this.JOMBCGIHFGP != IKICDKCKFKM.Auth)
|
|
{
|
|
this.NGMGACDCAKP.JEGDGKLNEEA(this.FGCEBOPPDHG);
|
|
}
|
|
if (this.GAAOKIHELHB)
|
|
{
|
|
this.NGMGACDCAKP.GFPIGJHOPLJ(this.JDGEGMKFFOI);
|
|
}
|
|
}
|
|
else if (this.CONBCJADCAO == NIPLONJCJIF.MasterServer)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.PeerCreated;
|
|
this.KFLPHAFFMAL.CKFILGNKPJC = this.JJOPMICJNMB.KBDHEMPNAEH();
|
|
this.KFLPHAFFMAL.HMPOKNOAHHI = true;
|
|
if (this.BCEOKIDFFCN == BMBIMJIMFLA.JoinRoom || this.BCEOKIDFFCN == BMBIMJIMFLA.JoinOrCreateRoom || this.BCEOKIDFFCN == (BMBIMJIMFLA)6)
|
|
{
|
|
this.NGMGACDCAKP.MJBPFHFMFHB(this.KFLPHAFFMAL);
|
|
}
|
|
else if (this.BCEOKIDFFCN == BMBIMJIMFLA.CreateRoom)
|
|
{
|
|
this.NGMGACDCAKP.CBIKOAKGBJF(this.KFLPHAFFMAL);
|
|
}
|
|
}
|
|
}
|
|
break;
|
|
default:
|
|
switch (operationCode)
|
|
{
|
|
case 10:
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
this.DebugReturn(DebugLevel.ERROR, "AngularVelocityMultiplier" + IMDHCINGADG.ToStringFull());
|
|
}
|
|
else
|
|
{
|
|
this.JNNPBKGKJHC = new Dictionary<string, HLLIJLFHBJM>();
|
|
Hashtable hashtable = (Hashtable)IMDHCINGADG[58];
|
|
foreach (object obj in hashtable.Keys)
|
|
{
|
|
string text3 = (string)obj;
|
|
HLLIJLFHBJM hllijlfhbjm = new HLLIJLFHBJM(text3, (Hashtable)hashtable[text3]);
|
|
this.JNNPBKGKJHC[text3] = hllijlfhbjm;
|
|
}
|
|
}
|
|
break;
|
|
default:
|
|
if ((int)operationCode == -4)
|
|
{
|
|
this.FJDMJGIODGI();
|
|
}
|
|
break;
|
|
case 13:
|
|
this.JMEMPPOHIKD = IMDHCINGADG[172] as string[];
|
|
this.EPFJMKGBOMD = IMDHCINGADG[(byte)(-83)] as string[];
|
|
break;
|
|
case 15:
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
this.DebugReturn(DebugLevel.OFF, "You must initialize before you can log events" + IMDHCINGADG.ToStringFull());
|
|
this.MOLLGEKMPOP = true;
|
|
}
|
|
else
|
|
{
|
|
bool[] array2 = IMDHCINGADG[1] as bool[];
|
|
string[] array3 = IMDHCINGADG[6] as string[];
|
|
List<CPKFBECBALE> list = new List<CPKFBECBALE>(this.HFNJMHHLBME.Length);
|
|
for (int i = 0; i < this.HFNJMHHLBME.Length; i += 0)
|
|
{
|
|
CPKFBECBALE cpkfbecbale = new CPKFBECBALE();
|
|
cpkfbecbale.IJELJOAEJOL(this.HFNJMHHLBME[i]);
|
|
cpkfbecbale.DMKOGIEAIBK(array3[i]);
|
|
cpkfbecbale.BDMLBBLAJHO(array2[i]);
|
|
list.Insert(i, cpkfbecbale);
|
|
}
|
|
this.DNAGMNFAOMJ = list;
|
|
this.HFNJMHHLBME = null;
|
|
this.MOLLGEKMPOP = true;
|
|
this.AOIALPPNDML = Environment.TickCount;
|
|
if (this.AOIALPPNDML == 0)
|
|
{
|
|
this.AOIALPPNDML = 1;
|
|
}
|
|
}
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
if (this.MEBFKCKABOC != null)
|
|
{
|
|
this.MEBFKCKABOC(IMDHCINGADG);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D381 RID: 54145 RVA: 0x003FD13C File Offset: 0x003FB33C
|
|
protected internal virtual PLOPPLAOICD BLACOKDOBME(string NJIGDCLPOLO, IENIFNHCKCE INHFKPIDCOJ)
|
|
{
|
|
return new PLOPPLAOICD(NJIGDCLPOLO, INHFKPIDCOJ);
|
|
}
|
|
|
|
// Token: 0x1700057B RID: 1403
|
|
// (get) Token: 0x0600D3B8 RID: 54200 RVA: 0x003FE6F4 File Offset: 0x003FC8F4
|
|
// (set) Token: 0x0600D382 RID: 54146 RVA: 0x003FD154 File Offset: 0x003FB354
|
|
public MBHLIAEFEAD JJOPMICJNMB { get; internal set; }
|
|
|
|
// Token: 0x0600D383 RID: 54147 RVA: 0x003FD160 File Offset: 0x003FB360
|
|
public bool AJMOCPOCKFA(string NJIGDCLPOLO, IENIFNHCKCE IDEBJFBGNAI, BLENNAHJGIP JPOPPDDONMN, string[] FNBNGDPICEA = null)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Joining;
|
|
this.BCEOKIDFFCN = BMBIMJIMFLA.JoinOrCreateRoom;
|
|
this.JDGEGMKFFOI = JPOPPDDONMN;
|
|
bool flag = this.CONBCJADCAO == NIPLONJCJIF.GameServer;
|
|
NAMOHKJGILD namohkjgild = new NAMOHKJGILD();
|
|
this.KFLPHAFFMAL = namohkjgild;
|
|
namohkjgild.IBLFNFKBOOG = NJIGDCLPOLO;
|
|
namohkjgild.IENIFNHCKCE = IDEBJFBGNAI;
|
|
namohkjgild.ADLCILAAOMA = JPOPPDDONMN;
|
|
namohkjgild.JJBAMKIPHII = true;
|
|
namohkjgild.HMPOKNOAHHI = flag;
|
|
namohkjgild.MMLMENHMLIH = FNBNGDPICEA;
|
|
return this.NGMGACDCAKP.DAHOPCDBCEP(namohkjgild);
|
|
}
|
|
|
|
// Token: 0x0600D384 RID: 54148 RVA: 0x003FD1D0 File Offset: 0x003FB3D0
|
|
public bool NHHBNCKICGL(string EHGCBDLBJPO, string MCOFHNPOEDN, string DNGHIIFIDHA, string IOBBFMMKHBN, OCEOOCJEKDD OPHMFNLINBP)
|
|
{
|
|
if (!string.IsNullOrEmpty(EHGCBDLBJPO))
|
|
{
|
|
this.EBKJMGCNOMO = EHGCBDLBJPO;
|
|
}
|
|
if (!string.IsNullOrEmpty(MCOFHNPOEDN))
|
|
{
|
|
this.FFHFHKHJFOI = MCOFHNPOEDN;
|
|
}
|
|
if (!string.IsNullOrEmpty(DNGHIIFIDHA))
|
|
{
|
|
this.JHDCHFCLFFH = DNGHIIFIDHA;
|
|
}
|
|
if (!string.IsNullOrEmpty(IOBBFMMKHBN))
|
|
{
|
|
this.KODHOHBEAOP = IOBBFMMKHBN;
|
|
}
|
|
this.FALGIDIFGKO = OPHMFNLINBP;
|
|
return this.NHHBNCKICGL();
|
|
}
|
|
|
|
// Token: 0x0600D385 RID: 54149 RVA: 0x003FD238 File Offset: 0x003FB438
|
|
private bool AFHKBAEAMJE()
|
|
{
|
|
if (this.NGMGACDCAKP.Connect(this.GNDNGCCNCGN, this.FFHFHKHJFOI, this.EPMGJCMBPGP))
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToGameserver;
|
|
return true;
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x1700057A RID: 1402
|
|
// (get) Token: 0x0600D386 RID: 54150 RVA: 0x003FD268 File Offset: 0x003FB468
|
|
// (set) Token: 0x0600D3C1 RID: 54209 RVA: 0x003FE7C4 File Offset: 0x003FC9C4
|
|
public List<HPOGOLJNMOE> PPGPEJENEBP
|
|
{
|
|
get
|
|
{
|
|
return this.JBANOFEAIKJ;
|
|
}
|
|
private set
|
|
{
|
|
this.JBANOFEAIKJ = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000582 RID: 1410
|
|
// (get) Token: 0x0600D387 RID: 54151 RVA: 0x003FD270 File Offset: 0x003FB470
|
|
public int HINLFPGBLDJ
|
|
{
|
|
get
|
|
{
|
|
return (!this.MOLLGEKMPOP && this.AOIALPPNDML != 0) ? (Environment.TickCount - this.AOIALPPNDML) : 0;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000584 RID: 1412
|
|
// (get) Token: 0x0600D389 RID: 54153 RVA: 0x003FD2D4 File Offset: 0x003FB4D4
|
|
// (set) Token: 0x0600D3BD RID: 54205 RVA: 0x003FE798 File Offset: 0x003FC998
|
|
public string[] JMEMPPOHIKD { get; private set; }
|
|
|
|
// Token: 0x17000570 RID: 1392
|
|
// (get) Token: 0x0600D38A RID: 54154 RVA: 0x003FD2DC File Offset: 0x003FB4DC
|
|
public string GLJCAIMACKK
|
|
{
|
|
get
|
|
{
|
|
return this.NGMGACDCAKP.ServerAddress;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D38B RID: 54155 RVA: 0x003FD2EC File Offset: 0x003FB4EC
|
|
public bool AODJCEPGAAN(string[] GNEGKGMLGKI)
|
|
{
|
|
if (this.NGMGACDCAKP == null)
|
|
{
|
|
return false;
|
|
}
|
|
if (this.MOLLGEKMPOP || this.CONBCJADCAO != NIPLONJCJIF.MasterServer)
|
|
{
|
|
return false;
|
|
}
|
|
this.MOLLGEKMPOP = true;
|
|
this.HFNJMHHLBME = GNEGKGMLGKI;
|
|
return this.NGMGACDCAKP.AODJCEPGAAN(GNEGKGMLGKI);
|
|
}
|
|
|
|
// Token: 0x0600D38C RID: 54156 RVA: 0x003FD338 File Offset: 0x003FB538
|
|
internal void FCBHBPGECOC(int NOBAPCOKFIL)
|
|
{
|
|
this.<AMIKDMLIPEJ>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x17000580 RID: 1408
|
|
// (get) Token: 0x0600D38D RID: 54157 RVA: 0x003FD344 File Offset: 0x003FB544
|
|
// (set) Token: 0x0600D3DD RID: 54237 RVA: 0x003FED18 File Offset: 0x003FCF18
|
|
public int CIBNIBDIHFO { get; internal set; }
|
|
|
|
// Token: 0x0600D38E RID: 54158 RVA: 0x003FD34C File Offset: 0x003FB54C
|
|
[Obsolete("Use the overload with WebFlags.")]
|
|
public bool KBEHFLEBNIO(Hashtable ILGKIIHPHBO, Hashtable AFHBJGKLCID, bool FLGEANOIBNP)
|
|
{
|
|
return this.KBEHFLEBNIO(ILGKIIHPHBO, AFHBJGKLCID, (!FLGEANOIBNP) ? null : new DBDDPLOKKJM(1));
|
|
}
|
|
|
|
// Token: 0x0600D38F RID: 54159 RVA: 0x003FD368 File Offset: 0x003FB568
|
|
public virtual void OnOperationResponse(OperationResponse IMDHCINGADG)
|
|
{
|
|
if (IMDHCINGADG.Parameters.ContainsKey(221))
|
|
{
|
|
if (this.FALGIDIFGKO == null)
|
|
{
|
|
this.FALGIDIFGKO = new OCEOOCJEKDD();
|
|
}
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = IMDHCINGADG[221] as string;
|
|
}
|
|
byte operationCode = IMDHCINGADG.OperationCode;
|
|
switch (operationCode)
|
|
{
|
|
case 225:
|
|
case 226:
|
|
case 227:
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.GameServer)
|
|
{
|
|
this.FJDMJGIODGI();
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = ((!this.ICACMFBOIOI) ? CCNBAFJLBCH.ConnectedToMasterserver : CCNBAFJLBCH.JoinedLobby);
|
|
}
|
|
}
|
|
else if (this.CONBCJADCAO == NIPLONJCJIF.GameServer)
|
|
{
|
|
this.IFLEPFGPIMJ(IMDHCINGADG);
|
|
}
|
|
else
|
|
{
|
|
this.GNDNGCCNCGN = (string)IMDHCINGADG[230];
|
|
string text = IMDHCINGADG[byte.MaxValue] as string;
|
|
if (!string.IsNullOrEmpty(text))
|
|
{
|
|
this.KFLPHAFFMAL.IBLFNFKBOOG = text;
|
|
}
|
|
this.FJDMJGIODGI();
|
|
}
|
|
break;
|
|
case 228:
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectedToMasterserver;
|
|
this.ICACMFBOIOI = false;
|
|
break;
|
|
case 229:
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.JoinedLobby;
|
|
this.ICACMFBOIOI = true;
|
|
break;
|
|
case 230:
|
|
case 231:
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
this.DebugReturn(DebugLevel.ERROR, string.Concat(new object[]
|
|
{
|
|
IMDHCINGADG.ToStringFull(),
|
|
" Server: ",
|
|
this.CONBCJADCAO,
|
|
" Address: ",
|
|
this.NGMGACDCAKP.ServerAddress
|
|
}));
|
|
short returnCode = IMDHCINGADG.ReturnCode;
|
|
switch (returnCode)
|
|
{
|
|
case 32755:
|
|
this.GKBLHGKNLID = CGIALBALOGM.CustomAuthenticationFailed;
|
|
break;
|
|
case 32756:
|
|
this.GKBLHGKNLID = CGIALBALOGM.InvalidRegion;
|
|
break;
|
|
case 32757:
|
|
this.GKBLHGKNLID = CGIALBALOGM.MaxCcuReached;
|
|
break;
|
|
default:
|
|
if (returnCode != -3)
|
|
{
|
|
if (returnCode == 32767)
|
|
{
|
|
this.GKBLHGKNLID = CGIALBALOGM.InvalidAuthentication;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.GKBLHGKNLID = CGIALBALOGM.OperationNotAllowedInCurrentState;
|
|
}
|
|
break;
|
|
}
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Disconnecting;
|
|
this.BCIMHPNDOOL();
|
|
}
|
|
else
|
|
{
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.NameServer || this.CONBCJADCAO == NIPLONJCJIF.MasterServer)
|
|
{
|
|
if (IMDHCINGADG.Parameters.ContainsKey(225))
|
|
{
|
|
string text2 = (string)IMDHCINGADG.Parameters[225];
|
|
if (!string.IsNullOrEmpty(text2))
|
|
{
|
|
this.OCAHLHMIPMG = text2;
|
|
this.DebugReturn(DebugLevel.INFO, string.Format("Received your UserID from server. Updating local value to: {0}", this.OCAHLHMIPMG));
|
|
}
|
|
}
|
|
if (IMDHCINGADG.Parameters.ContainsKey(202))
|
|
{
|
|
this.KODHOHBEAOP = (string)IMDHCINGADG.Parameters[202];
|
|
this.DebugReturn(DebugLevel.INFO, string.Format("Received your NickName from server. Updating local value to: {0}", this.KODHOHBEAOP));
|
|
}
|
|
if (IMDHCINGADG.Parameters.ContainsKey(192))
|
|
{
|
|
this.CIMDHGKHKDO((Dictionary<byte, object>)IMDHCINGADG.Parameters[192]);
|
|
}
|
|
}
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.NameServer)
|
|
{
|
|
this.EBKJMGCNOMO = IMDHCINGADG[230] as string;
|
|
if (this.JOMBCGIHFGP == IKICDKCKFKM.AuthOnceWss)
|
|
{
|
|
this.DebugReturn(DebugLevel.INFO, string.Format("Due to AuthOnceWss, switching TransportProtocol to ExpectedProtocol: {0}.", this.LDFHBHKLCOA));
|
|
this.NGMGACDCAKP.TransportProtocol = this.LDFHBHKLCOA;
|
|
}
|
|
this.FJDMJGIODGI();
|
|
}
|
|
else if (this.CONBCJADCAO == NIPLONJCJIF.MasterServer)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectedToMasterserver;
|
|
if (this.JOMBCGIHFGP != IKICDKCKFKM.Auth)
|
|
{
|
|
this.NGMGACDCAKP.OJDGCLCALGK(this.FGCEBOPPDHG);
|
|
}
|
|
if (this.GAAOKIHELHB)
|
|
{
|
|
this.NGMGACDCAKP.EGEBGBONALH(this.JDGEGMKFFOI);
|
|
}
|
|
}
|
|
else if (this.CONBCJADCAO == NIPLONJCJIF.GameServer)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Joining;
|
|
this.KFLPHAFFMAL.CKFILGNKPJC = this.JJOPMICJNMB.CFADIADAGEC;
|
|
this.KFLPHAFFMAL.HMPOKNOAHHI = true;
|
|
if (this.BCEOKIDFFCN == BMBIMJIMFLA.JoinRoom || this.BCEOKIDFFCN == BMBIMJIMFLA.JoinRandomRoom || this.BCEOKIDFFCN == BMBIMJIMFLA.JoinOrCreateRoom)
|
|
{
|
|
this.NGMGACDCAKP.DAHOPCDBCEP(this.KFLPHAFFMAL);
|
|
}
|
|
else if (this.BCEOKIDFFCN == BMBIMJIMFLA.CreateRoom)
|
|
{
|
|
this.NGMGACDCAKP.EHAHDLNMOOH(this.KFLPHAFFMAL);
|
|
}
|
|
}
|
|
}
|
|
break;
|
|
default:
|
|
switch (operationCode)
|
|
{
|
|
case 217:
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
this.DebugReturn(DebugLevel.ERROR, "GetGameList failed: " + IMDHCINGADG.ToStringFull());
|
|
}
|
|
else
|
|
{
|
|
this.JNNPBKGKJHC = new Dictionary<string, HLLIJLFHBJM>();
|
|
Hashtable hashtable = (Hashtable)IMDHCINGADG[222];
|
|
foreach (object obj in hashtable.Keys)
|
|
{
|
|
string text3 = (string)obj;
|
|
HLLIJLFHBJM hllijlfhbjm = new HLLIJLFHBJM(text3, (Hashtable)hashtable[text3]);
|
|
this.JNNPBKGKJHC[text3] = hllijlfhbjm;
|
|
}
|
|
}
|
|
break;
|
|
default:
|
|
if (operationCode == 254)
|
|
{
|
|
this.FJDMJGIODGI();
|
|
}
|
|
break;
|
|
case 220:
|
|
this.JMEMPPOHIKD = IMDHCINGADG[210] as string[];
|
|
this.EPFJMKGBOMD = IMDHCINGADG[230] as string[];
|
|
break;
|
|
case 222:
|
|
if (IMDHCINGADG.ReturnCode != 0)
|
|
{
|
|
this.DebugReturn(DebugLevel.ERROR, "OpFindFriends failed: " + IMDHCINGADG.ToStringFull());
|
|
this.MOLLGEKMPOP = false;
|
|
}
|
|
else
|
|
{
|
|
bool[] array = IMDHCINGADG[1] as bool[];
|
|
string[] array2 = IMDHCINGADG[2] as string[];
|
|
List<CPKFBECBALE> list = new List<CPKFBECBALE>(this.HFNJMHHLBME.Length);
|
|
for (int i = 0; i < this.HFNJMHHLBME.Length; i++)
|
|
{
|
|
list.Insert(i, new CPKFBECBALE
|
|
{
|
|
GDIECAFDIMC = this.HFNJMHHLBME[i],
|
|
PLOPPLAOICD = array2[i],
|
|
FMPKBBEONCJ = array[i]
|
|
});
|
|
}
|
|
this.DNAGMNFAOMJ = list;
|
|
this.HFNJMHHLBME = null;
|
|
this.MOLLGEKMPOP = false;
|
|
this.AOIALPPNDML = Environment.TickCount;
|
|
if (this.AOIALPPNDML == 0)
|
|
{
|
|
this.AOIALPPNDML = 1;
|
|
}
|
|
}
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
if (this.MEBFKCKABOC != null)
|
|
{
|
|
this.MEBFKCKABOC(IMDHCINGADG);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D391 RID: 54161 RVA: 0x003FD9F4 File Offset: 0x003FBBF4
|
|
private void EPAJOGNHEOI(Hashtable BDNJIFFKFBL, Hashtable IHFAHPNPLOM, int MOHAMBKGHOB)
|
|
{
|
|
if (this.NNCLHENEJDI != null && BDNJIFFKFBL != null)
|
|
{
|
|
this.NNCLHENEJDI.KAOPACPDHFG(BDNJIFFKFBL);
|
|
}
|
|
if (IHFAHPNPLOM != null && IHFAHPNPLOM.Count > 0)
|
|
{
|
|
if (MOHAMBKGHOB > 0)
|
|
{
|
|
MBHLIAEFEAD mbhliaefead = this.NNCLHENEJDI.GGJILHEMBCF(MOHAMBKGHOB);
|
|
if (mbhliaefead != null)
|
|
{
|
|
Hashtable hashtable = this.LALHLEKEJOB(IHFAHPNPLOM, MOHAMBKGHOB);
|
|
mbhliaefead.KAOPACPDHFG(hashtable);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
foreach (object obj in IHFAHPNPLOM.Keys)
|
|
{
|
|
int num = (int)obj;
|
|
Hashtable hashtable2 = (Hashtable)IHFAHPNPLOM[obj];
|
|
string text = (string)hashtable2[byte.MaxValue];
|
|
MBHLIAEFEAD mbhliaefead2 = this.NNCLHENEJDI.GGJILHEMBCF(num);
|
|
if (mbhliaefead2 == null)
|
|
{
|
|
mbhliaefead2 = this.MHGPJOOJGMP(text, num, false, hashtable2);
|
|
this.NNCLHENEJDI.BGFFOODANKE(mbhliaefead2);
|
|
}
|
|
mbhliaefead2.KAOPACPDHFG(hashtable2);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700056F RID: 1391
|
|
// (get) Token: 0x0600D392 RID: 54162 RVA: 0x003FDB10 File Offset: 0x003FBD10
|
|
public string BPDCJGOMNCD
|
|
{
|
|
get
|
|
{
|
|
return this.CPGMABHCFND();
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700057C RID: 1404
|
|
// (get) Token: 0x0600D395 RID: 54165 RVA: 0x003FDBB8 File Offset: 0x003FBDB8
|
|
// (set) Token: 0x0600D393 RID: 54163 RVA: 0x003FDB18 File Offset: 0x003FBD18
|
|
public string KODHOHBEAOP
|
|
{
|
|
get
|
|
{
|
|
return this.JJOPMICJNMB.KODHOHBEAOP;
|
|
}
|
|
set
|
|
{
|
|
if (this.JJOPMICJNMB == null)
|
|
{
|
|
return;
|
|
}
|
|
this.JJOPMICJNMB.KODHOHBEAOP = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D394 RID: 54164 RVA: 0x003FDB34 File Offset: 0x003FBD34
|
|
protected internal bool MCDHMAKDIBF(int HEKHDJEMLJC, Hashtable IHFAHPNPLOM, Hashtable AFHBJGKLCID = null, DBDDPLOKKJM BMGPDKJIOPG = null)
|
|
{
|
|
if (this.NNCLHENEJDI == null)
|
|
{
|
|
if (this.NGMGACDCAKP.DebugOut >= DebugLevel.ERROR)
|
|
{
|
|
this.DebugReturn(DebugLevel.ERROR, "OpSetPropertiesOfActor() failed because this client is not in a room currently. State: " + this.FBBMOMHACLA);
|
|
}
|
|
return false;
|
|
}
|
|
if (AFHBJGKLCID == null || AFHBJGKLCID.Count == 0)
|
|
{
|
|
MBHLIAEFEAD mbhliaefead = this.NNCLHENEJDI.GGJILHEMBCF(HEKHDJEMLJC);
|
|
if (mbhliaefead != null)
|
|
{
|
|
mbhliaefead.KAOPACPDHFG(IHFAHPNPLOM);
|
|
}
|
|
}
|
|
return this.NGMGACDCAKP.MCDHMAKDIBF(HEKHDJEMLJC, IHFAHPNPLOM, AFHBJGKLCID, BMGPDKJIOPG);
|
|
}
|
|
|
|
// Token: 0x0600D396 RID: 54166 RVA: 0x003FDBC8 File Offset: 0x003FBDC8
|
|
public void KHLHMNHEKAG(string NOBAPCOKFIL)
|
|
{
|
|
if (this.JJOPMICJNMB == null)
|
|
{
|
|
return;
|
|
}
|
|
this.JJOPMICJNMB.KELIEEJPPNI(NOBAPCOKFIL);
|
|
}
|
|
|
|
// Token: 0x0600D397 RID: 54167 RVA: 0x003FDBE4 File Offset: 0x003FBDE4
|
|
private void MDBNCFJNDNB()
|
|
{
|
|
this.FMIIDOFMEHN(-1);
|
|
this.MOLLGEKMPOP = false;
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.GameServer || this.FBBMOMHACLA == CCNBAFJLBCH.Disconnecting || this.FBBMOMHACLA == CCNBAFJLBCH.PeerCreated)
|
|
{
|
|
this.NNCLHENEJDI = null;
|
|
}
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.MasterServer || this.FBBMOMHACLA == CCNBAFJLBCH.Disconnecting || this.FBBMOMHACLA == CCNBAFJLBCH.PeerCreated)
|
|
{
|
|
this.JNNPBKGKJHC.Clear();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D398 RID: 54168 RVA: 0x003FDC58 File Offset: 0x003FBE58
|
|
public void BOFJKLIFOHG(Action<CCNBAFJLBCH> NOBAPCOKFIL)
|
|
{
|
|
Action<CCNBAFJLBCH> action = this.DOHKNINFCOC;
|
|
Action<CCNBAFJLBCH> action2;
|
|
do
|
|
{
|
|
action2 = action;
|
|
action = Interlocked.CompareExchange<Action<CCNBAFJLBCH>>(ref this.DOHKNINFCOC, (Action<CCNBAFJLBCH>)Delegate.Combine(action2, NOBAPCOKFIL), action);
|
|
}
|
|
while (action != action2);
|
|
}
|
|
|
|
// Token: 0x17000571 RID: 1393
|
|
// (get) Token: 0x0600D3AD RID: 54189 RVA: 0x003FE5EC File Offset: 0x003FC7EC
|
|
// (set) Token: 0x0600D399 RID: 54169 RVA: 0x003FDC90 File Offset: 0x003FBE90
|
|
public string EBKJMGCNOMO { get; protected internal set; }
|
|
|
|
// Token: 0x0600D39A RID: 54170 RVA: 0x003FDC9C File Offset: 0x003FBE9C
|
|
public bool KBEHFLEBNIO(Hashtable ILGKIIHPHBO, Hashtable AFHBJGKLCID = null, DBDDPLOKKJM BMGPDKJIOPG = null)
|
|
{
|
|
Hashtable hashtable = new Hashtable();
|
|
hashtable.LIEIBFGMFNB(ILGKIIHPHBO);
|
|
return this.GPIGEJFPIMJ(hashtable, AFHBJGKLCID, BMGPDKJIOPG);
|
|
}
|
|
|
|
// Token: 0x0600D39B RID: 54171 RVA: 0x003FDCC0 File Offset: 0x003FBEC0
|
|
protected internal void FMIIDOFMEHN(int EIOBMFGBFCA)
|
|
{
|
|
if (this.JJOPMICJNMB == null)
|
|
{
|
|
this.DebugReturn(DebugLevel.WARNING, string.Format("Local actor is null or not in mActors! mLocalActor: {0} mActors==null: {1} newID: {2}", this.JJOPMICJNMB, this.NNCLHENEJDI.GJHNOIHLCIE == null, EIOBMFGBFCA));
|
|
}
|
|
if (this.NNCLHENEJDI == null)
|
|
{
|
|
this.JJOPMICJNMB.FMIIDOFMEHN(EIOBMFGBFCA);
|
|
this.JJOPMICJNMB.MMHJIFFHDOJ = null;
|
|
}
|
|
else
|
|
{
|
|
this.NNCLHENEJDI.GDFCLGGODLG(this.JJOPMICJNMB);
|
|
this.JJOPMICJNMB.FMIIDOFMEHN(EIOBMFGBFCA);
|
|
this.NNCLHENEJDI.BGFFOODANKE(this.JJOPMICJNMB);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D39C RID: 54172 RVA: 0x003FDD60 File Offset: 0x003FBF60
|
|
private string CPGMABHCFND()
|
|
{
|
|
int num = 0;
|
|
FIAOFHLCFJM.BBBCEMEHJHO.TryGetValue(this.NGMGACDCAKP.TransportProtocol, out num);
|
|
switch (this.NGMGACDCAKP.TransportProtocol)
|
|
{
|
|
case ConnectionProtocol.Udp:
|
|
case ConnectionProtocol.Tcp:
|
|
return string.Format("{0}:{1}", this.AIGNAPDKBMA, num);
|
|
case ConnectionProtocol.WebSocket:
|
|
return string.Format("ws://{0}:{1}", this.AIGNAPDKBMA, num);
|
|
case ConnectionProtocol.WebSocketSecure:
|
|
return string.Format("wss://{0}:{1}", this.AIGNAPDKBMA, num);
|
|
}
|
|
throw new ArgumentOutOfRangeException();
|
|
}
|
|
|
|
// Token: 0x0600D39D RID: 54173 RVA: 0x003FDE00 File Offset: 0x003FC000
|
|
private void HIMCMGFGLCA(Hashtable BDNJIFFKFBL, Hashtable IHFAHPNPLOM, int MOHAMBKGHOB)
|
|
{
|
|
if (this.NNCLHENEJDI != null && BDNJIFFKFBL != null)
|
|
{
|
|
this.NNCLHENEJDI.IKIKKOIHCNF(BDNJIFFKFBL);
|
|
}
|
|
if (IHFAHPNPLOM != null && IHFAHPNPLOM.Count > 1)
|
|
{
|
|
if (MOHAMBKGHOB > 0)
|
|
{
|
|
MBHLIAEFEAD mbhliaefead = this.NNCLHENEJDI.LDAOHCOEGCG(MOHAMBKGHOB);
|
|
if (mbhliaefead != null)
|
|
{
|
|
Hashtable hashtable = this.LALHLEKEJOB(IHFAHPNPLOM, MOHAMBKGHOB);
|
|
mbhliaefead.BBBEDAAPNPK(hashtable);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
foreach (object obj in IHFAHPNPLOM.Keys)
|
|
{
|
|
int num = (int)obj;
|
|
Hashtable hashtable2 = (Hashtable)IHFAHPNPLOM[obj];
|
|
string text = (string)hashtable2[(byte)(-111)];
|
|
MBHLIAEFEAD mbhliaefead2 = this.NNCLHENEJDI.BEKHNLIHAHN(num);
|
|
if (mbhliaefead2 == null)
|
|
{
|
|
mbhliaefead2 = this.IEOIAKGBIFI(text, num, true, hashtable2);
|
|
this.NNCLHENEJDI.DKODALKDJCO(mbhliaefead2);
|
|
}
|
|
mbhliaefead2.JCFNPDKIANL(hashtable2);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000583 RID: 1411
|
|
// (get) Token: 0x0600D39F RID: 54175 RVA: 0x003FDF38 File Offset: 0x003FC138
|
|
protected bool JAMCHANBHNC
|
|
{
|
|
get
|
|
{
|
|
return this.FALGIDIFGKO != null && !string.IsNullOrEmpty(this.FALGIDIFGKO.NKFLBAKCPLA);
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700057E RID: 1406
|
|
// (get) Token: 0x0600D3A0 RID: 54176 RVA: 0x003FDF5C File Offset: 0x003FC15C
|
|
// (set) Token: 0x0600D3C0 RID: 54208 RVA: 0x003FE7B8 File Offset: 0x003FC9B8
|
|
public int LDEDJKHGPFA { get; internal set; }
|
|
|
|
// Token: 0x1700056A RID: 1386
|
|
// (get) Token: 0x0600D3A2 RID: 54178 RVA: 0x003FDF6C File Offset: 0x003FC16C
|
|
// (set) Token: 0x0600D3D3 RID: 54227 RVA: 0x003FEBCC File Offset: 0x003FCDCC
|
|
public string JHDCHFCLFFH { get; set; }
|
|
|
|
// Token: 0x0600D3A3 RID: 54179 RVA: 0x003FDF74 File Offset: 0x003FC174
|
|
public FIAOFHLCFJM(string GPLDIPBDCHL, string MCOFHNPOEDN, string KLJKDEIIJOC, ConnectionProtocol AGAMAAHGMIM = ConnectionProtocol.Udp)
|
|
: this(AGAMAAHGMIM)
|
|
{
|
|
this.EBKJMGCNOMO = GPLDIPBDCHL;
|
|
this.FFHFHKHJFOI = MCOFHNPOEDN;
|
|
this.JHDCHFCLFFH = KLJKDEIIJOC;
|
|
}
|
|
|
|
// Token: 0x0600D3A5 RID: 54181 RVA: 0x003FDFE0 File Offset: 0x003FC1E0
|
|
public bool MCGBCJMNEEO(int HEKHDJEMLJC, Hashtable ILGKIIHPHBO, Hashtable AFHBJGKLCID = null, DBDDPLOKKJM BMGPDKJIOPG = null)
|
|
{
|
|
if (this.NNCLHENEJDI != null)
|
|
{
|
|
Hashtable hashtable = new Hashtable();
|
|
hashtable.LIEIBFGMFNB(ILGKIIHPHBO);
|
|
return this.MCDHMAKDIBF(HEKHDJEMLJC, hashtable, AFHBJGKLCID, BMGPDKJIOPG);
|
|
}
|
|
if (AFHBJGKLCID == null && BMGPDKJIOPG == null && this.JJOPMICJNMB != null && this.JJOPMICJNMB.BADMPMDONAH == HEKHDJEMLJC)
|
|
{
|
|
this.JJOPMICJNMB.NIACFDCMGLG(ILGKIIHPHBO, null, null);
|
|
return true;
|
|
}
|
|
if (this.NGMGACDCAKP.DebugOut >= DebugLevel.ERROR)
|
|
{
|
|
this.DebugReturn(DebugLevel.ERROR, "OpSetCustomPropertiesOfActor() failed. To use expectedProperties or webForward, you have to be in a room. State: " + this.FBBMOMHACLA);
|
|
}
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x0600D3A6 RID: 54182 RVA: 0x003FE078 File Offset: 0x003FC278
|
|
public virtual void OnEvent(EventData KGLJJCBHOIO)
|
|
{
|
|
int num = 0;
|
|
MBHLIAEFEAD mbhliaefead = null;
|
|
if (KGLJJCBHOIO.Parameters.ContainsKey(254))
|
|
{
|
|
num = (int)KGLJJCBHOIO[254];
|
|
if (this.NNCLHENEJDI != null)
|
|
{
|
|
mbhliaefead = this.NNCLHENEJDI.GGJILHEMBCF(num);
|
|
}
|
|
}
|
|
byte code = KGLJJCBHOIO.Code;
|
|
switch (code)
|
|
{
|
|
case 223:
|
|
if (this.FALGIDIFGKO == null)
|
|
{
|
|
this.FALGIDIFGKO = new OCEOOCJEKDD();
|
|
}
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = KGLJJCBHOIO[221] as string;
|
|
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.JBANOFEAIKJ.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.JBANOFEAIKJ.Add(hpogoljnmoe);
|
|
}
|
|
break;
|
|
}
|
|
default:
|
|
switch (code)
|
|
{
|
|
case 251:
|
|
if (this.JGJMNCPCPEO != null)
|
|
{
|
|
this.JGJMNCPCPEO(KGLJJCBHOIO);
|
|
}
|
|
break;
|
|
case 253:
|
|
{
|
|
int num2 = 0;
|
|
if (KGLJJCBHOIO.Parameters.ContainsKey(253))
|
|
{
|
|
num2 = (int)KGLJJCBHOIO[253];
|
|
}
|
|
Hashtable hashtable = null;
|
|
Hashtable hashtable2 = null;
|
|
if (num2 == 0)
|
|
{
|
|
hashtable = (Hashtable)KGLJJCBHOIO[251];
|
|
}
|
|
else
|
|
{
|
|
hashtable2 = (Hashtable)KGLJJCBHOIO[251];
|
|
}
|
|
this.EPAJOGNHEOI(hashtable, hashtable2, num2);
|
|
break;
|
|
}
|
|
case 254:
|
|
{
|
|
bool flag = false;
|
|
if (KGLJJCBHOIO.Parameters.ContainsKey(233))
|
|
{
|
|
flag = (bool)KGLJJCBHOIO.Parameters[233];
|
|
}
|
|
if (flag)
|
|
{
|
|
mbhliaefead.GCDMPIPFODG = true;
|
|
}
|
|
else
|
|
{
|
|
this.NNCLHENEJDI.GDFCLGGODLG(num);
|
|
}
|
|
if (KGLJJCBHOIO.Parameters.ContainsKey(203))
|
|
{
|
|
int num3 = (int)KGLJJCBHOIO[203];
|
|
if (num3 != 0)
|
|
{
|
|
this.NNCLHENEJDI.BGGAINGCBMJ = num3;
|
|
}
|
|
}
|
|
break;
|
|
}
|
|
case 255:
|
|
{
|
|
Hashtable hashtable3 = (Hashtable)KGLJJCBHOIO[249];
|
|
if (mbhliaefead == null)
|
|
{
|
|
MBHLIAEFEAD mbhliaefead2 = this.MHGPJOOJGMP(string.Empty, num, false, hashtable3);
|
|
this.NNCLHENEJDI.BGFFOODANKE(mbhliaefead2);
|
|
}
|
|
else
|
|
{
|
|
mbhliaefead.KAOPACPDHFG(hashtable3);
|
|
mbhliaefead.GCDMPIPFODG = false;
|
|
}
|
|
if (num == this.JJOPMICJNMB.BADMPMDONAH)
|
|
{
|
|
int[] array5 = (int[])KGLJJCBHOIO[252];
|
|
this.NEGLIBNLKFI(array5);
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
break;
|
|
case 226:
|
|
this.KGNOCLMAHIB = (int)KGLJJCBHOIO[229];
|
|
this.CIBNIBDIHFO = (int)KGLJJCBHOIO[228];
|
|
this.LDEDJKHGPFA = (int)KGLJJCBHOIO[227];
|
|
break;
|
|
case 229:
|
|
case 230:
|
|
{
|
|
if (KGLJJCBHOIO.Code == 230)
|
|
{
|
|
this.JNNPBKGKJHC = new Dictionary<string, HLLIJLFHBJM>();
|
|
}
|
|
Hashtable hashtable4 = (Hashtable)KGLJJCBHOIO[222];
|
|
foreach (object obj in hashtable4.Keys)
|
|
{
|
|
string text = (string)obj;
|
|
HLLIJLFHBJM hllijlfhbjm = new HLLIJLFHBJM(text, (Hashtable)hashtable4[text]);
|
|
if (hllijlfhbjm.OABHLGCFNKG)
|
|
{
|
|
this.JNNPBKGKJHC.Remove(text);
|
|
}
|
|
else
|
|
{
|
|
this.JNNPBKGKJHC[text] = hllijlfhbjm;
|
|
}
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
if (this.JGJMNCPCPEO != null)
|
|
{
|
|
this.JGJMNCPCPEO(KGLJJCBHOIO);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D3A7 RID: 54183 RVA: 0x003FE4C4 File Offset: 0x003FC6C4
|
|
protected internal virtual MBHLIAEFEAD IEOIAKGBIFI(string PDCGBNKOENM, int OFIAAHIIIJD, bool NHDDPGADJPJ, Hashtable IHFAHPNPLOM)
|
|
{
|
|
return new MBHLIAEFEAD(PDCGBNKOENM, OFIAAHIIIJD, NHDDPGADJPJ, IHFAHPNPLOM);
|
|
}
|
|
|
|
// Token: 0x0600D3A8 RID: 54184 RVA: 0x003FE4E0 File Offset: 0x003FC6E0
|
|
public OCEOOCJEKDD CEHEIGDJGIJ()
|
|
{
|
|
return this.<OADDHLLCPDE>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600D3A9 RID: 54185 RVA: 0x003FE4E8 File Offset: 0x003FC6E8
|
|
private bool HFHICEEMGOH()
|
|
{
|
|
if (this.JOMBCGIHFGP == IKICDKCKFKM.Auth)
|
|
{
|
|
return this.NGMGACDCAKP.FOLLBEKJPAG(this.FFHFHKHJFOI, this.JHDCHFCLFFH, this.FALGIDIFGKO, this.DBBPBMAELJN, this.FGCEBOPPDHG && this.CONBCJADCAO == NIPLONJCJIF.MasterServer);
|
|
}
|
|
return this.NGMGACDCAKP.OPBDMEJCGPM(this.FFHFHKHJFOI, this.JHDCHFCLFFH, this.FALGIDIFGKO, this.DBBPBMAELJN, this.FCKPOBBDMNO, this.LDFHBHKLCOA);
|
|
}
|
|
|
|
// Token: 0x0600D3AA RID: 54186 RVA: 0x003FE56C File Offset: 0x003FC76C
|
|
public void BCIMHPNDOOL()
|
|
{
|
|
if (this.FBBMOMHACLA != CCNBAFJLBCH.Disconnected)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Disconnecting;
|
|
this.NGMGACDCAKP.Disconnect();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000579 RID: 1401
|
|
// (get) Token: 0x0600D3AB RID: 54187 RVA: 0x003FE590 File Offset: 0x003FC790
|
|
// (set) Token: 0x0600D3B6 RID: 54198 RVA: 0x003FE6E0 File Offset: 0x003FC8E0
|
|
public bool GAAOKIHELHB
|
|
{
|
|
get
|
|
{
|
|
return this.KGFOHGLEOOD;
|
|
}
|
|
set
|
|
{
|
|
this.KGFOHGLEOOD = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D3AC RID: 54188 RVA: 0x003FE598 File Offset: 0x003FC798
|
|
public bool IJAFNFKKCEE(string NJIGDCLPOLO)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Joining;
|
|
this.BCEOKIDFFCN = BMBIMJIMFLA.JoinRoom;
|
|
bool flag = this.CONBCJADCAO == NIPLONJCJIF.GameServer;
|
|
NAMOHKJGILD namohkjgild = new NAMOHKJGILD();
|
|
this.KFLPHAFFMAL = namohkjgild;
|
|
namohkjgild.IBLFNFKBOOG = NJIGDCLPOLO;
|
|
namohkjgild.HMPOKNOAHHI = flag;
|
|
namohkjgild.HCGBFGNFEPM = true;
|
|
return this.NGMGACDCAKP.DAHOPCDBCEP(namohkjgild);
|
|
}
|
|
|
|
// Token: 0x1400003F RID: 63
|
|
// (add) Token: 0x0600D3AE RID: 54190 RVA: 0x003FE5F4 File Offset: 0x003FC7F4
|
|
// (remove) Token: 0x0600D3CF RID: 54223 RVA: 0x003FEB18 File Offset: 0x003FCD18
|
|
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public event Action<OperationResponse> MEBFKCKABOC;
|
|
|
|
// Token: 0x17000586 RID: 1414
|
|
// (get) Token: 0x0600D3AF RID: 54191 RVA: 0x003FE62C File Offset: 0x003FC82C
|
|
// (set) Token: 0x0600D3BE RID: 54206 RVA: 0x003FE7A4 File Offset: 0x003FC9A4
|
|
public string DBBPBMAELJN { get; private set; }
|
|
|
|
// Token: 0x17000576 RID: 1398
|
|
// (get) Token: 0x0600D3B0 RID: 54192 RVA: 0x003FE634 File Offset: 0x003FC834
|
|
public bool ECBACMBJEIK
|
|
{
|
|
get
|
|
{
|
|
if (this.NGMGACDCAKP == null)
|
|
{
|
|
return false;
|
|
}
|
|
switch (this.FBBMOMHACLA)
|
|
{
|
|
case CCNBAFJLBCH.PeerCreated:
|
|
case CCNBAFJLBCH.Authenticating:
|
|
case CCNBAFJLBCH.ConnectingToGameserver:
|
|
case CCNBAFJLBCH.Joining:
|
|
case CCNBAFJLBCH.Leaving:
|
|
case CCNBAFJLBCH.ConnectingToMasterserver:
|
|
case CCNBAFJLBCH.Disconnecting:
|
|
case CCNBAFJLBCH.Disconnected:
|
|
case CCNBAFJLBCH.ConnectingToNameServer:
|
|
return false;
|
|
}
|
|
return true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700057F RID: 1407
|
|
// (get) Token: 0x0600D3B7 RID: 54199 RVA: 0x003FE6EC File Offset: 0x003FC8EC
|
|
// (set) Token: 0x0600D3B1 RID: 54193 RVA: 0x003FE6A4 File Offset: 0x003FC8A4
|
|
public int KGNOCLMAHIB { get; internal set; }
|
|
|
|
// Token: 0x1700056E RID: 1390
|
|
// (get) Token: 0x0600D3DC RID: 54236 RVA: 0x003FED10 File Offset: 0x003FCF10
|
|
// (set) Token: 0x0600D3B2 RID: 54194 RVA: 0x003FE6B0 File Offset: 0x003FC8B0
|
|
public bool HAKDGBANGAJ { get; protected internal set; }
|
|
|
|
// Token: 0x0600D3B3 RID: 54195 RVA: 0x003FE6BC File Offset: 0x003FC8BC
|
|
public bool BAFGNGNJIHP()
|
|
{
|
|
return this.BAFGNGNJIHP(false);
|
|
}
|
|
|
|
// Token: 0x0600D3B4 RID: 54196 RVA: 0x003FE6C8 File Offset: 0x003FC8C8
|
|
public bool HCCILGJEIMB()
|
|
{
|
|
return this.NGMGACDCAKP.HCCILGJEIMB();
|
|
}
|
|
|
|
// Token: 0x0600D3B5 RID: 54197 RVA: 0x003FE6D8 File Offset: 0x003FC8D8
|
|
public List<HPOGOLJNMOE> PJHJBFAGEPO()
|
|
{
|
|
return this.JBANOFEAIKJ;
|
|
}
|
|
|
|
// Token: 0x0600D3B9 RID: 54201 RVA: 0x003FE6FC File Offset: 0x003FC8FC
|
|
public virtual bool MEEJNFBBAJM(byte[] JJLLDMBDNMG, byte[] FPEOBLMJMIB)
|
|
{
|
|
return this.NGMGACDCAKP != null && this.NGMGACDCAKP.MEEJNFBBAJM(JJLLDMBDNMG, FPEOBLMJMIB);
|
|
}
|
|
|
|
// Token: 0x0600D3BA RID: 54202 RVA: 0x003FE718 File Offset: 0x003FC918
|
|
public bool ELMMEEIFJAP()
|
|
{
|
|
if (this.CONBCJADCAO != NIPLONJCJIF.NameServer)
|
|
{
|
|
return false;
|
|
}
|
|
bool flag = this.NGMGACDCAKP.ELMMEEIFJAP(this.FFHFHKHJFOI);
|
|
if (flag)
|
|
{
|
|
this.JMEMPPOHIKD = null;
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x0600D3BC RID: 54204 RVA: 0x003FE760 File Offset: 0x003FC960
|
|
public bool EGEBGBONALH(BLENNAHJGIP JPOPPDDONMN)
|
|
{
|
|
if (JPOPPDDONMN == null)
|
|
{
|
|
JPOPPDDONMN = BLENNAHJGIP.ANJBEOJKBPO;
|
|
}
|
|
bool flag = this.NGMGACDCAKP.EGEBGBONALH(JPOPPDDONMN);
|
|
if (flag)
|
|
{
|
|
this.JDGEGMKFFOI = JPOPPDDONMN;
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x17000574 RID: 1396
|
|
// (get) Token: 0x0600D3BF RID: 54207 RVA: 0x003FE7B0 File Offset: 0x003FC9B0
|
|
// (set) Token: 0x0600D3DF RID: 54239 RVA: 0x003FED3C File Offset: 0x003FCF3C
|
|
public CCNBAFJLBCH FBBMOMHACLA
|
|
{
|
|
get
|
|
{
|
|
return this.CIEGKPGKOMH;
|
|
}
|
|
protected internal set
|
|
{
|
|
this.CIEGKPGKOMH = value;
|
|
if (this.DOHKNINFCOC != null)
|
|
{
|
|
this.DOHKNINFCOC(this.CIEGKPGKOMH);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D3C2 RID: 54210 RVA: 0x003FE7D0 File Offset: 0x003FC9D0
|
|
private void CIMDHGKHKDO(Dictionary<byte, object> IGHLFCODKJA)
|
|
{
|
|
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];
|
|
this.NGMGACDCAKP.InitDatagramEncryption(array, array2);
|
|
}
|
|
else
|
|
{
|
|
byte[] array3 = (byte[])IGHLFCODKJA[1];
|
|
this.NGMGACDCAKP.InitPayloadEncryption(array3);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D3C3 RID: 54211 RVA: 0x003FE850 File Offset: 0x003FCA50
|
|
public bool BPKOPAIHOAB(string MPGMOMPDOFE)
|
|
{
|
|
this.HAKDGBANGAJ = true;
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.ConnectedToNameServer)
|
|
{
|
|
this.DBBPBMAELJN = MPGMOMPDOFE;
|
|
return this.HFHICEEMGOH();
|
|
}
|
|
this.NGMGACDCAKP.Disconnect();
|
|
this.DBBPBMAELJN = MPGMOMPDOFE;
|
|
if (this.JOMBCGIHFGP == IKICDKCKFKM.AuthOnceWss)
|
|
{
|
|
this.LDFHBHKLCOA = this.NGMGACDCAKP.TransportProtocol;
|
|
this.NGMGACDCAKP.TransportProtocol = ConnectionProtocol.WebSocketSecure;
|
|
}
|
|
if (!this.NGMGACDCAKP.Connect(this.BPDCJGOMNCD, "NameServer", null))
|
|
{
|
|
return false;
|
|
}
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToNameServer;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600D3C4 RID: 54212 RVA: 0x003FE8E4 File Offset: 0x003FCAE4
|
|
public bool EHAHDLNMOOH(string NJIGDCLPOLO, IENIFNHCKCE IDEBJFBGNAI, BLENNAHJGIP JPOPPDDONMN, string[] FNBNGDPICEA = null)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Joining;
|
|
this.BCEOKIDFFCN = BMBIMJIMFLA.CreateRoom;
|
|
this.JDGEGMKFFOI = JPOPPDDONMN;
|
|
bool flag = this.CONBCJADCAO == NIPLONJCJIF.GameServer;
|
|
NAMOHKJGILD namohkjgild = new NAMOHKJGILD();
|
|
this.KFLPHAFFMAL = namohkjgild;
|
|
namohkjgild.IBLFNFKBOOG = NJIGDCLPOLO;
|
|
namohkjgild.IENIFNHCKCE = IDEBJFBGNAI;
|
|
namohkjgild.ADLCILAAOMA = JPOPPDDONMN;
|
|
namohkjgild.HMPOKNOAHHI = flag;
|
|
namohkjgild.MMLMENHMLIH = FNBNGDPICEA;
|
|
return this.NGMGACDCAKP.EHAHDLNMOOH(namohkjgild);
|
|
}
|
|
|
|
// Token: 0x0600D3C5 RID: 54213 RVA: 0x003FE950 File Offset: 0x003FCB50
|
|
public bool GJMPDLOKOPC()
|
|
{
|
|
this.HAKDGBANGAJ = true;
|
|
this.DBBPBMAELJN = null;
|
|
if (this.JOMBCGIHFGP == IKICDKCKFKM.AuthOnceWss)
|
|
{
|
|
this.LDFHBHKLCOA = this.NGMGACDCAKP.TransportProtocol;
|
|
this.NGMGACDCAKP.TransportProtocol = ConnectionProtocol.WebSocketSecure;
|
|
}
|
|
if (!this.NGMGACDCAKP.Connect(this.BPDCJGOMNCD, "NameServer", this.EPMGJCMBPGP))
|
|
{
|
|
return false;
|
|
}
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectingToNameServer;
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x0600D3C7 RID: 54215 RVA: 0x003FE9CC File Offset: 0x003FCBCC
|
|
public bool ILLEBMBBPFC(Hashtable OMMFEGPLJAB, byte MNKJLLJIFCJ, string[] FNBNGDPICEA = null)
|
|
{
|
|
return this.ILLEBMBBPFC(OMMFEGPLJAB, MNKJLLJIFCJ, HGFLHEPKLJK.FillRoom, BLENNAHJGIP.ANJBEOJKBPO, null, FNBNGDPICEA);
|
|
}
|
|
|
|
// Token: 0x17000577 RID: 1399
|
|
// (get) Token: 0x0600D3C8 RID: 54216 RVA: 0x003FE9E0 File Offset: 0x003FCBE0
|
|
// (set) Token: 0x0600D3D9 RID: 54233 RVA: 0x003FECA0 File Offset: 0x003FCEA0
|
|
public CGIALBALOGM GKBLHGKNLID { get; protected set; }
|
|
|
|
// Token: 0x0600D3C9 RID: 54217 RVA: 0x003FE9E8 File Offset: 0x003FCBE8
|
|
public bool BAFGNGNJIHP(bool NODLDMKGFBG)
|
|
{
|
|
if (this.NNCLHENEJDI == null || this.CONBCJADCAO != NIPLONJCJIF.GameServer || this.FBBMOMHACLA == CCNBAFJLBCH.DisconnectingFromGameserver)
|
|
{
|
|
return false;
|
|
}
|
|
if (NODLDMKGFBG)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.DisconnectingFromGameserver;
|
|
this.NGMGACDCAKP.Disconnect();
|
|
}
|
|
else
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Leaving;
|
|
this.NGMGACDCAKP.BAFGNGNJIHP(false);
|
|
}
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x1700056C RID: 1388
|
|
// (get) Token: 0x0600D3D2 RID: 54226 RVA: 0x003FEBC4 File Offset: 0x003FCDC4
|
|
// (set) Token: 0x0600D3CA RID: 54218 RVA: 0x003FEA50 File Offset: 0x003FCC50
|
|
public OCEOOCJEKDD FALGIDIFGKO { get; set; }
|
|
|
|
// Token: 0x0600D3CB RID: 54219 RVA: 0x003FEA5C File Offset: 0x003FCC5C
|
|
public FIAOFHLCFJM(ConnectionProtocol AGAMAAHGMIM = ConnectionProtocol.Udp)
|
|
{
|
|
this.NGMGACDCAKP = new ADMIPPJLLLH(this, AGAMAAHGMIM);
|
|
this.JJOPMICJNMB = this.MHGPJOOJGMP(string.Empty, -1, true, null);
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.PeerCreated;
|
|
}
|
|
|
|
// Token: 0x0600D3CC RID: 54220 RVA: 0x003FEACC File Offset: 0x003FCCCC
|
|
public bool NMDDOIOCHLG(BLENNAHJGIP POGBCPNICHF, string PBLOHGJIGHB)
|
|
{
|
|
return this.NGMGACDCAKP.NMDDOIOCHLG(POGBCPNICHF, PBLOHGJIGHB);
|
|
}
|
|
|
|
// Token: 0x0600D3CD RID: 54221 RVA: 0x003FEADC File Offset: 0x003FCCDC
|
|
public virtual void BIAICJMJDDO(object NFAFJOMABOK)
|
|
{
|
|
this.DebugReturn(DebugLevel.ALL, string.Format("got OnMessage {0}", NFAFJOMABOK));
|
|
}
|
|
|
|
// Token: 0x17000575 RID: 1397
|
|
// (get) Token: 0x0600D3CE RID: 54222 RVA: 0x003FEAF0 File Offset: 0x003FCCF0
|
|
public bool HJNLIIKJJFO
|
|
{
|
|
get
|
|
{
|
|
return this.NGMGACDCAKP != null && this.FBBMOMHACLA != CCNBAFJLBCH.PeerCreated && this.FBBMOMHACLA != CCNBAFJLBCH.Disconnected;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D3D0 RID: 54224 RVA: 0x003FEB50 File Offset: 0x003FCD50
|
|
[Obsolete("Use the overload with WebFlags.")]
|
|
public bool MCGBCJMNEEO(int HEKHDJEMLJC, Hashtable ILGKIIHPHBO, Hashtable AFHBJGKLCID, bool FLGEANOIBNP)
|
|
{
|
|
return this.MCGBCJMNEEO(HEKHDJEMLJC, ILGKIIHPHBO, AFHBJGKLCID, (!FLGEANOIBNP) ? null : new DBDDPLOKKJM(1));
|
|
}
|
|
|
|
// Token: 0x0600D3D1 RID: 54225 RVA: 0x003FEB70 File Offset: 0x003FCD70
|
|
public bool DAGFOOPAKGI(string FMHNHJNPGPH, object OGDMHDCFKAB, bool LBCIDJJINPH = false)
|
|
{
|
|
Dictionary<byte, object> dictionary = new Dictionary<byte, object>();
|
|
dictionary.Add(209, FMHNHJNPGPH);
|
|
dictionary.Add(208, OGDMHDCFKAB);
|
|
if (LBCIDJJINPH)
|
|
{
|
|
dictionary.Add(234, 2);
|
|
}
|
|
return this.NGMGACDCAKP.OpCustom(219, dictionary, true);
|
|
}
|
|
|
|
// Token: 0x17000572 RID: 1394
|
|
// (get) Token: 0x0600D3D4 RID: 54228 RVA: 0x003FEBD8 File Offset: 0x003FCDD8
|
|
// (set) Token: 0x0600D3E0 RID: 54240 RVA: 0x003FED64 File Offset: 0x003FCF64
|
|
public string GNDNGCCNCGN { get; protected internal set; }
|
|
|
|
// Token: 0x0600D3D5 RID: 54229 RVA: 0x003FEBE0 File Offset: 0x003FCDE0
|
|
private void NEGLIBNLKFI(int[] JLBFMNDBGPO)
|
|
{
|
|
if (JLBFMNDBGPO != null)
|
|
{
|
|
foreach (int num in JLBFMNDBGPO)
|
|
{
|
|
if (this.NNCLHENEJDI.GGJILHEMBCF(num) == null)
|
|
{
|
|
this.NNCLHENEJDI.BGFFOODANKE(this.MHGPJOOJGMP(string.Empty, num, false, null));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D3D6 RID: 54230 RVA: 0x003FEC3C File Offset: 0x003FCE3C
|
|
public virtual void DebugReturn(DebugLevel JOPHNBFKLCM, string NFAFJOMABOK)
|
|
{
|
|
if (JOPHNBFKLCM == DebugLevel.ERROR)
|
|
{
|
|
global::UnityEngine.Debug.LogError(NFAFJOMABOK);
|
|
}
|
|
else if (JOPHNBFKLCM == DebugLevel.WARNING)
|
|
{
|
|
global::UnityEngine.Debug.LogWarning(NFAFJOMABOK);
|
|
}
|
|
else if (JOPHNBFKLCM == DebugLevel.INFO)
|
|
{
|
|
global::UnityEngine.Debug.Log(NFAFJOMABOK);
|
|
}
|
|
else if (JOPHNBFKLCM == DebugLevel.ALL)
|
|
{
|
|
global::UnityEngine.Debug.Log(NFAFJOMABOK);
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700056B RID: 1387
|
|
// (get) Token: 0x0600D3D8 RID: 54232 RVA: 0x003FEC98 File Offset: 0x003FCE98
|
|
// (set) Token: 0x0600D3D7 RID: 54231 RVA: 0x003FEC8C File Offset: 0x003FCE8C
|
|
public string FFHFHKHJFOI { get; set; }
|
|
|
|
// Token: 0x1700056D RID: 1389
|
|
// (get) Token: 0x0600D3DA RID: 54234 RVA: 0x003FECAC File Offset: 0x003FCEAC
|
|
private string EPMGJCMBPGP
|
|
{
|
|
get
|
|
{
|
|
if (this.JOMBCGIHFGP == IKICDKCKFKM.Auth)
|
|
{
|
|
return null;
|
|
}
|
|
return (this.FALGIDIFGKO == null) ? null : this.FALGIDIFGKO.NKFLBAKCPLA;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D3DE RID: 54238 RVA: 0x003FED24 File Offset: 0x003FCF24
|
|
public void NNOACAEPILP()
|
|
{
|
|
if (this.NGMGACDCAKP != null)
|
|
{
|
|
this.NGMGACDCAKP.Service();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600D3E1 RID: 54241 RVA: 0x003FED70 File Offset: 0x003FCF70
|
|
public virtual void OnStatusChanged(StatusCode CBIONIJKCEP)
|
|
{
|
|
switch (CBIONIJKCEP)
|
|
{
|
|
case StatusCode.ExceptionOnReceive:
|
|
goto IL_3D1;
|
|
case StatusCode.TimeoutDisconnect:
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
this.GKBLHGKNLID = CGIALBALOGM.TimeoutDisconnect;
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Disconnected;
|
|
return;
|
|
case StatusCode.DisconnectByServer:
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
this.GKBLHGKNLID = CGIALBALOGM.DisconnectByServer;
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Disconnected;
|
|
return;
|
|
case StatusCode.DisconnectByServerUserLimit:
|
|
this.DebugReturn(DebugLevel.ERROR, "The Photon license's CCU Limit was reached. Server rejected this connection. Wait and re-try.");
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
this.GKBLHGKNLID = CGIALBALOGM.DisconnectByServerUserLimit;
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Disconnected;
|
|
return;
|
|
case StatusCode.DisconnectByServerLogic:
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
this.GKBLHGKNLID = CGIALBALOGM.DisconnectByServerLogic;
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Disconnected;
|
|
return;
|
|
default:
|
|
switch (CBIONIJKCEP)
|
|
{
|
|
case StatusCode.SecurityExceptionOnConnect:
|
|
case StatusCode.ExceptionOnConnect:
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
this.GKBLHGKNLID = CGIALBALOGM.ExceptionOnConnect;
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Disconnected;
|
|
return;
|
|
case StatusCode.Connect:
|
|
this.ICACMFBOIOI = false;
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.ConnectingToNameServer)
|
|
{
|
|
if (this.NGMGACDCAKP.DebugOut >= DebugLevel.ALL)
|
|
{
|
|
this.DebugReturn(DebugLevel.ALL, "Connected to nameserver.");
|
|
}
|
|
this.CONBCJADCAO = NIPLONJCJIF.NameServer;
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
}
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.ConnectingToGameserver)
|
|
{
|
|
if (this.NGMGACDCAKP.DebugOut >= DebugLevel.ALL)
|
|
{
|
|
this.DebugReturn(DebugLevel.ALL, "Connected to gameserver.");
|
|
}
|
|
this.CONBCJADCAO = NIPLONJCJIF.GameServer;
|
|
}
|
|
if (this.FBBMOMHACLA == CCNBAFJLBCH.ConnectingToMasterserver)
|
|
{
|
|
if (this.NGMGACDCAKP.DebugOut >= DebugLevel.ALL)
|
|
{
|
|
this.DebugReturn(DebugLevel.ALL, "Connected to masterserver.");
|
|
}
|
|
this.CONBCJADCAO = NIPLONJCJIF.MasterServer;
|
|
}
|
|
if (this.NGMGACDCAKP.TransportProtocol != ConnectionProtocol.WebSocketSecure)
|
|
{
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.NameServer || this.JOMBCGIHFGP == IKICDKCKFKM.Auth)
|
|
{
|
|
this.NGMGACDCAKP.EstablishEncryption();
|
|
}
|
|
return;
|
|
}
|
|
break;
|
|
case StatusCode.Disconnect:
|
|
{
|
|
this.MDBNCFJNDNB();
|
|
this.GJJEPCJBKBH = false;
|
|
this.ICACMFBOIOI = false;
|
|
CCNBAFJLBCH ccnbafjlbch = this.FBBMOMHACLA;
|
|
switch (ccnbafjlbch)
|
|
{
|
|
case CCNBAFJLBCH.DisconnectingFromGameserver:
|
|
goto IL_25C;
|
|
default:
|
|
if (ccnbafjlbch != CCNBAFJLBCH.PeerCreated)
|
|
{
|
|
if (ccnbafjlbch == CCNBAFJLBCH.DisconnectingFromMasterserver)
|
|
{
|
|
this.AFHKBAEAMJE();
|
|
goto IL_2E8;
|
|
}
|
|
if (ccnbafjlbch != CCNBAFJLBCH.DisconnectingFromNameServer)
|
|
{
|
|
string empty = string.Empty;
|
|
this.DebugReturn(DebugLevel.WARNING, string.Concat(new object[] { "Got a unexpected Disconnect in LoadBalancingClient State: ", this.FBBMOMHACLA, ". Server: ", this.CONBCJADCAO, " Trace: ", empty }));
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Disconnected;
|
|
goto IL_2E8;
|
|
}
|
|
goto IL_25C;
|
|
}
|
|
break;
|
|
case CCNBAFJLBCH.Disconnecting:
|
|
break;
|
|
}
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Disconnected;
|
|
goto IL_2E8;
|
|
IL_25C:
|
|
this.NHHBNCKICGL();
|
|
IL_2E8:
|
|
return;
|
|
}
|
|
case StatusCode.Exception:
|
|
goto IL_3D1;
|
|
default:
|
|
return;
|
|
}
|
|
break;
|
|
case StatusCode.EncryptionEstablished:
|
|
break;
|
|
}
|
|
if (this.CONBCJADCAO == NIPLONJCJIF.NameServer)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.ConnectedToNameServer;
|
|
}
|
|
if (this.CONBCJADCAO != NIPLONJCJIF.NameServer && (this.JOMBCGIHFGP == IKICDKCKFKM.AuthOnce || this.JOMBCGIHFGP == IKICDKCKFKM.AuthOnceWss))
|
|
{
|
|
return;
|
|
}
|
|
if (!this.GJJEPCJBKBH && (!this.HAKDGBANGAJ || this.DBBPBMAELJN != null))
|
|
{
|
|
this.GJJEPCJBKBH = this.HFHICEEMGOH();
|
|
if (this.GJJEPCJBKBH)
|
|
{
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Authenticating;
|
|
}
|
|
else
|
|
{
|
|
this.DebugReturn(DebugLevel.ERROR, "Error calling OpAuthenticate! Did not work. Check log output, AuthValues and if you're connected. State: " + this.FBBMOMHACLA);
|
|
}
|
|
}
|
|
return;
|
|
IL_3D1:
|
|
if (this.FALGIDIFGKO != null)
|
|
{
|
|
this.FALGIDIFGKO.NKFLBAKCPLA = null;
|
|
}
|
|
this.GKBLHGKNLID = CGIALBALOGM.Exception;
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Disconnected;
|
|
}
|
|
|
|
// Token: 0x0600D3E2 RID: 54242 RVA: 0x003FF17C File Offset: 0x003FD37C
|
|
public bool ILLEBMBBPFC(Hashtable OMMFEGPLJAB, byte MNKJLLJIFCJ, HGFLHEPKLJK KBCCMFKFDEJ, BLENNAHJGIP JPOPPDDONMN, string PBLOHGJIGHB, string[] FNBNGDPICEA = null)
|
|
{
|
|
if (JPOPPDDONMN == null)
|
|
{
|
|
JPOPPDDONMN = BLENNAHJGIP.ANJBEOJKBPO;
|
|
}
|
|
this.FBBMOMHACLA = CCNBAFJLBCH.Joining;
|
|
this.BCEOKIDFFCN = BMBIMJIMFLA.JoinRandomRoom;
|
|
this.JDGEGMKFFOI = JPOPPDDONMN;
|
|
this.KFLPHAFFMAL = new NAMOHKJGILD();
|
|
this.KFLPHAFFMAL.ADLCILAAOMA = JPOPPDDONMN;
|
|
this.KFLPHAFFMAL.MMLMENHMLIH = FNBNGDPICEA;
|
|
JMOOAILGHJF jmooailghjf = new JMOOAILGHJF();
|
|
jmooailghjf.BJGIIPKKJOL = OMMFEGPLJAB;
|
|
jmooailghjf.MKGNMNJBADA = MNKJLLJIFCJ;
|
|
jmooailghjf.GGABAJHMGHK = KBCCMFKFDEJ;
|
|
jmooailghjf.BLENNAHJGIP = JPOPPDDONMN;
|
|
jmooailghjf.MHOPJBHMOHN = PBLOHGJIGHB;
|
|
jmooailghjf.MMLMENHMLIH = FNBNGDPICEA;
|
|
return this.NGMGACDCAKP.ILLEBMBBPFC(jmooailghjf);
|
|
}
|
|
|
|
// Token: 0x0600D3E3 RID: 54243 RVA: 0x003FF214 File Offset: 0x003FD414
|
|
private Hashtable LALHLEKEJOB(Hashtable IHFAHPNPLOM, int HEKHDJEMLJC)
|
|
{
|
|
if (IHFAHPNPLOM.ContainsKey(HEKHDJEMLJC))
|
|
{
|
|
return (Hashtable)IHFAHPNPLOM[HEKHDJEMLJC];
|
|
}
|
|
return IHFAHPNPLOM;
|
|
}
|
|
|
|
// Token: 0x04001E08 RID: 7688
|
|
public ADMIPPJLLLH NGMGACDCAKP;
|
|
|
|
// Token: 0x04001E0C RID: 7692
|
|
public IKICDKCKFKM JOMBCGIHFGP;
|
|
|
|
// Token: 0x04001E0D RID: 7693
|
|
public FCKPOBBDMNO FCKPOBBDMNO;
|
|
|
|
// Token: 0x04001E0E RID: 7694
|
|
public ConnectionProtocol LDFHBHKLCOA;
|
|
|
|
// Token: 0x04001E10 RID: 7696
|
|
public string AIGNAPDKBMA = "ns.exitgames.com";
|
|
|
|
// Token: 0x04001E11 RID: 7697
|
|
public string BHACACOBGIK = "http://ns.exitgames.com:80/photon/n";
|
|
|
|
// Token: 0x04001E12 RID: 7698
|
|
private static readonly Dictionary<ConnectionProtocol, int> BBBCEMEHJHO = new Dictionary<ConnectionProtocol, int>
|
|
{
|
|
{
|
|
ConnectionProtocol.Udp,
|
|
5058
|
|
},
|
|
{
|
|
ConnectionProtocol.Tcp,
|
|
4533
|
|
},
|
|
{
|
|
ConnectionProtocol.WebSocket,
|
|
9093
|
|
},
|
|
{
|
|
ConnectionProtocol.WebSocketSecure,
|
|
19093
|
|
}
|
|
};
|
|
|
|
// Token: 0x04001E16 RID: 7702
|
|
private CCNBAFJLBCH CIEGKPGKOMH;
|
|
|
|
// Token: 0x04001E1B RID: 7707
|
|
private bool ICACMFBOIOI;
|
|
|
|
// Token: 0x04001E1D RID: 7709
|
|
private bool KGFOHGLEOOD = true;
|
|
|
|
// Token: 0x04001E1E RID: 7710
|
|
public bool FGCEBOPPDHG;
|
|
|
|
// Token: 0x04001E1F RID: 7711
|
|
private List<HPOGOLJNMOE> JBANOFEAIKJ = new List<HPOGOLJNMOE>();
|
|
|
|
// Token: 0x04001E21 RID: 7713
|
|
public Dictionary<string, HLLIJLFHBJM> JNNPBKGKJHC = new Dictionary<string, HLLIJLFHBJM>();
|
|
|
|
// Token: 0x04001E22 RID: 7714
|
|
public PLOPPLAOICD NNCLHENEJDI;
|
|
|
|
// Token: 0x04001E26 RID: 7718
|
|
private BMBIMJIMFLA BCEOKIDFFCN;
|
|
|
|
// Token: 0x04001E27 RID: 7719
|
|
protected internal NAMOHKJGILD KFLPHAFFMAL;
|
|
|
|
// Token: 0x04001E28 RID: 7720
|
|
private bool GJJEPCJBKBH;
|
|
|
|
// Token: 0x04001E2A RID: 7722
|
|
private string[] HFNJMHHLBME;
|
|
|
|
// Token: 0x04001E2B RID: 7723
|
|
private int AOIALPPNDML;
|
|
|
|
// Token: 0x04001E2C RID: 7724
|
|
private bool MOLLGEKMPOP;
|
|
|
|
// Token: 0x04001E30 RID: 7728
|
|
private byte[] DDDAKIMJIKO;
|
|
}
|
|
}
|