518 lines
37 KiB
C#
518 lines
37 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02001128 RID: 4392
|
|
public class FramerateCounter : MonoBehaviour
|
|
{
|
|
// Token: 0x0602598A RID: 153994 RVA: 0x00A6F2E0 File Offset: 0x00A6D4E0
|
|
private void MDCNOIALLAF()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 62f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "IAEoCUITqgIQUmVjUm9vbS5Qcm90b2J1ZmIGcHJvdG8z";
|
|
string text2 = "name";
|
|
object[] array = new object[0];
|
|
array[0] = num2;
|
|
array[0] = aoemnhlkoam;
|
|
DebugVR.HEBMIFJNPMN(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 842f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602598B RID: 153995 RVA: 0x00A6F388 File Offset: 0x00A6D588
|
|
private void CJDFMFPIFDB()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 573f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "!";
|
|
string text2 = " Trace: ";
|
|
object[] array = new object[1];
|
|
array[1] = num2;
|
|
array[1] = aoemnhlkoam;
|
|
DebugVR.CINMDHNKDCK(text, text2, array);
|
|
this.AFLAMHBLPGO = 0;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 368f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602598C RID: 153996 RVA: 0x00A6F430 File Offset: 0x00A6D630
|
|
private void LHMGNEDHIHI()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 987f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "Description";
|
|
string text2 = "Unexpected EOF reading GZIP header.";
|
|
object[] array = new object[6];
|
|
array[0] = num2;
|
|
array[1] = aoemnhlkoam;
|
|
DebugVR.CINMDHNKDCK(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 770f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602598D RID: 153997 RVA: 0x00A6F4D8 File Offset: 0x00A6D6D8
|
|
private void Update()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 1f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
DebugVR.LogFormatPersistent("FPS", "Avg: {0:0.0}, Min: {1:0.0}", new object[] { num2, aoemnhlkoam });
|
|
this.AFLAMHBLPGO = 0;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = float.MaxValue;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602598E RID: 153998 RVA: 0x00A6F580 File Offset: 0x00A6D780
|
|
private void LJICNBMGDMN()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 912f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "IsCompleted";
|
|
string text2 = "Failed to find matching experiment for override: {0}";
|
|
object[] array = new object[8];
|
|
array[0] = num2;
|
|
array[0] = aoemnhlkoam;
|
|
DebugVR.CINMDHNKDCK(text, text2, array);
|
|
this.AFLAMHBLPGO = 0;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 44f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602598F RID: 153999 RVA: 0x00A6F628 File Offset: 0x00A6D828
|
|
private void IJPDEJFNCNH()
|
|
{
|
|
this.AFLAMHBLPGO += 0;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 996f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "{0} - Receive - Finished Successfully!";
|
|
string text2 = "<pre style=\"font-family:Consolas;font-size:13;color:black;background:silver;\"><span style=\"color:blue;\">using</span> System;\r\n\r\n<span style=\"color:blue;\">using</span> UnityEngine;\r\n\r\n<span style=\"color:blue;\">using</span> BestHTTP.SignalR;\r\n<span style=\"color:blue;\">using</span> BestHTTP.SignalR.Hubs;\r\n<span style=\"color:blue;\">using</span> BestHTTP.SignalR.Messages;\r\n<span style=\"color:blue;\">using</span> BestHTTP.SignalR.JsonEncoders;\r\n\r\n<span style=\"color:blue;\">class</span> <span style=\"color:#2b91af;\">DemoHubSample</span> : <span style=\"color:#2b91af;\">MonoBehaviour</span>\r\n{\r\n <span style=\"color:blue;\">readonly</span> <span style=\"color:#2b91af;\">Uri</span> URI = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">Uri</span>(<span style=\"color:#a31515;\">"http://besthttpsignalr.azurewebsites.net/signalr"</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 SignalR connection 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:#2b91af;\">Connection</span> signalRConnection;\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;\"> DemoHub client side implementation</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:#2b91af;\">DemoHub</span> demoHub;\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;\"> TypedDemoHub client side implementation</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:#2b91af;\">TypedDemoHub</span> typedDemoHub;\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;\"> VB .NET Hub</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:#2b91af;\">Hub</span> vbDemoHub;\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;\"> Result of the VB demo's ReadStateValue call</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> </span><span style=\"color:gray;\"></summary></span>\r\n <span style=\"color:blue;\">string</span> vbReadStateResult = <span style=\"color:blue;\">string</span>.Empty;\r\n\r\n <span style=\"color:#2b91af;\">Vector2</span> scrollPos; \r\n\r\n <span style=\"color:blue;\">void</span> Start()\r\n {\r\n <span style=\"color:green;\">// Create the hubs</span>\r\n demoHub = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">DemoHub</span>();\r\n typedDemoHub = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">TypedDemoHub</span>();\r\n vbDemoHub = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">Hub</span>(<span style=\"color:#a31515;\">"vbdemo"</span>);\r\n\r\n <span style=\"color:green;\">// Create the SignalR connection, passing all the three hubs to it</span>\r\n signalRConnection = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">Connection</span>(URI, demoHub, typedDemoHub, vbDemoHub);\r\n\r\n <span style=\"color:green;\">// Switch from the default encoder to the LitJson Encoder becouse it can handle the complex types too.</span>\r\n signalRConnection.JsonEncoder = <span style=\"color:blue;\">new</span> <span style=\"color:#2b91af;\">LitJsonEncoder</span>();\r\n\r\n <span style=\"color:green;\">// Call the demo functions when we successfully connect to the server</span>\r\n signalRConnection.OnConnected += (connection) =>\r\n {\r\n <span style=\"color:blue;\">var</span> person = <span style=\"color:blue;\">new</span> { Name = <span style=\"color:#a31515;\">"Foo"</span>, Age = 20, Address = <span style=\"color:blue;\">new</span> { Street = <span style=\"color:#a31515;\">"One Microsoft Way"</span>, Zip = <span style=\"color:#a31515;\">"98052"</span> } };\r\n\r\n <span style=\"color:green;\">// Call the demo functions</span>\r\n\r\n demoHub.ReportProgress(<span style=\"color:#a31515;\">"Long running job!"</span>);\r\n demoHub.AddToGroups();\r\n demoHub.GetValue();\r\n demoHub.TaskWithException();\r\n demoHub.GenericTaskWithException();\r\n demoHub.SynchronousException();\r\n demoHub.DynamicTask();\r\n demoHub.PassingDynamicComplex(person);\r\n demoHub.SimpleArray(<span style=\"color:blue;\">new</span> <span style=\"color:blue;\">int</span>[] { 5, 5, 6 });\r\n demoHub.ComplexType(person);\r\n demoHub.ComplexArray(<span style=\"color:blue;\">new</span> <span style=\"color:blue;\">object</span>[] { person, person, person });\r\n\r\n demoHub.Overload();\r\n\r\n <span style=\"color:green;\">// set some state</span>\r\n demoHub.State[<span style=\"color:#a31515;\">"name"</span>] = <span style=\"color:#a31515;\">"Testing state!"</span>;\r\n demoHub.ReadStateValue();\r\n\r\n demoHub.PlainTask();\r\n demoHub.GenericTaskWithContinueWith();\r\n\r\n typedDemoHub.Echo(<span style=\"color:#a31515;\">"Typed echo callback"</span>);\r\n\r\n <span style=\"color:green;\">// vbDemo is not wrapped in a hub class, it would contain only one function</span>\r\n vbDemoHub.Call(<span style=\"color:#a31515;\">"readStateValue"</span>, (hub, msg, result) => vbReadStateResult = <span style=\"color:blue;\">string</span>.Format(<span style=\"color:#a31515;\">"Read some state from VB.NET! => {0}"</span>, result.ReturnValue == <span style=\"color:blue;\">null</span> ? <span style=\"color:#a31515;\">"undefined"</span> : result.ReturnValue.ToString()));\r\n };\r\n\r\n <span style=\"color:green;\">// Start opening the signalR connection</span>\r\n signalRConnection.Open();\r\n }\r\n\r\n <span style=\"color:blue;\">void</span> OnDestroy()\r\n {\r\n <span style=\"color:green;\">// Close the connection when we are closing this sample</span>\r\n signalRConnection.Close();\r\n }\r\n\r\n <span style=\"color:blue;\">void</span> OnGUI()\r\n {\r\n <span style=\"color:#2b91af;\">GUIHelper</span>.DrawArea(<span style=\"color:#2b91af;\">GUIHelper</span>.ClientArea, <span style=\"color:blue;\">true</span>, () =>\r\n {\r\n scrollPos = <span style=\"color:#2b91af;\">GUILayout</span>.BeginScrollView(scrollPos, <span style=\"color:blue;\">false</span>, <span style=\"color:blue;\">false</span>);\r\n <span style=\"color:#2b91af;\">GUILayout</span>.BeginVertical();\r\n\r\n demoHub.Draw();\r\n\r\n typedDemoHub.Draw();\r\n\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Label(<span style=\"color:#a31515;\">"Read State Value"</span>);\r\n <span style=\"color:#2b91af;\">GUILayout</span>.BeginHorizontal();\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Space(20);\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Label(vbReadStateResult);\r\n <span style=\"color:#2b91af;\">GUILayout</span>.EndHorizontal();\r\n\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Space(10);\r\n\r\n <span style=\"color:#2b91af;\">GUILayout</span>.EndVertical();\r\n <span style=\"color:#2b91af;\">GUILayout</span>.EndScrollView();\r\n });\r\n\r\n }\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;\"> Wrapper class of the 'TypedDemoHub' hub</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;\">class</span> <span style=\"color:#2b91af;\">TypedDemoHub</span> : <span style=\"color:#2b91af;\">Hub</span>\r\n{\r\n <span style=\"color:blue;\">string</span> typedEchoResult = <span style=\"color:blue;\">string</span>.Empty;\r\n <span style=\"color:blue;\">string</span> typedEchoClientResult = <span style=\"color:blue;\">string</span>.Empty;\r\n\r\n <span style=\"color:blue;\">public</span> TypedDemoHub()\r\n :<span style=\"color:blue;\">base</span>(<span style=\"color:#a31515;\">"typeddemohub"</span>)\r\n {\r\n\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;\"> Called by the Connection class to be able to set up mappings.</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;\">public</span> <span style=\"color:blue;\">override</span> <span style=\"color:blue;\">void</span> Setup()\r\n {\r\n <span style=\"color:green;\">// Setup server-called functions</span>\r\n <span style=\"color:blue;\">base</span>.On(<span style=\"color:#a31515;\">"Echo"</span>, Echo);\r\n }\r\n\r\n<span style=\"color:blue;\"> #region</span> Server Called 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;\"> Server-called, client side implementation of the Echo function</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;\">void</span> Echo(<span style=\"color:#2b91af;\">Hub</span> hub, <span style=\"color:#2b91af;\">MethodCallMessage</span> methodCall)\r\n {\r\n typedEchoClientResult = <span style=\"color:blue;\">string</span>.Format(<span style=\"color:#a31515;\">"{0} #{1} triggered!"</span>, methodCall.Arguments[0], methodCall.Arguments[1]);\r\n }\r\n\r\n<span style=\"color:blue;\"> #endregion</span>\r\n\r\n<span style=\"color:blue;\"> #region</span> Client Called Function(s)\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;\"> Client-called, server side implementation of the Echo function.</span>\r\n <span style=\"color:gray;\">///</span><span style=\"color:green;\"> When the function successfully executed on the server the OnEcho_Done callback function will be called.</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;\">public</span> <span style=\"color:blue;\">void</span> Echo(<span style=\"color:blue;\">string</span> msg)\r\n {\r\n <span style=\"color:blue;\">base</span>.Call(<span style=\"color:#a31515;\">"echo"</span>, OnEcho_Done, msg);\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;\"> When the function successfully executed on the server this callback function will be called.</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;\">void</span> OnEcho_Done(<span style=\"color:#2b91af;\">Hub</span> hub, <span style=\"color:#2b91af;\">ClientMessage</span> originalMessage, <span style=\"color:#2b91af;\">ResultMessage</span> result)\r\n {\r\n typedEchoResult = <span style=\"color:#a31515;\">"TypedDemoHub.Echo(string message) invoked!"</span>;\r\n }\r\n\r\n<span style=\"color:blue;\"> #endregion</span>\r\n\r\n <span style=\"color:blue;\">public</span> <span style=\"color:blue;\">void</span> Draw()\r\n {\r\n <span style=\"color:#2b91af;\">GUILayout</span>.Label(<span style=\"color:#a31515;\">"Typed callback"</span>);\r\n\r\n &nb[...string is too long...]";
|
|
object[] array = new object[7];
|
|
array[0] = num2;
|
|
array[0] = aoemnhlkoam;
|
|
DebugVR.ILBEKDKOOIC(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 1653f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06025990 RID: 154000 RVA: 0x00A6F6D0 File Offset: 0x00A6D8D0
|
|
private void MIBIJLIBPGJ()
|
|
{
|
|
this.AFLAMHBLPGO += 0;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 1755f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "content-range";
|
|
string text2 = "position";
|
|
object[] array = new object[8];
|
|
array[1] = num2;
|
|
array[1] = aoemnhlkoam;
|
|
DebugVR.ILBEKDKOOIC(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 1764f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06025991 RID: 154001 RVA: 0x00A6F778 File Offset: 0x00A6D978
|
|
private void GPDOCPBDIHJ()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 506f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "session_start";
|
|
string text2 = "Error updating room: ";
|
|
object[] array = new object[] { null, num2 };
|
|
array[0] = aoemnhlkoam;
|
|
DebugVR.ILBEKDKOOIC(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 328f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06025993 RID: 154003 RVA: 0x00A6F834 File Offset: 0x00A6DA34
|
|
private void JJHGPNEHNOM()
|
|
{
|
|
this.AFLAMHBLPGO += 0;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 406f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "HeightChangeDetector";
|
|
string text2 = "%";
|
|
object[] array = new object[] { null, num2 };
|
|
array[0] = aoemnhlkoam;
|
|
DebugVR.GPEJBMAKELJ(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 306f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06025994 RID: 154004 RVA: 0x00A6F8DC File Offset: 0x00A6DADC
|
|
private void GGGPONCFHPC()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 901f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "Tried to go somewhere without a valid birthday!";
|
|
string text2 = "You've been Revived by ";
|
|
object[] array = new object[1];
|
|
array[1] = num2;
|
|
array[0] = aoemnhlkoam;
|
|
DebugVR.CINMDHNKDCK(text, text2, array);
|
|
this.AFLAMHBLPGO = 0;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 1232f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06025995 RID: 154005 RVA: 0x00A6F984 File Offset: 0x00A6DB84
|
|
private void NIBGLHFHJLJ()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 1185f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "Total";
|
|
string text2 = "SplitTestAssignedSegments";
|
|
object[] array = new object[4];
|
|
array[1] = num2;
|
|
array[0] = aoemnhlkoam;
|
|
DebugVR.HEBMIFJNPMN(text, text2, array);
|
|
this.AFLAMHBLPGO = 0;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 1507f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06025996 RID: 154006 RVA: 0x00A6FA2C File Offset: 0x00A6DC2C
|
|
private void LHDEGPKAADF()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 711f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "_SampleOffset";
|
|
string text2 = "AGGraphicRaycaster expects a WorldSpace canvas";
|
|
object[] array = new object[0];
|
|
array[1] = num2;
|
|
array[0] = aoemnhlkoam;
|
|
DebugVR.LogFormatPersistent(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 1769f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06025997 RID: 154007 RVA: 0x00A6FAD4 File Offset: 0x00A6DCD4
|
|
private void NEFFCEJLOCD()
|
|
{
|
|
this.AFLAMHBLPGO += 0;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 1191f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = ") has ";
|
|
string text2 = "November";
|
|
object[] array = new object[5];
|
|
array[1] = num2;
|
|
array[1] = aoemnhlkoam;
|
|
DebugVR.GPEJBMAKELJ(text, text2, array);
|
|
this.AFLAMHBLPGO = 0;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 1948f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06025998 RID: 154008 RVA: 0x00A6FB7C File Offset: 0x00A6DD7C
|
|
private void JKMNBLDOIMB()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 1016f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "time";
|
|
string text2 = "b";
|
|
object[] array = new object[3];
|
|
array[1] = num2;
|
|
array[1] = aoemnhlkoam;
|
|
DebugVR.ILBEKDKOOIC(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 1610f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06025999 RID: 154009 RVA: 0x00A6FC24 File Offset: 0x00A6DE24
|
|
private void BJJKGIOCAIL()
|
|
{
|
|
this.AFLAMHBLPGO += 0;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 1479f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "HY";
|
|
string text2 = "rotation";
|
|
object[] array = new object[7];
|
|
array[0] = num2;
|
|
array[0] = aoemnhlkoam;
|
|
DebugVR.HEBMIFJNPMN(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 275f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602599A RID: 154010 RVA: 0x00A6FCCC File Offset: 0x00A6DECC
|
|
private void LOGFBGOPLLO()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 1750f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "iTween: Unsupported namedcolorvalue supplied! Default will be used.";
|
|
string text2 = "audiosource";
|
|
object[] array = new object[1];
|
|
array[0] = num2;
|
|
array[1] = aoemnhlkoam;
|
|
DebugVR.HEBMIFJNPMN(text, text2, array);
|
|
this.AFLAMHBLPGO = 0;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 625f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602599B RID: 154011 RVA: 0x00A6FD74 File Offset: 0x00A6DF74
|
|
private void AHHEENEFAPI()
|
|
{
|
|
this.AFLAMHBLPGO += 0;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 1328f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "No message dialog found";
|
|
string text2 = "_N";
|
|
object[] array = new object[6];
|
|
array[1] = num2;
|
|
array[1] = aoemnhlkoam;
|
|
DebugVR.ONJHNINLHMC(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 1080f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602599C RID: 154012 RVA: 0x00A6FE1C File Offset: 0x00A6E01C
|
|
private void IOGPMJADEIB()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 168f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "F0";
|
|
string text2 = " new frames!";
|
|
object[] array = new object[7];
|
|
array[0] = num2;
|
|
array[1] = aoemnhlkoam;
|
|
DebugVR.ILBEKDKOOIC(text, text2, array);
|
|
this.AFLAMHBLPGO = 0;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 395f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602599D RID: 154013 RVA: 0x00A6FEC4 File Offset: 0x00A6E0C4
|
|
private void MHDFIOMCCMO()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 1138f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "ChRyb29tX2Rvb3JfZGF0YS5wcm90bxIHcmVjcm9vbRoKY29yZS5wcm90byIf";
|
|
string text2 = "Game Full";
|
|
object[] array = new object[6];
|
|
array[0] = num2;
|
|
array[0] = aoemnhlkoam;
|
|
DebugVR.HEBMIFJNPMN(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 1982f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602599E RID: 154014 RVA: 0x00A6FF6C File Offset: 0x00A6E16C
|
|
private void MDGPLNDHKCI()
|
|
{
|
|
this.AFLAMHBLPGO += 0;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 1944f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "The host hasn't opened this event yet";
|
|
string text2 = "method";
|
|
object[] array = new object[] { null, num2 };
|
|
array[0] = aoemnhlkoam;
|
|
DebugVR.HEBMIFJNPMN(text, text2, array);
|
|
this.AFLAMHBLPGO = 0;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 629f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0602599F RID: 154015 RVA: 0x00A70014 File Offset: 0x00A6E214
|
|
private void PKKOKHACBCE()
|
|
{
|
|
this.AFLAMHBLPGO += 0;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 627f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "\" gets executed locally only, if at all.";
|
|
string text2 = "\"";
|
|
object[] array = new object[6];
|
|
array[1] = num2;
|
|
array[1] = aoemnhlkoam;
|
|
DebugVR.LogFormatPersistent(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 1022f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060259A0 RID: 154016 RVA: 0x00A700BC File Offset: 0x00A6E2BC
|
|
private void PBCNFAEFEEO()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 978f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "taken_by";
|
|
string text2 = "Curved overlay";
|
|
object[] array = new object[1];
|
|
array[1] = num2;
|
|
array[1] = aoemnhlkoam;
|
|
DebugVR.ONJHNINLHMC(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 875f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060259A1 RID: 154017 RVA: 0x00A70164 File Offset: 0x00A6E364
|
|
private void EJELDFPCKKF()
|
|
{
|
|
this.AFLAMHBLPGO++;
|
|
this.AOEMNHLKOAM = Mathf.Min(this.AOEMNHLKOAM, 246f / Time.unscaledDeltaTime);
|
|
float num = Time.realtimeSinceStartup - this.ELAENDNBOOA;
|
|
if (num >= this.refreshSeconds)
|
|
{
|
|
float num2 = (float)this.AFLAMHBLPGO / num;
|
|
float aoemnhlkoam = this.AOEMNHLKOAM;
|
|
string text = "Failed to get render model name for tracked object ";
|
|
string text2 = "#02C85F";
|
|
object[] array = new object[4];
|
|
array[1] = num2;
|
|
array[1] = aoemnhlkoam;
|
|
DebugVR.HEBMIFJNPMN(text, text2, array);
|
|
this.AFLAMHBLPGO = 1;
|
|
this.ELAENDNBOOA = Time.realtimeSinceStartup;
|
|
this.AOEMNHLKOAM = 1775f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x04005EF9 RID: 24313
|
|
[SerializeField]
|
|
private float refreshSeconds = 1f;
|
|
|
|
// Token: 0x04005EFA RID: 24314
|
|
private int AFLAMHBLPGO;
|
|
|
|
// Token: 0x04005EFB RID: 24315
|
|
private float AOEMNHLKOAM;
|
|
|
|
// Token: 0x04005EFC RID: 24316
|
|
private float ELAENDNBOOA;
|
|
}
|