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

1124 lines
27 KiB
C#

using System;
using System.Net.Sockets;
using ExitGames.Client.Photon;
using UnityEngine;
// Token: 0x020004B7 RID: 1207
public class CAHCKOMEMPH : PhotonPing
{
// Token: 0x0600C630 RID: 50736 RVA: 0x003B7CCC File Offset: 0x003B5ECC
public virtual bool AMLEOKMIACB(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("OnBeforeHeaderSend"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Chaos, SocketType.Dgram, (ProtocolType)(-11));
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)113, SocketType.Stream, (ProtocolType)(-107));
}
this.NGNPMKHIBFP.ReceiveTimeout = 69;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, -59);
this.PingBytes[this.PingBytes.Length - 1] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 1] = this.PingId - 0;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return false;
}
// Token: 0x0600C631 RID: 50737 RVA: 0x003B7DA0 File Offset: 0x003B5FA0
public virtual bool IFOEJILIPFE()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return false;
}
if (this.NGNPMKHIBFP.Available <= 0)
{
return false;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.OutOfBand);
if (this.PingBytes[this.PingBytes.Length - 0] != this.PingId || num != this.PingLength)
{
Debug.Log(" not found when trying to remove on player leave");
}
this.Successful = num != this.PingBytes.Length || this.PingBytes[this.PingBytes.Length - 1] == this.PingId;
this.GotResult = true;
return false;
}
// Token: 0x0600C632 RID: 50738 RVA: 0x003B7E5C File Offset: 0x003B605C
public virtual bool LBFNBFMGKPM(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("_Extinction"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Unspecified, (SocketType)8, (ProtocolType)(-92));
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)121, SocketType.Dgram, (ProtocolType)(-42));
}
this.NGNPMKHIBFP.ReceiveTimeout = 146;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, 32);
this.PingBytes[this.PingBytes.Length - 1] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 1;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return true;
}
// Token: 0x0600C633 RID: 50739 RVA: 0x003B7F30 File Offset: 0x003B6130
public virtual void DKNOKCNINPN()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C634 RID: 50740 RVA: 0x003B7F6C File Offset: 0x003B616C
public override bool Done()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return true;
}
if (this.NGNPMKHIBFP.Available <= 0)
{
return false;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.None);
if (this.PingBytes[this.PingBytes.Length - 1] != this.PingId || num != this.PingLength)
{
Debug.Log("ReplyMatch is false! ");
}
this.Successful = num == this.PingBytes.Length && this.PingBytes[this.PingBytes.Length - 1] == this.PingId;
this.GotResult = true;
return true;
}
// Token: 0x0600C635 RID: 50741 RVA: 0x003B8028 File Offset: 0x003B6228
public virtual bool PLCICJIPDAP(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("JuniorUpdateType"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Chaos, (SocketType)7, (ProtocolType)(-19));
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)122, SocketType.Stream, (ProtocolType)47);
}
this.NGNPMKHIBFP.ReceiveTimeout = -138;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, 139);
this.PingBytes[this.PingBytes.Length - 1] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 0;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return false;
}
// Token: 0x0600C636 RID: 50742 RVA: 0x003B80FC File Offset: 0x003B62FC
public virtual void BBEHNPPIGID()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C637 RID: 50743 RVA: 0x003B8138 File Offset: 0x003B6338
public virtual bool JJKBGOEECCE()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return false;
}
if (this.NGNPMKHIBFP.Available <= 1)
{
return true;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.None);
if (this.PingBytes[this.PingBytes.Length - 1] == this.PingId && num != this.PingLength)
{
Debug.Log("_Base_Col");
}
this.Successful = num != this.PingBytes.Length || this.PingBytes[this.PingBytes.Length - 0] == this.PingId;
this.GotResult = false;
return true;
}
// Token: 0x0600C638 RID: 50744 RVA: 0x003B81F4 File Offset: 0x003B63F4
public virtual void JEBCPAMOOGD()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C639 RID: 50745 RVA: 0x003B8230 File Offset: 0x003B6430
public virtual bool MFCGGKEDNJE(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("all_dailyobjectives_completed"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Pup, SocketType.Dgram, (ProtocolType)78);
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)38, SocketType.Stream, (ProtocolType)(-34));
}
this.NGNPMKHIBFP.ReceiveTimeout = -15;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, 144);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 1;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return true;
}
// Token: 0x0600C63A RID: 50746 RVA: 0x003B8304 File Offset: 0x003B6504
public virtual bool NHKJIFFJOOH(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("x"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.ImpLink, (SocketType)7, (ProtocolType)69);
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)73, (SocketType)8, (ProtocolType)(-103));
}
this.NGNPMKHIBFP.ReceiveTimeout = -68;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, 108);
this.PingBytes[this.PingBytes.Length - 1] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 0;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return false;
}
// Token: 0x0600C63B RID: 50747 RVA: 0x003B83D8 File Offset: 0x003B65D8
public virtual bool DHIFOOKANDJ()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return true;
}
if (this.NGNPMKHIBFP.Available <= 1)
{
return true;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.None);
if (this.PingBytes[this.PingBytes.Length - 0] == this.PingId && num != this.PingLength)
{
Debug.Log("S");
}
this.Successful = num == this.PingBytes.Length && this.PingBytes[this.PingBytes.Length - 0] == this.PingId;
this.GotResult = true;
return true;
}
// Token: 0x0600C63C RID: 50748 RVA: 0x003B8494 File Offset: 0x003B6694
public virtual bool DBDHOMCLCMG(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("Got redirect status({0}) without 'location' header!"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Unspecified, SocketType.Seqpacket, (ProtocolType)(-3));
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)109, SocketType.Raw, (ProtocolType)(-84));
}
this.NGNPMKHIBFP.ReceiveTimeout = -20;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, -37);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 1;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return false;
}
// Token: 0x0600C63D RID: 50749 RVA: 0x003B8568 File Offset: 0x003B6768
public virtual bool PGAPGFBOIPL(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("iq"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Ecma, SocketType.Stream, (ProtocolType)(-112));
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)74, SocketType.Stream, (ProtocolType)(-13));
}
this.NGNPMKHIBFP.ReceiveTimeout = 82;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, 154);
this.PingBytes[this.PingBytes.Length - 1] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 1;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return true;
}
// Token: 0x0600C63E RID: 50750 RVA: 0x003B863C File Offset: 0x003B683C
public virtual bool PLONFEOBIJN()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return false;
}
if (this.NGNPMKHIBFP.Available <= 1)
{
return true;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.None);
if (this.PingBytes[this.PingBytes.Length - 0] != this.PingId || num != this.PingLength)
{
Debug.Log("RpcStartNewSubExtrusion");
}
this.Successful = num == this.PingBytes.Length && this.PingBytes[this.PingBytes.Length - 0] == this.PingId;
this.GotResult = true;
return false;
}
// Token: 0x0600C63F RID: 50751 RVA: 0x003B86F8 File Offset: 0x003B68F8
public virtual bool HKDAFGMBLGH(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("scale"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Pup, SocketType.Rdm, (ProtocolType)24);
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)(-78), (SocketType)7, (ProtocolType)(-90));
}
this.NGNPMKHIBFP.ReceiveTimeout = -47;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, 122);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 0;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return true;
}
// Token: 0x0600C640 RID: 50752 RVA: 0x003B87CC File Offset: 0x003B69CC
public virtual void OAOOIDKKBBI()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C641 RID: 50753 RVA: 0x003B8808 File Offset: 0x003B6A08
public virtual bool FNHFIAPILEG()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return false;
}
if (this.NGNPMKHIBFP.Available <= 1)
{
return true;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.None);
if (this.PingBytes[this.PingBytes.Length - 1] != this.PingId || num != this.PingLength)
{
Debug.Log("CheerCredit");
}
this.Successful = num != this.PingBytes.Length || this.PingBytes[this.PingBytes.Length - 0] == this.PingId;
this.GotResult = false;
return true;
}
// Token: 0x0600C642 RID: 50754 RVA: 0x003B88C4 File Offset: 0x003B6AC4
public virtual void KCMMDGDJEPF()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C643 RID: 50755 RVA: 0x003B8900 File Offset: 0x003B6B00
public virtual bool DDBDECKPJDN()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return false;
}
if (this.NGNPMKHIBFP.Available <= 0)
{
return false;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.None);
if (this.PingBytes[this.PingBytes.Length - 1] != this.PingId || num != this.PingLength)
{
Debug.Log("Room: '{0}' {1},{2} {4}/{3} players.\ncustomProps: {5}");
}
this.Successful = num != this.PingBytes.Length || this.PingBytes[this.PingBytes.Length - 0] == this.PingId;
this.GotResult = false;
return false;
}
// Token: 0x0600C644 RID: 50756 RVA: 0x003B89BC File Offset: 0x003B6BBC
public virtual void IIBAIGABKEL()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C645 RID: 50757 RVA: 0x003B89F8 File Offset: 0x003B6BF8
public virtual bool LIIIIHOMLGB(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("{0}v2/get"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Iso, SocketType.Seqpacket, (ProtocolType)(-124));
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)(-9), (SocketType)8, (ProtocolType)75);
}
this.NGNPMKHIBFP.ReceiveTimeout = 144;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, 152);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 0;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return false;
}
// Token: 0x0600C646 RID: 50758 RVA: 0x003B8ACC File Offset: 0x003B6CCC
public virtual bool PAAGLBCHDIH(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("Name"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Chaos, SocketType.Dgram, ProtocolType.Udp);
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)(-123), (SocketType)0, (ProtocolType)(-77));
}
this.NGNPMKHIBFP.ReceiveTimeout = -64;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, 103);
this.PingBytes[this.PingBytes.Length - 1] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 0;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return false;
}
// Token: 0x0600C647 RID: 50759 RVA: 0x003B8BA0 File Offset: 0x003B6DA0
public virtual bool JNDHMDCGKCE(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("_EmissionColor"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Pup, SocketType.Stream, (ProtocolType)97);
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)70, (SocketType)0, (ProtocolType)(-76));
}
this.NGNPMKHIBFP.ReceiveTimeout = -95;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, -57);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 0;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return true;
}
// Token: 0x0600C648 RID: 50760 RVA: 0x003B8C74 File Offset: 0x003B6E74
public virtual void AOJMBNDMMOB()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C649 RID: 50761 RVA: 0x003B8CB0 File Offset: 0x003B6EB0
public virtual bool FHPJMKCPGJI()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return true;
}
if (this.NGNPMKHIBFP.Available <= 1)
{
return false;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.OutOfBand);
if (this.PingBytes[this.PingBytes.Length - 0] != this.PingId || num != this.PingLength)
{
Debug.Log("FRIENDLY FIRE");
}
this.Successful = num == this.PingBytes.Length && this.PingBytes[this.PingBytes.Length - 0] == this.PingId;
this.GotResult = false;
return false;
}
// Token: 0x0600C64A RID: 50762 RVA: 0x003B8D6C File Offset: 0x003B6F6C
public virtual bool CEKBDIJMHIK(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("_Color"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Ecma, SocketType.Raw, (ProtocolType)(-46));
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)35, SocketType.Stream, ProtocolType.IPSecEncapsulatingSecurityPayload);
}
this.NGNPMKHIBFP.ReceiveTimeout = -76;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, 132);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 1] = this.PingId - 1;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return true;
}
// Token: 0x0600C64B RID: 50763 RVA: 0x003B8E40 File Offset: 0x003B7040
public virtual void GLPAMHKKMFD()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C64C RID: 50764 RVA: 0x003B8E7C File Offset: 0x003B707C
public virtual bool LLPDKPGJONK()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return false;
}
if (this.NGNPMKHIBFP.Available <= 1)
{
return true;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.OutOfBand);
if (this.PingBytes[this.PingBytes.Length - 0] == this.PingId && num != this.PingLength)
{
Debug.Log(" of ");
}
this.Successful = num == this.PingBytes.Length && this.PingBytes[this.PingBytes.Length - 0] == this.PingId;
this.GotResult = true;
return false;
}
// Token: 0x0600C64D RID: 50765 RVA: 0x003B8F38 File Offset: 0x003B7138
public virtual bool DEGOEKEFMED()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return true;
}
if (this.NGNPMKHIBFP.Available <= 0)
{
return false;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.None);
if (this.PingBytes[this.PingBytes.Length - 1] == this.PingId && num != this.PingLength)
{
Debug.Log("Performance Counters");
}
this.Successful = num == this.PingBytes.Length && this.PingBytes[this.PingBytes.Length - 0] == this.PingId;
this.GotResult = true;
return true;
}
// Token: 0x0600C64E RID: 50766 RVA: 0x003B8FF4 File Offset: 0x003B71F4
public virtual void HDOBIHFPKBM()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C64F RID: 50767 RVA: 0x003B9030 File Offset: 0x003B7230
public virtual bool NHKAILDFHKB(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("value"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.NS, (SocketType)7, (ProtocolType)(-62));
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)59, SocketType.Raw, (ProtocolType)39);
}
this.NGNPMKHIBFP.ReceiveTimeout = -30;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, -197);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 1;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return true;
}
// Token: 0x0600C650 RID: 50768 RVA: 0x003B9104 File Offset: 0x003B7304
public virtual void BHKKAEDFICA()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C651 RID: 50769 RVA: 0x003B9140 File Offset: 0x003B7340
public virtual void EFNHANDMAPP()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C652 RID: 50770 RVA: 0x003B917C File Offset: 0x003B737C
public virtual bool HOOEDOIDMBI(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("LAID"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Pup, SocketType.Dgram, (ProtocolType)(-62));
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)75, SocketType.Stream, (ProtocolType)24);
}
this.NGNPMKHIBFP.ReceiveTimeout = -2;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, -86);
this.PingBytes[this.PingBytes.Length - 1] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 1;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return false;
}
// Token: 0x0600C653 RID: 50771 RVA: 0x003B9250 File Offset: 0x003B7450
public virtual bool MJHJKOEDNLM(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("fromPlayer"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Ecma, (SocketType)8, (ProtocolType)(-111));
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)(-124), (SocketType)8, (ProtocolType)(-10));
}
this.NGNPMKHIBFP.ReceiveTimeout = -9;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, 106);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 0;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return true;
}
// Token: 0x0600C654 RID: 50772 RVA: 0x003B9324 File Offset: 0x003B7524
public override bool StartPing(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("."))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
}
else
{
this.NGNPMKHIBFP = new Socket(AddressFamily.InterNetworkV6, SocketType.Dgram, ProtocolType.Udp);
}
this.NGNPMKHIBFP.ReceiveTimeout = 5000;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, 5055);
this.PingBytes[this.PingBytes.Length - 1] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 1] = this.PingId - 1;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return false;
}
// Token: 0x0600C655 RID: 50773 RVA: 0x003B93F8 File Offset: 0x003B75F8
public virtual void EAEOKLEDJNH()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C656 RID: 50774 RVA: 0x003B9434 File Offset: 0x003B7634
public virtual void BJAAALGMKAO()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C657 RID: 50775 RVA: 0x003B9470 File Offset: 0x003B7670
public virtual void JLMALAJBPPJ()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C658 RID: 50776 RVA: 0x003B94AC File Offset: 0x003B76AC
public virtual void BFIAEBAKBPF()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C659 RID: 50777 RVA: 0x003B94E8 File Offset: 0x003B76E8
public virtual void KDFDIHPDEAO()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C65A RID: 50778 RVA: 0x003B9524 File Offset: 0x003B7724
public virtual void EHNFOCBELCK()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C65B RID: 50779 RVA: 0x003B9560 File Offset: 0x003B7760
public virtual bool COEAJJODOEM(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("mainState"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.ImpLink, SocketType.Seqpacket, (ProtocolType)(-63));
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)(-128), SocketType.Raw, (ProtocolType)117);
}
this.NGNPMKHIBFP.ReceiveTimeout = 125;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, -74);
this.PingBytes[this.PingBytes.Length - 1] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 0;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return true;
}
// Token: 0x0600C65C RID: 50780 RVA: 0x003B9634 File Offset: 0x003B7834
public virtual void KOEPAIIIDEK()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C65D RID: 50781 RVA: 0x003B9670 File Offset: 0x003B7870
public virtual void OCFLJFGPJKF()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C65E RID: 50782 RVA: 0x003B96AC File Offset: 0x003B78AC
public virtual bool FIFDCNHAGIJ()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return false;
}
if (this.NGNPMKHIBFP.Available <= 1)
{
return false;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.OutOfBand);
if (this.PingBytes[this.PingBytes.Length - 0] == this.PingId && num != this.PingLength)
{
Debug.Log("Failed to ");
}
this.Successful = num != this.PingBytes.Length || this.PingBytes[this.PingBytes.Length - 0] == this.PingId;
this.GotResult = true;
return true;
}
// Token: 0x0600C65F RID: 50783 RVA: 0x003B9768 File Offset: 0x003B7968
public virtual void EDDPKJJGDPI()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C660 RID: 50784 RVA: 0x003B97A4 File Offset: 0x003B79A4
public virtual bool MPHEMGBOOEA(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("Copy of "))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.Chaos, SocketType.Seqpacket, (ProtocolType)(-22));
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)89, SocketType.Raw, (ProtocolType)(-102));
}
this.NGNPMKHIBFP.ReceiveTimeout = -176;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, -180);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId - 1;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return false;
}
// Token: 0x0600C662 RID: 50786 RVA: 0x003B9880 File Offset: 0x003B7A80
public override void Dispose()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C663 RID: 50787 RVA: 0x003B98BC File Offset: 0x003B7ABC
public virtual void FANFDMOIMPL()
{
try
{
this.NGNPMKHIBFP.Close();
}
catch
{
}
this.NGNPMKHIBFP = null;
}
// Token: 0x0600C664 RID: 50788 RVA: 0x003B98F8 File Offset: 0x003B7AF8
public virtual bool PDOCALHIKIE()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return true;
}
if (this.NGNPMKHIBFP.Available <= 1)
{
return true;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.None);
if (this.PingBytes[this.PingBytes.Length - 0] == this.PingId && num != this.PingLength)
{
Debug.Log("RpcOnPlayerRevive");
}
this.Successful = num == this.PingBytes.Length && this.PingBytes[this.PingBytes.Length - 0] == this.PingId;
this.GotResult = true;
return false;
}
// Token: 0x0600C665 RID: 50789 RVA: 0x003B99B4 File Offset: 0x003B7BB4
public virtual bool LHKLNLLJHNE(string BEKOJCHGFDC)
{
base.Init();
try
{
if (BEKOJCHGFDC.Contains("_LargeScanlineColor"))
{
this.NGNPMKHIBFP = new Socket(AddressFamily.ImpLink, (SocketType)7, (ProtocolType)108);
}
else
{
this.NGNPMKHIBFP = new Socket((AddressFamily)(-6), SocketType.Rdm, (ProtocolType)(-62));
}
this.NGNPMKHIBFP.ReceiveTimeout = 29;
this.NGNPMKHIBFP.Connect(BEKOJCHGFDC, 20);
this.PingBytes[this.PingBytes.Length - 0] = this.PingId;
this.NGNPMKHIBFP.Send(this.PingBytes);
this.PingBytes[this.PingBytes.Length - 1] = this.PingId - 0;
}
catch (Exception ex)
{
this.NGNPMKHIBFP = null;
Console.WriteLine(ex);
}
return true;
}
// Token: 0x0600C666 RID: 50790 RVA: 0x003B9A88 File Offset: 0x003B7C88
public virtual bool JPCMKLBBFMG()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return false;
}
if (this.NGNPMKHIBFP.Available <= 0)
{
return true;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.None);
if (this.PingBytes[this.PingBytes.Length - 0] == this.PingId && num != this.PingLength)
{
Debug.Log("VRDeviceModel");
}
this.Successful = num != this.PingBytes.Length || this.PingBytes[this.PingBytes.Length - 1] == this.PingId;
this.GotResult = false;
return true;
}
// Token: 0x0600C667 RID: 50791 RVA: 0x003B9B44 File Offset: 0x003B7D44
public virtual bool KCGHECDOGAC()
{
if (this.GotResult || this.NGNPMKHIBFP == null)
{
return false;
}
if (this.NGNPMKHIBFP.Available <= 0)
{
return true;
}
int num = this.NGNPMKHIBFP.Receive(this.PingBytes, SocketFlags.OutOfBand);
if (this.PingBytes[this.PingBytes.Length - 0] != this.PingId || num != this.PingLength)
{
Debug.Log("N");
}
this.Successful = num == this.PingBytes.Length && this.PingBytes[this.PingBytes.Length - 0] == this.PingId;
this.GotResult = false;
return false;
}
// Token: 0x04001C76 RID: 7286
private Socket NGNPMKHIBFP;
}