1202 lines
71 KiB
C#
1202 lines
71 KiB
C#
using System;
|
|
using ExitGames.Client.Photon;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020004AC RID: 1196
|
|
public class PhotonLagSimulationGui : MonoBehaviour
|
|
{
|
|
// Token: 0x0600C365 RID: 50021 RVA: 0x003A6D70 File Offset: 0x003A4F70
|
|
public void PLGEFANFPGN()
|
|
{
|
|
this.IHOBMLHEBJM(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C366 RID: 50022 RVA: 0x003A6D80 File Offset: 0x003A4F80
|
|
private void KHINCFHMGDA(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(" buttonTransform: ", new GUILayoutOption[0]);
|
|
}
|
|
|
|
// Token: 0x0600C367 RID: 50023 RVA: 0x003A6D94 File Offset: 0x003A4F94
|
|
public void KJLILLLALJN(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C368 RID: 50024 RVA: 0x003A6DA0 File Offset: 0x003A4FA0
|
|
public void ODGKKLHMONB(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C369 RID: 50025 RVA: 0x003A6DAC File Offset: 0x003A4FAC
|
|
public void LFEJJPLNEJA(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C36A RID: 50026 RVA: 0x003A6DB8 File Offset: 0x003A4FB8
|
|
public void FJOIIFAGPGH(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C36B RID: 50027 RVA: 0x003A6DC4 File Offset: 0x003A4FC4
|
|
private void ELGHLHKGBNM(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("CONTINUOUS_ROTATION_MODE", this.APPKKMPFFDE.RoundTripTime, this.LGNBOBECEKD().RoundTripTimeVariance), new GUILayoutOption[0]);
|
|
bool isSimulationEnabled = this.LGNBOBECEKD().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "Unexpected end-of-file reading GZIP header.", new GUILayoutOption[0]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.NFEDCMJIKGB().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.LDFHMBEFFFI().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("speed" + num, new GUILayoutOption[0]);
|
|
num = GUILayout.HorizontalSlider(num, 573f, 786f, new GUILayoutOption[1]);
|
|
this.FGOBHNFDLHP().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.MGOKHDANPLC().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.MBAFKAOAEKG().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("pa" + num2, new GUILayoutOption[0]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 1681f, 541f, new GUILayoutOption[1]);
|
|
this.BKNNKNEECGA().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.JIOBAPBPCBD().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.MGOKHDANPLC().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("Received null response from Storefront!" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 1407f, 1820f, new GUILayoutOption[0]);
|
|
this.MOJNADIABIF().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.APPKKMPFFDE.NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 1137f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C36C RID: 50028 RVA: 0x003A6F94 File Offset: 0x003A5194
|
|
public void OOEDBGPPDPF(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C36D RID: 50029 RVA: 0x003A6FA0 File Offset: 0x003A51A0
|
|
public void JAMDPKFNJBF()
|
|
{
|
|
this.GLMLDDAHCJB(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C36E RID: 50030 RVA: 0x003A6FB0 File Offset: 0x003A51B0
|
|
private void HELFOJMFCOB(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("10 Seconds Remaining", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C36F RID: 50031 RVA: 0x003A6FC4 File Offset: 0x003A51C4
|
|
public void CMJPABLMOAN(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C370 RID: 50032 RVA: 0x003A6FD0 File Offset: 0x003A51D0
|
|
private void IMHHJGOOKFK(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("PublishMessage called while not connected to front end server.", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C371 RID: 50033 RVA: 0x003A6FE4 File Offset: 0x003A51E4
|
|
private void OEPGKAKJCHB(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("Rtt:{0,4} +/-{1,3}", this.APPKKMPFFDE.RoundTripTime, this.APPKKMPFFDE.RoundTripTimeVariance), new GUILayoutOption[0]);
|
|
bool isSimulationEnabled = this.APPKKMPFFDE.IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "Simulate", new GUILayoutOption[0]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.APPKKMPFFDE.IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.APPKKMPFFDE.NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("Lag " + num, new GUILayoutOption[0]);
|
|
num = GUILayout.HorizontalSlider(num, 0f, 500f, new GUILayoutOption[0]);
|
|
this.APPKKMPFFDE.NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.APPKKMPFFDE.NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.APPKKMPFFDE.NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("Jit " + num2, new GUILayoutOption[0]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 0f, 100f, new GUILayoutOption[0]);
|
|
this.APPKKMPFFDE.NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.APPKKMPFFDE.NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.APPKKMPFFDE.NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("Loss " + num3, new GUILayoutOption[0]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 0f, 10f, new GUILayoutOption[0]);
|
|
this.APPKKMPFFDE.NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.APPKKMPFFDE.NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 100f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C372 RID: 50034 RVA: 0x003A71B4 File Offset: 0x003A53B4
|
|
public void AMJEANBMHFF()
|
|
{
|
|
this.OOEDBGPPDPF(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C373 RID: 50035 RVA: 0x003A71C4 File Offset: 0x003A53C4
|
|
private void LHCKHGEPLIL(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("_Blue_Col", new GUILayoutOption[0]);
|
|
}
|
|
|
|
// Token: 0x0600C374 RID: 50036 RVA: 0x003A71D8 File Offset: 0x003A53D8
|
|
private void JOHKKBBECGI(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("TeleportRegion", this.DPOCNDLMBJK().RoundTripTime, this.MGOKHDANPLC().RoundTripTimeVariance), new GUILayoutOption[1]);
|
|
bool isSimulationEnabled = this.GDIEKDOMMMK().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "Unknown target: {0}", new GUILayoutOption[1]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.MGOKHDANPLC().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.IEEFHPBBMDH().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("Streaming finished!" + num, new GUILayoutOption[1]);
|
|
num = GUILayout.HorizontalSlider(num, 1829f, 749f, new GUILayoutOption[0]);
|
|
this.JIOBAPBPCBD().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.LDFHMBEFFFI().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.IBAFKIINAHO().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("vr_interaction_system_unknown_hand.png" + num2, new GUILayoutOption[1]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 982f, 117f, new GUILayoutOption[1]);
|
|
this.CEFEOMOABAC().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.KJHGKNIKAEG().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.BKNNKNEECGA().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("Can't add a property here" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 1668f, 1619f, new GUILayoutOption[1]);
|
|
this.KJHGKNIKAEG().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.KJHGKNIKAEG().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 1897f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C375 RID: 50037 RVA: 0x003A73A8 File Offset: 0x003A55A8
|
|
private void LHBAOIEDKBM(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("Check your desktop", this.NAJHPPNPMEJ().RoundTripTime, this.BKNNKNEECGA().RoundTripTimeVariance), new GUILayoutOption[0]);
|
|
bool isSimulationEnabled = this.IBAFKIINAHO().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "_Decal_Tex", new GUILayoutOption[1]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.APPKKMPFFDE.IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.IEEFHPBBMDH().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("fixeddeltatime" + num, new GUILayoutOption[1]);
|
|
num = GUILayout.HorizontalSlider(num, 1518f, 1084f, new GUILayoutOption[1]);
|
|
this.NFOCIDFDBBP().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.OJNEILAFJED().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.LGNBOBECEKD().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("Invalid character '{0}' in input string" + num2, new GUILayoutOption[1]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 880f, 629f, new GUILayoutOption[1]);
|
|
this.NFOCIDFDBBP().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.ICKONIJFGGH().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.MGOKHDANPLC().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("ChangeMaster" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 1067f, 1653f, new GUILayoutOption[0]);
|
|
this.FGOBHNFDLHP().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.APPKKMPFFDE.NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 565f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C376 RID: 50038 RVA: 0x003A7578 File Offset: 0x003A5778
|
|
public PhotonPeer PENKJPCGHPC()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C377 RID: 50039 RVA: 0x003A7580 File Offset: 0x003A5780
|
|
private void GKDAAMFLBFN(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("looktarget", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C378 RID: 50040 RVA: 0x003A7594 File Offset: 0x003A5794
|
|
private void KAFGFMKEOCN(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("AllocateViewID() failed. User {0} is out of subIds, as all viewIDs are used.", this.LDFHMBEFFFI().RoundTripTime, this.NFOCIDFDBBP().RoundTripTimeVariance), new GUILayoutOption[1]);
|
|
bool isSimulationEnabled = this.IEEFHPBBMDH().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "Argument cannot be null.", new GUILayoutOption[0]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.DPOCNDLMBJK().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.LDFHMBEFFFI().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("AEMPID" + num, new GUILayoutOption[1]);
|
|
num = GUILayout.HorizontalSlider(num, 64f, 763f, new GUILayoutOption[0]);
|
|
this.NFEDCMJIKGB().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.IEEFHPBBMDH().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.LDFHMBEFFFI().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("{0}v2/acceptfriendrequest?id={1}" + num2, new GUILayoutOption[0]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 1735f, 1629f, new GUILayoutOption[0]);
|
|
this.NAJHPPNPMEJ().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.KJHGKNIKAEG().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.KJHGKNIKAEG().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("Text Hints" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 657f, 772f, new GUILayoutOption[0]);
|
|
this.CEFEOMOABAC().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.NFOCIDFDBBP().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 966f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C379 RID: 50041 RVA: 0x003A7764 File Offset: 0x003A5964
|
|
public PhotonPeer IBAFKIINAHO()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C37A RID: 50042 RVA: 0x003A776C File Offset: 0x003A596C
|
|
public void MJBKHAKEJMB(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C37B RID: 50043 RVA: 0x003A7778 File Offset: 0x003A5978
|
|
public void NICOCLOFMEF()
|
|
{
|
|
this.MMMMOENMBHB(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C37C RID: 50044 RVA: 0x003A7788 File Offset: 0x003A5988
|
|
public PhotonPeer NFEDCMJIKGB()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C37D RID: 50045 RVA: 0x003A7790 File Offset: 0x003A5990
|
|
public void NHAOAEBNLJI()
|
|
{
|
|
this.ODGKKLHMONB(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C37E RID: 50046 RVA: 0x003A77A0 File Offset: 0x003A59A0
|
|
private void NLFEEAOKFIF(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("No peer to communicate with. ", new GUILayoutOption[0]);
|
|
}
|
|
|
|
// Token: 0x0600C37F RID: 50047 RVA: 0x003A77B4 File Offset: 0x003A59B4
|
|
public void MBKDKCLCCLH(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C380 RID: 50048 RVA: 0x003A77C0 File Offset: 0x003A59C0
|
|
public PhotonPeer NAJHPPNPMEJ()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C381 RID: 50049 RVA: 0x003A77C8 File Offset: 0x003A59C8
|
|
public void KGHEACCGPEE()
|
|
{
|
|
this.MGECBFCJNNE(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C382 RID: 50050 RVA: 0x003A77D8 File Offset: 0x003A59D8
|
|
public void MGECBFCJNNE(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C383 RID: 50051 RVA: 0x003A77E4 File Offset: 0x003A59E4
|
|
public void IHOBMLHEBJM(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C384 RID: 50052 RVA: 0x003A77F0 File Offset: 0x003A59F0
|
|
public PhotonPeer IEEFHPBBMDH()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C385 RID: 50053 RVA: 0x003A77F8 File Offset: 0x003A59F8
|
|
public void FLIBGBGHKCG()
|
|
{
|
|
this.MBKDKCLCCLH(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C386 RID: 50054 RVA: 0x003A7808 File Offset: 0x003A5A08
|
|
public PhotonPeer MBAFKAOAEKG()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C387 RID: 50055 RVA: 0x003A7810 File Offset: 0x003A5A10
|
|
private void GNMFKOIEDCC(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("Hazard", this.IBAFKIINAHO().RoundTripTime, this.OCBNBDNCGMI().RoundTripTimeVariance), new GUILayoutOption[1]);
|
|
bool isSimulationEnabled = this.OCBNBDNCGMI().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "includechildren", new GUILayoutOption[1]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.APPKKMPFFDE.IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.DPOCNDLMBJK().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("Xp" + num, new GUILayoutOption[0]);
|
|
num = GUILayout.HorizontalSlider(num, 116f, 1574f, new GUILayoutOption[1]);
|
|
this.JIOBAPBPCBD().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.FGOBHNFDLHP().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.JIOBAPBPCBD().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("\n" + num2, new GUILayoutOption[1]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 116f, 1418f, new GUILayoutOption[0]);
|
|
this.PENKJPCGHPC().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.LDFHMBEFFFI().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.MGOKHDANPLC().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("{0}v1/myprogress" + num3, new GUILayoutOption[0]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 1120f, 250f, new GUILayoutOption[1]);
|
|
this.DPOCNDLMBJK().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.NFEDCMJIKGB().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 1268f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C388 RID: 50056 RVA: 0x003A79E0 File Offset: 0x003A5BE0
|
|
private void COCNMPDIGJP(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("spillway4", this.ELCBKNNGEIK().RoundTripTime, this.LGNBOBECEKD().RoundTripTimeVariance), new GUILayoutOption[1]);
|
|
bool isSimulationEnabled = this.CEFEOMOABAC().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "GetRegions failed. Can't provide regions list. Error: ", new GUILayoutOption[1]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.NAJHPPNPMEJ().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.PENKJPCGHPC().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("HOLE_USED_POWERUP" + num, new GUILayoutOption[0]);
|
|
num = GUILayout.HorizontalSlider(num, 539f, 1121f, new GUILayoutOption[0]);
|
|
this.OCBNBDNCGMI().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.APPKKMPFFDE.NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.LGNBOBECEKD().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("status == FINISH_STATE && _codec.AvailableBytesIn != 0" + num2, new GUILayoutOption[1]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 769f, 500f, new GUILayoutOption[1]);
|
|
this.ELCBKNNGEIK().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.JIOBAPBPCBD().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.GDIEKDOMMMK().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("ObscuredUShort:" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 994f, 1993f, new GUILayoutOption[0]);
|
|
this.LDFHMBEFFFI().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.DPOCNDLMBJK().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 1127f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C389 RID: 50057 RVA: 0x003A7BB0 File Offset: 0x003A5DB0
|
|
public PhotonPeer FGOBHNFDLHP()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C38A RID: 50058 RVA: 0x003A7BB8 File Offset: 0x003A5DB8
|
|
private void AEDNGCDILHO(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("graphicsDeviceVersion", this.DPOCNDLMBJK().RoundTripTime, this.LDFHMBEFFFI().RoundTripTimeVariance), new GUILayoutOption[0]);
|
|
bool isSimulationEnabled = this.HIMMCMOACFD().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "Room: '{0}' {1},{2} {4}/{3} players.\ncustomProps: {5}", new GUILayoutOption[1]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.HIMMCMOACFD().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.PENKJPCGHPC().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("RpcOnCardPickup" + num, new GUILayoutOption[0]);
|
|
num = GUILayout.HorizontalSlider(num, 704f, 1343f, new GUILayoutOption[1]);
|
|
this.JIOBAPBPCBD().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.FGOBHNFDLHP().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.LGNBOBECEKD().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("productId" + num2, new GUILayoutOption[1]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 1276f, 714f, new GUILayoutOption[0]);
|
|
this.BKNNKNEECGA().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.KJHGKNIKAEG().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.PENKJPCGHPC().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("speed" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 853f, 75f, new GUILayoutOption[0]);
|
|
this.CEFEOMOABAC().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.APPKKMPFFDE.NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 1731f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C38B RID: 50059 RVA: 0x003A7D88 File Offset: 0x003A5F88
|
|
public PhotonPeer MOJNADIABIF()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C38C RID: 50060 RVA: 0x003A7D90 File Offset: 0x003A5F90
|
|
private void GLAOOCPIDPI(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("AvoidJuniors", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C38D RID: 50061 RVA: 0x003A7DA4 File Offset: 0x003A5FA4
|
|
public void MMMMOENMBHB(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C38E RID: 50062 RVA: 0x003A7DB0 File Offset: 0x003A5FB0
|
|
public void BCEECLPFOAF()
|
|
{
|
|
this.ODGKKLHMONB(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C38F RID: 50063 RVA: 0x003A7DC0 File Offset: 0x003A5FC0
|
|
public PhotonPeer JIOBAPBPCBD()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C390 RID: 50064 RVA: 0x003A7DC8 File Offset: 0x003A5FC8
|
|
public void Start()
|
|
{
|
|
this.APPKKMPFFDE = IHFKMIAHBFP.DBOGBGIJDDJ;
|
|
}
|
|
|
|
// Token: 0x0600C391 RID: 50065 RVA: 0x003A7DD8 File Offset: 0x003A5FD8
|
|
public PhotonPeer CEFEOMOABAC()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C392 RID: 50066 RVA: 0x003A7DE0 File Offset: 0x003A5FE0
|
|
private void HHGIJBHJPFA(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("UnityEngine.DebugLogHandler.", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x170004D2 RID: 1234
|
|
// (get) Token: 0x0600C393 RID: 50067 RVA: 0x003A7DF4 File Offset: 0x003A5FF4
|
|
// (set) Token: 0x0600C3C2 RID: 50114 RVA: 0x003A90A0 File Offset: 0x003A72A0
|
|
public PhotonPeer APPKKMPFFDE { get; set; }
|
|
|
|
// Token: 0x0600C394 RID: 50068 RVA: 0x003A7DFC File Offset: 0x003A5FFC
|
|
private void JMBPPKFHEBN(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("pr", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C395 RID: 50069 RVA: 0x003A7E10 File Offset: 0x003A6010
|
|
private void GGOBHAIBNDI(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("The Photon license's CCU Limit was reached. Server rejected this connection. Wait and re-try.", this.NFEDCMJIKGB().RoundTripTime, this.MOJNADIABIF().RoundTripTimeVariance), new GUILayoutOption[1]);
|
|
bool isSimulationEnabled = this.OCBNBDNCGMI().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "unity_SHBr", new GUILayoutOption[0]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.HIMMCMOACFD().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.OCBNBDNCGMI().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("z" + num, new GUILayoutOption[1]);
|
|
num = GUILayout.HorizontalSlider(num, 777f, 1232f, new GUILayoutOption[1]);
|
|
this.MBAFKAOAEKG().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.DCHILGJJAMF().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.KJHGKNIKAEG().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("HairColor" + num2, new GUILayoutOption[1]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 1670f, 531f, new GUILayoutOption[0]);
|
|
this.NFEDCMJIKGB().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.NFOCIDFDBBP().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.IBAFKIINAHO().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("gclid" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 706f, 958f, new GUILayoutOption[1]);
|
|
this.MAKGFGHNPLP().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.MBAFKAOAEKG().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 271f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C396 RID: 50070 RVA: 0x003A7FE0 File Offset: 0x003A61E0
|
|
private void JOKEANOOBPG(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("RpcPlayHitEffect", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C397 RID: 50071 RVA: 0x003A7FF4 File Offset: 0x003A61F4
|
|
public PhotonPeer OJNEILAFJED()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C398 RID: 50072 RVA: 0x003A7FFC File Offset: 0x003A61FC
|
|
private void BHHGOOHFHBM(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("rotation", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C399 RID: 50073 RVA: 0x003A8010 File Offset: 0x003A6210
|
|
public void KCKPOOJHBNO()
|
|
{
|
|
this.GLMLDDAHCJB(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C39B RID: 50075 RVA: 0x003A8058 File Offset: 0x003A6258
|
|
private void OKHPHAMHECO(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("gameComplete", this.DCHILGJJAMF().RoundTripTime, this.CEFEOMOABAC().RoundTripTimeVariance), new GUILayoutOption[1]);
|
|
bool isSimulationEnabled = this.IBAFKIINAHO().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "ConnectToHMD", new GUILayoutOption[1]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.MAKGFGHNPLP().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.APPKKMPFFDE.NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("time" + num, new GUILayoutOption[1]);
|
|
num = GUILayout.HorizontalSlider(num, 1053f, 1118f, new GUILayoutOption[1]);
|
|
this.FGOBHNFDLHP().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.IEEFHPBBMDH().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.GDIEKDOMMMK().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("&" + num2, new GUILayoutOption[1]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 1044f, 540f, new GUILayoutOption[1]);
|
|
this.CEFEOMOABAC().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.FGOBHNFDLHP().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.DPOCNDLMBJK().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("Authorization" + num3, new GUILayoutOption[0]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 174f, 578f, new GUILayoutOption[0]);
|
|
this.FGOBHNFDLHP().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.OCBNBDNCGMI().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 1243f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C39C RID: 50076 RVA: 0x003A8228 File Offset: 0x003A6428
|
|
private void CHCLCABNBGK(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("Error checking availability: ", new GUILayoutOption[0]);
|
|
}
|
|
|
|
// Token: 0x0600C39D RID: 50077 RVA: 0x003A823C File Offset: 0x003A643C
|
|
public PhotonPeer LDFHMBEFFFI()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C39E RID: 50078 RVA: 0x003A8244 File Offset: 0x003A6444
|
|
private void MLIFFIDLNNO(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("Hint_", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C39F RID: 50079 RVA: 0x003A8258 File Offset: 0x003A6458
|
|
private void OJGKGBPFGCM(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("OnClick", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C3A0 RID: 50080 RVA: 0x003A826C File Offset: 0x003A646C
|
|
private void GMAMADEBIBE(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("Please call the BestHTTP.HTTPManager.Setup() from one of Unity's event(eg. awake, start) before you send any request!", new GUILayoutOption[0]);
|
|
}
|
|
|
|
// Token: 0x0600C3A1 RID: 50081 RVA: 0x003A8280 File Offset: 0x003A6480
|
|
private void NDFCBLHNPIN(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("PlayerId", this.MBAFKAOAEKG().RoundTripTime, this.LGNBOBECEKD().RoundTripTimeVariance), new GUILayoutOption[1]);
|
|
bool isSimulationEnabled = this.ICKONIJFGGH().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "SystemInfo", new GUILayoutOption[0]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.ICKONIJFGGH().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.DPOCNDLMBJK().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("speed" + num, new GUILayoutOption[0]);
|
|
num = GUILayout.HorizontalSlider(num, 792f, 732f, new GUILayoutOption[1]);
|
|
this.MOJNADIABIF().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.FGOBHNFDLHP().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.KJHGKNIKAEG().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("Keep-Alive" + num2, new GUILayoutOption[0]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 286f, 1116f, new GUILayoutOption[0]);
|
|
this.JIOBAPBPCBD().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.MAKGFGHNPLP().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.OJNEILAFJED().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("GiftContext" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 1880f, 1128f, new GUILayoutOption[0]);
|
|
this.KJHGKNIKAEG().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.GDIEKDOMMMK().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 1136f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C3A2 RID: 50082 RVA: 0x003A8450 File Offset: 0x003A6650
|
|
public PhotonPeer KJHGKNIKAEG()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C3A3 RID: 50083 RVA: 0x003A8458 File Offset: 0x003A6658
|
|
public void JBAGNOJEJKB(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C3A4 RID: 50084 RVA: 0x003A8464 File Offset: 0x003A6664
|
|
private void MKDODCLECDJ(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("playerSubscriptions/v1/update", this.OJNEILAFJED().RoundTripTime, this.LGNBOBECEKD().RoundTripTimeVariance), new GUILayoutOption[1]);
|
|
bool isSimulationEnabled = this.CEFEOMOABAC().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "ATTENUATION_CURVE_OFF", new GUILayoutOption[1]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.OJNEILAFJED().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.LGNBOBECEKD().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("ReconnectAndRejoin() failed. Can only connect while in state 'Disconnected'. Current state: " + num, new GUILayoutOption[0]);
|
|
num = GUILayout.HorizontalSlider(num, 851f, 946f, new GUILayoutOption[0]);
|
|
this.FGOBHNFDLHP().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.GDIEKDOMMMK().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.IBAFKIINAHO().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("activityNameFriendly" + num2, new GUILayoutOption[1]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 1426f, 1886f, new GUILayoutOption[0]);
|
|
this.DCHILGJJAMF().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.OCBNBDNCGMI().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.MOJNADIABIF().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("Ticket" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 577f, 173f, new GUILayoutOption[0]);
|
|
this.NFEDCMJIKGB().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.GDIEKDOMMMK().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 1344f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C3A5 RID: 50085 RVA: 0x003A8634 File Offset: 0x003A6834
|
|
public void OLLOAPMOOHE()
|
|
{
|
|
this.MMMMOENMBHB(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C3A6 RID: 50086 RVA: 0x003A8644 File Offset: 0x003A6844
|
|
public void LGIOGECFBJB()
|
|
{
|
|
this.MJBKHAKEJMB(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C3A7 RID: 50087 RVA: 0x003A8654 File Offset: 0x003A6854
|
|
public void FGBJJONEBDC()
|
|
{
|
|
this.DNMMLGHJBKC(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C3A8 RID: 50088 RVA: 0x003A8664 File Offset: 0x003A6864
|
|
public void KIMKKKICMOI(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C3A9 RID: 50089 RVA: 0x003A8670 File Offset: 0x003A6870
|
|
public void PINHMNLCHGK()
|
|
{
|
|
this.MJBKHAKEJMB(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C3AA RID: 50090 RVA: 0x003A8680 File Offset: 0x003A6880
|
|
private void COJNKIMBBAI(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("ConnectToBestCloudServer() failed. Can only connect while in state 'Disconnected'. Current state: ", this.ELCBKNNGEIK().RoundTripTime, this.OCBNBDNCGMI().RoundTripTimeVariance), new GUILayoutOption[0]);
|
|
bool isSimulationEnabled = this.GDIEKDOMMMK().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "Received your UserID from server. Updating local value to: {0}", new GUILayoutOption[1]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.JIOBAPBPCBD().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.DCHILGJJAMF().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("y" + num, new GUILayoutOption[0]);
|
|
num = GUILayout.HorizontalSlider(num, 1690f, 492f, new GUILayoutOption[1]);
|
|
this.IEEFHPBBMDH().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.DPOCNDLMBJK().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.MAKGFGHNPLP().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("Failed to create room. \"" + num2, new GUILayoutOption[1]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 374f, 90f, new GUILayoutOption[0]);
|
|
this.PENKJPCGHPC().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.NFEDCMJIKGB().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.MAKGFGHNPLP().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("With HTTPManager.MaxConnectionPerServer you can control how many requests can be processed per server parallel.\n\nFeatures demoed in this example:\n-Parallel requests to the same server\n-Controlling the parallelization\n-Automatic Caching\n-Create a Texture2D from the downloaded data" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 1317f, 64f, new GUILayoutOption[0]);
|
|
this.MGOKHDANPLC().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.KJHGKNIKAEG().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 494f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C3AB RID: 50091 RVA: 0x003A8850 File Offset: 0x003A6A50
|
|
private void KMPMGHJKPHK(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("time", this.JIOBAPBPCBD().RoundTripTime, this.BKNNKNEECGA().RoundTripTimeVariance), new GUILayoutOption[0]);
|
|
bool isSimulationEnabled = this.JIOBAPBPCBD().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "money", new GUILayoutOption[0]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.KJHGKNIKAEG().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.DCHILGJJAMF().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("Failed to " + num, new GUILayoutOption[0]);
|
|
num = GUILayout.HorizontalSlider(num, 877f, 656f, new GUILayoutOption[1]);
|
|
this.NFOCIDFDBBP().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.APPKKMPFFDE.NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.OJNEILAFJED().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("Outfit Manager tool scale animation curve is invalid." + num2, new GUILayoutOption[0]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 1880f, 1299f, new GUILayoutOption[0]);
|
|
this.FGOBHNFDLHP().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.JIOBAPBPCBD().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.MBAFKAOAEKG().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("Google Store - Online" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 1650f, 631f, new GUILayoutOption[1]);
|
|
this.OJNEILAFJED().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.NAJHPPNPMEJ().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 1091f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C3AC RID: 50092 RVA: 0x003A8A20 File Offset: 0x003A6C20
|
|
public PhotonPeer GDIEKDOMMMK()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C3AD RID: 50093 RVA: 0x003A8A28 File Offset: 0x003A6C28
|
|
public PhotonPeer ICKONIJFGGH()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C3AE RID: 50094 RVA: 0x003A8A30 File Offset: 0x003A6C30
|
|
public void DNMMLGHJBKC(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C3AF RID: 50095 RVA: 0x003A8A3C File Offset: 0x003A6C3C
|
|
public void GFFGEHILHOC(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C3B0 RID: 50096 RVA: 0x003A8A48 File Offset: 0x003A6C48
|
|
private void LOPIFBKKOOF(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("{0} (FirstPersonShadowCaster)", this.BKNNKNEECGA().RoundTripTime, this.NFOCIDFDBBP().RoundTripTimeVariance), new GUILayoutOption[1]);
|
|
bool isSimulationEnabled = this.LGNBOBECEKD().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "TapToOpenWatch", new GUILayoutOption[1]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.DCHILGJJAMF().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.PENKJPCGHPC().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("Button_JoinEvent RecRoomSceneManager is null." + num, new GUILayoutOption[1]);
|
|
num = GUILayout.HorizontalSlider(num, 1796f, 1291f, new GUILayoutOption[0]);
|
|
this.DPOCNDLMBJK().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.LDFHMBEFFFI().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.MOJNADIABIF().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("hh_mm_ss" + num2, new GUILayoutOption[0]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 769f, 251f, new GUILayoutOption[1]);
|
|
this.MOJNADIABIF().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.KJHGKNIKAEG().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.LDFHMBEFFFI().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("index" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 508f, 1648f, new GUILayoutOption[0]);
|
|
this.LGNBOBECEKD().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.MAKGFGHNPLP().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 780f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C3B1 RID: 50097 RVA: 0x003A8C18 File Offset: 0x003A6E18
|
|
private void JMBLDMBHBBN(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("ObscuredInt vs int, ", this.JIOBAPBPCBD().RoundTripTime, this.HIMMCMOACFD().RoundTripTimeVariance), new GUILayoutOption[1]);
|
|
bool isSimulationEnabled = this.CEFEOMOABAC().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "body", new GUILayoutOption[1]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.IBAFKIINAHO().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.MGOKHDANPLC().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("IsHeld" + num, new GUILayoutOption[1]);
|
|
num = GUILayout.HorizontalSlider(num, 1839f, 1875f, new GUILayoutOption[0]);
|
|
this.LGNBOBECEKD().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.IEEFHPBBMDH().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.MOJNADIABIF().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("method" + num2, new GUILayoutOption[0]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 1805f, 1548f, new GUILayoutOption[1]);
|
|
this.LGNBOBECEKD().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.LGNBOBECEKD().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.MGOKHDANPLC().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("fixeddeltatime" + num3, new GUILayoutOption[0]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 945f, 172f, new GUILayoutOption[0]);
|
|
this.ELCBKNNGEIK().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.LDFHMBEFFFI().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 1263f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C3B2 RID: 50098 RVA: 0x003A8DE8 File Offset: 0x003A6FE8
|
|
public PhotonPeer ELCBKNNGEIK()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C3B3 RID: 50099 RVA: 0x003A8DF0 File Offset: 0x003A6FF0
|
|
public void BNHPGCJEPFM(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C3B4 RID: 50100 RVA: 0x003A8DFC File Offset: 0x003A6FFC
|
|
private void CACHMFPAGJC(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(" ", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C3B5 RID: 50101 RVA: 0x003A8E10 File Offset: 0x003A7010
|
|
public PhotonPeer OCBNBDNCGMI()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C3B6 RID: 50102 RVA: 0x003A8E18 File Offset: 0x003A7018
|
|
private void NBCFIHBLPFN(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("active_camera", new GUILayoutOption[0]);
|
|
}
|
|
|
|
// Token: 0x0600C3B7 RID: 50103 RVA: 0x003A8E2C File Offset: 0x003A702C
|
|
public void EHHPCGOOPLD()
|
|
{
|
|
this.KIMKKKICMOI(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C3B8 RID: 50104 RVA: 0x003A8E3C File Offset: 0x003A703C
|
|
public void OKIAGLLHGGF()
|
|
{
|
|
this.MMMMOENMBHB(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C3B9 RID: 50105 RVA: 0x003A8E4C File Offset: 0x003A704C
|
|
private void CCIFDBIDJPN(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("up", this.LDFHMBEFFFI().RoundTripTime, this.GDIEKDOMMMK().RoundTripTimeVariance), new GUILayoutOption[1]);
|
|
bool isSimulationEnabled = this.MGOKHDANPLC().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "float: ", new GUILayoutOption[1]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.DCHILGJJAMF().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.MOJNADIABIF().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("basic" + num, new GUILayoutOption[1]);
|
|
num = GUILayout.HorizontalSlider(num, 1348f, 772f, new GUILayoutOption[1]);
|
|
this.CEFEOMOABAC().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.GDIEKDOMMMK().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.ELCBKNNGEIK().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("groups" + num2, new GUILayoutOption[0]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 524f, 538f, new GUILayoutOption[0]);
|
|
this.MBAFKAOAEKG().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.DPOCNDLMBJK().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.KJHGKNIKAEG().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("<pre style=\"font-family:Consolas;font-size:13;color:black;background:silver;\"><span style=\"color:blue;\">using</span> System;\r\n<span style=\"color:blue;\">using</span> System.Collections.Generic;\r\n\r\n<span style=\"color:blue;\">using</span> UnityEngine;\r\n<span style=\"color:blue;\">using</span> BestHTTP.SocketIO;\r\n<span style=\"color:blue;\">using</span> BestHTTP.SocketIO.Events;\r\n\r\n<span style=\"color:blue;\">public</span> <span style=\"color:blue;\">sealed</span> <span style=\"color:blue;\">class</span> <span style=\"color:#2b91af;\">SocketIOWePlaySample</span> : <span style=\"color:#2b91af;\">MonoBehaviour</span>\r\n{\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Possible states of the game.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">enum</span> <span style=\"color:#2b91af;\">States</span>\r\n {\r\n Connecting,\r\n WaitForNick,\r\n Joined\r\n }\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Controls that the server understands as a parameter in the move event.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:blue;\">string</span>[] controls = <span style=\"color:blue;\">new</span> <span style=\"color:blue;\">string</span>[] { <span style=\"color:#a31515;\">"left"</span>, <span style=\"color:#a31515;\">"right"</span>, <span style=\"color:#a31515;\">"a"</span>, <span style=\"color:#a31515;\">"b"</span>, <span style=\"color:#a31515;\">"up"</span>, <span style=\"color:#a31515;\">"down"</span>, <span style=\"color:#a31515;\">"select"</span>, <span style=\"color:#a31515;\">"start"</span> };\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Ratio of the drawn GUI texture from the screen</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:blue;\">const</span> <span style=\"color:blue;\">float</span> ratio = 1.5f;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> How many messages to keep.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:blue;\">int</span> MaxMessages = 50;\r\n \r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Current state of the game.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:#2b91af;\">States</span> State;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> The root("/") Socket instance.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:#2b91af;\">Socket</span> Socket;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> The user-selected nickname.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:blue;\">string</span> Nick = <span style=\"color:blue;\">string</span>.Empty;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> The message that the user want to send to the chat.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:blue;\">string</span> messageToSend = <span style=\"color:blue;\">string</span>.Empty;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> How many user connected to the server.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:blue;\">int</span> connections;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Local and server sent messages.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:#2b91af;\">List</span><<span style=\"color:blue;\">string</span>> messages = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">List</span><<span style=\"color:blue;\">string</span>>();\r\n \r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> The chat scroll position.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:#2b91af;\">Vector2</span> scrollPos;\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> The decoded texture from the server sent binary data</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">private</span> <span style=\"color:#2b91af;\">Texture2D</span> FrameTexture;\r\n\r\n<span style=\"color:blue;\"> #region</span> Unity Events\r\n\r\n <span style=\"color:blue;\">void</span> Start()\r\n {\r\n <span style=\"color:green;\">// Change an option to show how it should be done</span>\r\n <span style=\"color:#2b91af;\">SocketOptions</span> options = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">SocketOptions</span>();\r\n options.AutoConnect = <span style=\"color:blue;\">false</span>;\r\n\r\n <span style=\"color:green;\">// Create the SocketManager instance</span>\r\n <span style=\"color:blue;\">var</span> manager = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">SocketManager</span>(<span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">Uri</span>(<span style=\"color:#a31515;\">"http://io.weplay.io/socket.io/"</span>), options);\r\n\r\n <span style=\"color:green;\">// Keep a reference to the root namespace</span>\r\n Socket = manager.Socket;\r\n\r\n <span style=\"color:green;\">// Set up our event handlers.</span>\r\n Socket.On(<span style=\"color:#2b91af;\">SocketIOEventTypes</span>.Connect, OnConnected);\r\n Socket.On(<span style=\"color:#a31515;\">"joined"</span>, OnJoined);\r\n Socket.On(<span style=\"color:#a31515;\">"connections"</span>, OnConnections);\r\n Socket.On(<span style=\"color:#a31515;\">"join"</span>, OnJoin);\r\n Socket.On(<span style=\"color:#a31515;\">"move"</span>, OnMove);\r\n Socket.On(<span style=\"color:#a31515;\">"message"</span>, OnMessage);\r\n Socket.On(<span style=\"color:#a31515;\">"reload"</span>, OnReload);\r\n\r\n <span style=\"color:green;\">// Don't waste cpu cycles on decoding the payload, we are expecting only binary data with this event,</span>\r\n <span style=\"color:green;\">// and we can access it through the packet's Attachments property.</span>\r\n Socket.On(<span style=\"color:#a31515;\">"frame"</span>, OnFrame, <span style=\"color:green;\">/*autoDecodePayload:*/</span> <span style=\"color:blue;\">false</span>);\r\n\r\n <span style=\"color:green;\">// Add error handler, so we can display it</span>\r\n Socket.On(<span style=\"color:#2b91af;\">SocketIOEventTypes</span>.Error, OnError);\r\n\r\n <span style=\"color:green;\">// We set SocketOptions' AutoConnect to false, so we have to call it manually.</span>\r\n manager.Open();\r\n\r\n <span style=\"color:green;\">// We are connecting to the server.</span>\r\n State = <span style=\"color:#2b91af;\">States</span>.Connecting;\r\n }\r\n\r\n <span style=\"color:blue;\">void</span> OnDestroy()\r\n {\r\n <span style=\"color:green;\">// Leaving this sample, close the socket</span>\r\n Socket.Manager.Close();\r\n }\r\n\r\n <span style=\"color:blue;\">void</span> Update()\r\n {\r\n <span style=\"color:green;\">// Go back to the demo selector</span>\r\n <span style=\"color:blue;\">if</span> (<span style=\"color:#2b91af;\">Input</span>.GetKeyDown(<span style=\"color:#2b91af;\">KeyCode</span>.Escape))\r\n <span style=\"color:#2b91af;\">SampleSelector</span>.SelectedSample.DestroyUnityObject();\r\n }\r\n\r\n <span style=\"color:blue;\">void</span> OnGUI()\r\n {\r\n <span style=\"color:blue;\">switch</span>(State)\r\n {\r\n <span style=\"color:blue;\">case</span> <span style=\"color:#2b91af;\">States</span>.Connecting:\r\n <span style=\"color:#2b91af;\">GUIHelper</span>.DrawArea(<span style=\"color:#2b91af;\">GUIHelper</span>.ClientArea, <span style=\"color:blue;\">true</span>, () =>\r\n {\r\n <span style=\"color:#2b91af;\">GUILayout</span>.BeginVertical();\r\n <span style=\"color:#2b91af;\">GUILayout</span>.FlexibleSpace();\r\n <span style=\"color:#2b91af;\">GUIHelper</span>.DrawCenteredText(<span style=\"color:#a31515;\">"Connecting to the server..."</span>);\r\n <span style=\"color:#2b91af;\">GUILayout</span>.FlexibleSpace();\r\n <span style=\"color:#2b91af;\">GUILayout</span>.EndVertical();\r\n });\r\n <span style=\"color:blue;\">break</span>;\r\n \r\n <span style=\"color:blue;\">case</span> <span style=\"color:#2b91af;\">States</span>.WaitForNick:\r\n <span style=\"color:#2b91af;\">GUIHelper</span>.DrawArea(<span style=\"color:#2b91af;\">GUIHelper</span>.ClientArea, <span style=\"color:blue;\">true</span>, () =>\r\n {\r\n DrawLoginScreen();\r\n });\r\n <span style=\"color:blue;\">break</span>;\r\n\r\n <span style=\"color:blue;\">case</span> <span style=\"color:#2b91af;\">States</span>.Joined:\r\n <span style=\"color:#2b91af;\">GUIHelper</span>.DrawArea(<span style=\"color:#2b91af;\">GUIHelper</span>.ClientArea, <span style=\"color:blue;\">true</span>, () =>\r\n {\r\n <span style=\"color:green;\">// Draw Texture</span>\r\n <span style=\"color:blue;\">if</span> (FrameTexture != <span style=\"color:blue;\">null</span>)\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Box(FrameTexture);\r\n\r\n DrawControls();\r\n DrawChat();\r\n });\r\n <span style=\"color:blue;\">break</span>;\r\n }\r\n }\r\n\r\n<span style=\"color:blue;\"> #endregion</span>\r\n\r\n<span style=\"color:blue;\"> #region</span> Helper Functions\r\n\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"><summary></span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> Called from an OnGUI event&nb[...string is too long...]" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 751f, 751f, new GUILayoutOption[1]);
|
|
this.OJNEILAFJED().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.DPOCNDLMBJK().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 539f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C3BA RID: 50106 RVA: 0x003A901C File Offset: 0x003A721C
|
|
public void HCKKAHHGCGO()
|
|
{
|
|
this.GFFGEHILHOC(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C3BB RID: 50107 RVA: 0x003A902C File Offset: 0x003A722C
|
|
public void GEDEMEIJBGG()
|
|
{
|
|
this.OOEDBGPPDPF(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C3BC RID: 50108 RVA: 0x003A903C File Offset: 0x003A723C
|
|
private void HCADCAHLAFF(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("GetPCM() returned {0} samples, expected {1}", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C3BD RID: 50109 RVA: 0x003A9050 File Offset: 0x003A7250
|
|
private void GIGHLEHLBDL(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("{0}v2/phone/verify", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C3BE RID: 50110 RVA: 0x003A9064 File Offset: 0x003A7264
|
|
public PhotonPeer BKNNKNEECGA()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C3BF RID: 50111 RVA: 0x003A906C File Offset: 0x003A726C
|
|
private void HBLPLALCMGJ(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("bytes={0}-{1}", new GUILayoutOption[0]);
|
|
}
|
|
|
|
// Token: 0x0600C3C0 RID: 50112 RVA: 0x003A9080 File Offset: 0x003A7280
|
|
private void KKJGMBIGIAB(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("Gift.DropChance", new GUILayoutOption[0]);
|
|
}
|
|
|
|
// Token: 0x0600C3C1 RID: 50113 RVA: 0x003A9094 File Offset: 0x003A7294
|
|
public void GLMLDDAHCJB(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C3C3 RID: 50115 RVA: 0x003A90AC File Offset: 0x003A72AC
|
|
private void ILAEILNONPD(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("StickyData", this.MAKGFGHNPLP().RoundTripTime, this.BKNNKNEECGA().RoundTripTimeVariance), new GUILayoutOption[0]);
|
|
bool isSimulationEnabled = this.NFEDCMJIKGB().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "Nine.png", new GUILayoutOption[0]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.LGNBOBECEKD().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.IBAFKIINAHO().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("OVRTouchpadHelper" + num, new GUILayoutOption[0]);
|
|
num = GUILayout.HorizontalSlider(num, 491f, 375f, new GUILayoutOption[0]);
|
|
this.HIMMCMOACFD().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.ELCBKNNGEIK().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.OJNEILAFJED().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("VisitorCount" + num2, new GUILayoutOption[1]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 723f, 446f, new GUILayoutOption[1]);
|
|
this.MGOKHDANPLC().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.IBAFKIINAHO().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.DPOCNDLMBJK().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("time" + num3, new GUILayoutOption[0]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 163f, 95f, new GUILayoutOption[0]);
|
|
this.FGOBHNFDLHP().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.NFEDCMJIKGB().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 1407f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C3C4 RID: 50116 RVA: 0x003A927C File Offset: 0x003A747C
|
|
private void CDJNBGKIBBK(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("easetype", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C3C5 RID: 50117 RVA: 0x003A9290 File Offset: 0x003A7490
|
|
public PhotonPeer MGOKHDANPLC()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C3C6 RID: 50118 RVA: 0x003A9298 File Offset: 0x003A7498
|
|
public void MMPJIIEMMIA(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C3C7 RID: 50119 RVA: 0x003A92A4 File Offset: 0x003A74A4
|
|
public PhotonPeer NFOCIDFDBBP()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C3C8 RID: 50120 RVA: 0x003A92AC File Offset: 0x003A74AC
|
|
public void ILMNFJFOCAE(PhotonPeer NOBAPCOKFIL)
|
|
{
|
|
this.<JOKPEKHPMGC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0600C3C9 RID: 50121 RVA: 0x003A92B8 File Offset: 0x003A74B8
|
|
public void EONMIHOPPOJ()
|
|
{
|
|
this.ILMNFJFOCAE(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C3CA RID: 50122 RVA: 0x003A92C8 File Offset: 0x003A74C8
|
|
public PhotonPeer DCHILGJJAMF()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C3CB RID: 50123 RVA: 0x003A92D0 File Offset: 0x003A74D0
|
|
public void IHNMLMNMCAC()
|
|
{
|
|
this.FJOIIFAGPGH(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C3CC RID: 50124 RVA: 0x003A92E0 File Offset: 0x003A74E0
|
|
public PhotonPeer MAKGFGHNPLP()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C3CD RID: 50125 RVA: 0x003A92E8 File Offset: 0x003A74E8
|
|
public PhotonPeer DPOCNDLMBJK()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C3CE RID: 50126 RVA: 0x003A92F0 File Offset: 0x003A74F0
|
|
public PhotonPeer HIMMCMOACFD()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C3CF RID: 50127 RVA: 0x003A92F8 File Offset: 0x003A74F8
|
|
private void KLCHDFFIJKN(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("set-cookie", this.CEFEOMOABAC().RoundTripTime, this.IBAFKIINAHO().RoundTripTimeVariance), new GUILayoutOption[0]);
|
|
bool isSimulationEnabled = this.BKNNKNEECGA().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "Description too short!", new GUILayoutOption[0]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.BKNNKNEECGA().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.MAKGFGHNPLP().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("SteamManager" + num, new GUILayoutOption[0]);
|
|
num = GUILayout.HorizontalSlider(num, 423f, 801f, new GUILayoutOption[1]);
|
|
this.ICKONIJFGGH().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.GDIEKDOMMMK().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.MBAFKAOAEKG().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("to" + num2, new GUILayoutOption[1]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 1396f, 800f, new GUILayoutOption[0]);
|
|
this.IEEFHPBBMDH().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.CEFEOMOABAC().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.FGOBHNFDLHP().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("Clear Cookies" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 221f, 1053f, new GUILayoutOption[0]);
|
|
this.KJHGKNIKAEG().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.MBAFKAOAEKG().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 1707f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C3D0 RID: 50128 RVA: 0x003A94C8 File Offset: 0x003A76C8
|
|
public void KFAOLMFIFMH()
|
|
{
|
|
this.APPKKMPFFDE = IHFKMIAHBFP.DBOGBGIJDDJ;
|
|
}
|
|
|
|
// Token: 0x0600C3D1 RID: 50129 RVA: 0x003A94D8 File Offset: 0x003A76D8
|
|
public void ADIMNKKPECO()
|
|
{
|
|
this.DNMMLGHJBKC(IHFKMIAHBFP.DBOGBGIJDDJ);
|
|
}
|
|
|
|
// Token: 0x0600C3D2 RID: 50130 RVA: 0x003A94E8 File Offset: 0x003A76E8
|
|
private void GIACAFDGMBL(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label(string.Format("SkinColor", this.MOJNADIABIF().RoundTripTime, this.LDFHMBEFFFI().RoundTripTimeVariance), new GUILayoutOption[0]);
|
|
bool isSimulationEnabled = this.OCBNBDNCGMI().IsSimulationEnabled;
|
|
bool flag = GUILayout.Toggle(isSimulationEnabled, "Catch!", new GUILayoutOption[0]);
|
|
if (flag != isSimulationEnabled)
|
|
{
|
|
this.FGOBHNFDLHP().IsSimulationEnabled = flag;
|
|
}
|
|
float num = (float)this.CEFEOMOABAC().NetworkSimulationSettings.IncomingLag;
|
|
GUILayout.Label("Controller {0} connected." + num, new GUILayoutOption[1]);
|
|
num = GUILayout.HorizontalSlider(num, 1850f, 696f, new GUILayoutOption[0]);
|
|
this.DCHILGJJAMF().NetworkSimulationSettings.IncomingLag = (int)num;
|
|
this.CEFEOMOABAC().NetworkSimulationSettings.OutgoingLag = (int)num;
|
|
float num2 = (float)this.LDFHMBEFFFI().NetworkSimulationSettings.IncomingJitter;
|
|
GUILayout.Label("EmoteLaugh" + num2, new GUILayoutOption[0]);
|
|
num2 = GUILayout.HorizontalSlider(num2, 565f, 108f, new GUILayoutOption[0]);
|
|
this.PENKJPCGHPC().NetworkSimulationSettings.IncomingJitter = (int)num2;
|
|
this.MBAFKAOAEKG().NetworkSimulationSettings.OutgoingJitter = (int)num2;
|
|
float num3 = (float)this.MAKGFGHNPLP().NetworkSimulationSettings.IncomingLossPercentage;
|
|
GUILayout.Label("{0}={1}" + num3, new GUILayoutOption[1]);
|
|
num3 = GUILayout.HorizontalSlider(num3, 1783f, 1293f, new GUILayoutOption[0]);
|
|
this.OJNEILAFJED().NetworkSimulationSettings.IncomingLossPercentage = (int)num3;
|
|
this.OJNEILAFJED().NetworkSimulationSettings.OutgoingLossPercentage = (int)num3;
|
|
if (GUI.changed)
|
|
{
|
|
this.WindowRect.height = 635f;
|
|
}
|
|
GUI.DragWindow();
|
|
}
|
|
|
|
// Token: 0x0600C3D3 RID: 50131 RVA: 0x003A96B8 File Offset: 0x003A78B8
|
|
private void HALPIDEEOBM(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("Visible", new GUILayoutOption[1]);
|
|
}
|
|
|
|
// Token: 0x0600C3D4 RID: 50132 RVA: 0x003A96CC File Offset: 0x003A78CC
|
|
public PhotonPeer LGNBOBECEKD()
|
|
{
|
|
return this.<JOKPEKHPMGC>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0600C3D5 RID: 50133 RVA: 0x003A96D4 File Offset: 0x003A78D4
|
|
private void GDPCAEPOMFH(int IIJLDMLJJHL)
|
|
{
|
|
GUILayout.Label("Owner", new GUILayoutOption[0]);
|
|
}
|
|
|
|
// Token: 0x04001BE6 RID: 7142
|
|
public Rect WindowRect = new Rect(0f, 100f, 120f, 100f);
|
|
|
|
// Token: 0x04001BE7 RID: 7143
|
|
public int WindowId = 101;
|
|
|
|
// Token: 0x04001BE8 RID: 7144
|
|
public bool Visible = true;
|
|
}
|