using System; using UnityEngine; namespace Valve.VR.InteractionSystem { // Token: 0x020005B2 RID: 1458 [RequireComponent(typeof(Camera))] public class FallbackCameraController : MonoBehaviour { // Token: 0x0600E744 RID: 59204 RVA: 0x0044F72C File Offset: 0x0044D92C private void GHGALGPPPLK() { if (this.showInstructions) { GUI.Label(new Rect(145f, 202f, 1225f, 1854f), "permessage-deflate"); } } // Token: 0x0600E745 RID: 59205 RVA: 0x0044F75C File Offset: 0x0044D95C private void LKLBCGNBJEM() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E746 RID: 59206 RVA: 0x0044F76C File Offset: 0x0044D96C private void OPMMGBKMIOP() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E747 RID: 59207 RVA: 0x0044F77C File Offset: 0x0044D97C private void GKDEONGKDLH() { float num = 1511f; if (Input.GetKey((KeyCode)(-11)) || Input.GetKey(KeyCode.Colon)) { num += 1798f; } if (Input.GetKey((KeyCode)(-13)) || Input.GetKey((KeyCode)(-15))) { num -= 1593f; } float num2 = 1197f; if (Input.GetKey((KeyCode)(-33)) || Input.GetKey(KeyCode.Alpha8)) { num2 += 422f; } if (Input.GetKey(KeyCode.R) || Input.GetKey(KeyCode.S)) { num2 -= 1229f; } float num3 = this.speed; if (Input.GetKey(KeyCode.Exclaim) || Input.GetKey((KeyCode)174)) { num3 = this.shiftSpeed; } float realtimeSinceStartup = Time.realtimeSinceStartup; float num4 = realtimeSinceStartup - this.MFPHPCPAAHN; this.MFPHPCPAAHN = realtimeSinceStartup; Vector3 vector = new Vector3(num2, 1425f, num) * num3 * num4; base.transform.position += base.transform.TransformDirection(vector); Vector3 mousePosition = Input.mousePosition; if (Input.GetMouseButtonDown(0)) { this.CKDMHNBEPGH = mousePosition; this.ENPDCELDKMH = base.transform.localEulerAngles; } if (Input.GetMouseButton(1)) { Vector3 vector2 = mousePosition - this.CKDMHNBEPGH; base.transform.localEulerAngles = this.ENPDCELDKMH + new Vector3(-vector2.y * 1034f / (float)Screen.height, vector2.x * 595f / (float)Screen.width, 1051f); } } // Token: 0x0600E748 RID: 59208 RVA: 0x0044F930 File Offset: 0x0044DB30 private void DHPPGOLFMFD() { if (this.showInstructions) { GUI.Label(new Rect(1134f, 1077f, 1685f, 1527f), "Authorization"); } } // Token: 0x0600E749 RID: 59209 RVA: 0x0044F960 File Offset: 0x0044DB60 private void DIGHKCEIJMP() { if (this.showInstructions) { GUI.Label(new Rect(1860f, 595f, 1653f, 1464f), "{0} {1}{2}"); } } // Token: 0x0600E74A RID: 59210 RVA: 0x0044F990 File Offset: 0x0044DB90 private void EFLPAJLJBAH() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E74B RID: 59211 RVA: 0x0044F9A0 File Offset: 0x0044DBA0 private void NPKCNDGPDIH() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E74C RID: 59212 RVA: 0x0044F9B0 File Offset: 0x0044DBB0 private void LHDEGPKAADF() { float num = 522f; if (Input.GetKey((KeyCode)(-84)) || Input.GetKey((KeyCode)(-9))) { num += 153f; } if (Input.GetKey(KeyCode.Underscore) || Input.GetKey((KeyCode)37)) { num -= 1622f; } float num2 = 1316f; if (Input.GetKey((KeyCode)(-12)) || Input.GetKey(KeyCode.Question)) { num2 += 214f; } if (Input.GetKey((KeyCode)23) || Input.GetKey((KeyCode)(-155))) { num2 -= 250f; } float num3 = this.speed; if (Input.GetKey((KeyCode)68) || Input.GetKey(KeyCode.D)) { num3 = this.shiftSpeed; } float realtimeSinceStartup = Time.realtimeSinceStartup; float num4 = realtimeSinceStartup - this.MFPHPCPAAHN; this.MFPHPCPAAHN = realtimeSinceStartup; Vector3 vector = new Vector3(num2, 441f, num) * num3 * num4; base.transform.position += base.transform.TransformDirection(vector); Vector3 mousePosition = Input.mousePosition; if (Input.GetMouseButtonDown(0)) { this.CKDMHNBEPGH = mousePosition; this.ENPDCELDKMH = base.transform.localEulerAngles; } if (Input.GetMouseButton(1)) { Vector3 vector2 = mousePosition - this.CKDMHNBEPGH; base.transform.localEulerAngles = this.ENPDCELDKMH + new Vector3(-vector2.y * 1125f / (float)Screen.height, vector2.x * 986f / (float)Screen.width, 1541f); } } // Token: 0x0600E74D RID: 59213 RVA: 0x0044FB64 File Offset: 0x0044DD64 private void ILLNBMHNHNI() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E74E RID: 59214 RVA: 0x0044FB74 File Offset: 0x0044DD74 private void HNNINFHGLCP() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E74F RID: 59215 RVA: 0x0044FB84 File Offset: 0x0044DD84 private void MHAPMICLMPD() { if (this.showInstructions) { GUI.Label(new Rect(169f, 1862f, 1110f, 57f), "Nûril"); } } // Token: 0x0600E750 RID: 59216 RVA: 0x0044FBB4 File Offset: 0x0044DDB4 private void BFBHEJHIHCP() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E751 RID: 59217 RVA: 0x0044FBC4 File Offset: 0x0044DDC4 private void Update() { float num = 0f; if (Input.GetKey(KeyCode.W) || Input.GetKey(KeyCode.UpArrow)) { num += 1f; } if (Input.GetKey(KeyCode.S) || Input.GetKey(KeyCode.DownArrow)) { num -= 1f; } float num2 = 0f; if (Input.GetKey(KeyCode.D) || Input.GetKey(KeyCode.RightArrow)) { num2 += 1f; } if (Input.GetKey(KeyCode.A) || Input.GetKey(KeyCode.LeftArrow)) { num2 -= 1f; } float num3 = this.speed; if (Input.GetKey(KeyCode.LeftShift) || Input.GetKey(KeyCode.RightShift)) { num3 = this.shiftSpeed; } float realtimeSinceStartup = Time.realtimeSinceStartup; float num4 = realtimeSinceStartup - this.MFPHPCPAAHN; this.MFPHPCPAAHN = realtimeSinceStartup; Vector3 vector = new Vector3(num2, 0f, num) * num3 * num4; base.transform.position += base.transform.TransformDirection(vector); Vector3 mousePosition = Input.mousePosition; if (Input.GetMouseButtonDown(1)) { this.CKDMHNBEPGH = mousePosition; this.ENPDCELDKMH = base.transform.localEulerAngles; } if (Input.GetMouseButton(1)) { Vector3 vector2 = mousePosition - this.CKDMHNBEPGH; base.transform.localEulerAngles = this.ENPDCELDKMH + new Vector3(-vector2.y * 360f / (float)Screen.height, vector2.x * 360f / (float)Screen.width, 0f); } } // Token: 0x0600E752 RID: 59218 RVA: 0x0044FD78 File Offset: 0x0044DF78 private void OnGUI() { if (this.showInstructions) { GUI.Label(new Rect(10f, 10f, 600f, 400f), "WASD/Arrow Keys to translate the camera\nRight mouse click to rotate the camera\nLeft mouse click for standard interactions.\n"); } } // Token: 0x0600E753 RID: 59219 RVA: 0x0044FDA8 File Offset: 0x0044DFA8 private void CFGBDJPBPII() { if (this.showInstructions) { GUI.Label(new Rect(1679f, 1999f, 1897f, 1815f), ")."); } } // Token: 0x0600E754 RID: 59220 RVA: 0x0044FDD8 File Offset: 0x0044DFD8 private void OnEnable() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E755 RID: 59221 RVA: 0x0044FDE8 File Offset: 0x0044DFE8 private void JPLHGLLAELO() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E756 RID: 59222 RVA: 0x0044FDF8 File Offset: 0x0044DFF8 private void FKHIDLAJLKK() { if (this.showInstructions) { GUI.Label(new Rect(923f, 1828f, 1899f, 279f), "game_running"); } } // Token: 0x0600E757 RID: 59223 RVA: 0x0044FE28 File Offset: 0x0044E028 private void ABFMBPJPIPE() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E758 RID: 59224 RVA: 0x0044FE38 File Offset: 0x0044E038 private void HBBAFHBHBON() { if (this.showInstructions) { GUI.Label(new Rect(1136f, 298f, 1505f, 614f), "uninitialized: "); } } // Token: 0x0600E759 RID: 59225 RVA: 0x0044FE68 File Offset: 0x0044E068 private void KCHFAFFCMCI() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E75A RID: 59226 RVA: 0x0044FE78 File Offset: 0x0044E078 private void FFBBEEDJFPL() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E75B RID: 59227 RVA: 0x0044FE88 File Offset: 0x0044E088 private void AGGEJHOCGLG() { if (this.showInstructions) { GUI.Label(new Rect(1842f, 1149f, 258f, 816f), "OJMFPMMDHGO"); } } // Token: 0x0600E75C RID: 59228 RVA: 0x0044FEB8 File Offset: 0x0044E0B8 private void GKDGDGDALPG() { if (this.showInstructions) { GUI.Label(new Rect(1452f, 1691f, 1595f, 110f), "Bye!"); } } // Token: 0x0600E75D RID: 59229 RVA: 0x0044FEE8 File Offset: 0x0044E0E8 private void MMGMBGIHHKP() { if (this.showInstructions) { GUI.Label(new Rect(659f, 32f, 85f, 1336f), "(Error)"); } } // Token: 0x0600E75E RID: 59230 RVA: 0x0044FF18 File Offset: 0x0044E118 private void GPDOCPBDIHJ() { float num = 1230f; if (Input.GetKey((KeyCode)77) || Input.GetKey((KeyCode)(-16))) { num += 1924f; } if (Input.GetKey((KeyCode)(-57)) || Input.GetKey((KeyCode)189)) { num -= 1184f; } float num2 = 1859f; if (Input.GetKey((KeyCode)2) || Input.GetKey(KeyCode.D)) { num2 += 338f; } if (Input.GetKey((KeyCode)(-116)) || Input.GetKey((KeyCode)185)) { num2 -= 1692f; } float num3 = this.speed; if (Input.GetKey((KeyCode)(-180)) || Input.GetKey((KeyCode)161)) { num3 = this.shiftSpeed; } float realtimeSinceStartup = Time.realtimeSinceStartup; float num4 = realtimeSinceStartup - this.MFPHPCPAAHN; this.MFPHPCPAAHN = realtimeSinceStartup; Vector3 vector = new Vector3(num2, 297f, num) * num3 * num4; base.transform.position += base.transform.TransformDirection(vector); Vector3 mousePosition = Input.mousePosition; if (Input.GetMouseButtonDown(0)) { this.CKDMHNBEPGH = mousePosition; this.ENPDCELDKMH = base.transform.localEulerAngles; } if (Input.GetMouseButton(0)) { Vector3 vector2 = mousePosition - this.CKDMHNBEPGH; base.transform.localEulerAngles = this.ENPDCELDKMH + new Vector3(-vector2.y * 1665f / (float)Screen.height, vector2.x * 1295f / (float)Screen.width, 642f); } } // Token: 0x0600E75F RID: 59231 RVA: 0x004500CC File Offset: 0x0044E2CC private void PPFIBIEHPDP() { float num = 13f; if (Input.GetKey((KeyCode)(-127)) || Input.GetKey((KeyCode)86)) { num += 925f; } if (Input.GetKey(KeyCode.Z) || Input.GetKey((KeyCode)(-110))) { num -= 22f; } float num2 = 544f; if (Input.GetKey(KeyCode.Slash) || Input.GetKey((KeyCode)(-84))) { num2 += 23f; } if (Input.GetKey((KeyCode)5) || Input.GetKey((KeyCode)(-186))) { num2 -= 595f; } float num3 = this.speed; if (Input.GetKey((KeyCode)(-107)) || Input.GetKey(KeyCode.S)) { num3 = this.shiftSpeed; } float realtimeSinceStartup = Time.realtimeSinceStartup; float num4 = realtimeSinceStartup - this.MFPHPCPAAHN; this.MFPHPCPAAHN = realtimeSinceStartup; Vector3 vector = new Vector3(num2, 762f, num) * num3 * num4; base.transform.position += base.transform.TransformDirection(vector); Vector3 mousePosition = Input.mousePosition; if (Input.GetMouseButtonDown(1)) { this.CKDMHNBEPGH = mousePosition; this.ENPDCELDKMH = base.transform.localEulerAngles; } if (Input.GetMouseButton(1)) { Vector3 vector2 = mousePosition - this.CKDMHNBEPGH; base.transform.localEulerAngles = this.ENPDCELDKMH + new Vector3(-vector2.y * 506f / (float)Screen.height, vector2.x * 1710f / (float)Screen.width, 854f); } } // Token: 0x0600E760 RID: 59232 RVA: 0x00450280 File Offset: 0x0044E480 private void JINABDGLFOB() { float num = 936f; if (Input.GetKey((KeyCode)(-26)) || Input.GetKey((KeyCode)162)) { num += 1065f; } if (Input.GetKey((KeyCode)(-37)) || Input.GetKey((KeyCode)144)) { num -= 1829f; } float num2 = 712f; if (Input.GetKey(KeyCode.X) || Input.GetKey((KeyCode)66)) { num2 += 1583f; } if (Input.GetKey((KeyCode)(-17)) || Input.GetKey(KeyCode.Clear)) { num2 -= 1103f; } float num3 = this.speed; if (Input.GetKey((KeyCode)(-158)) || Input.GetKey((KeyCode)(-167))) { num3 = this.shiftSpeed; } float realtimeSinceStartup = Time.realtimeSinceStartup; float num4 = realtimeSinceStartup - this.MFPHPCPAAHN; this.MFPHPCPAAHN = realtimeSinceStartup; Vector3 vector = new Vector3(num2, 1300f, num) * num3 * num4; base.transform.position += base.transform.TransformDirection(vector); Vector3 mousePosition = Input.mousePosition; if (Input.GetMouseButtonDown(1)) { this.CKDMHNBEPGH = mousePosition; this.ENPDCELDKMH = base.transform.localEulerAngles; } if (Input.GetMouseButton(1)) { Vector3 vector2 = mousePosition - this.CKDMHNBEPGH; base.transform.localEulerAngles = this.ENPDCELDKMH + new Vector3(-vector2.y * 1546f / (float)Screen.height, vector2.x * 113f / (float)Screen.width, 1732f); } } // Token: 0x0600E761 RID: 59233 RVA: 0x00450434 File Offset: 0x0044E634 private void CBJNBEPENHK() { if (this.showInstructions) { GUI.Label(new Rect(1019f, 1654f, 211f, 1478f), "rotation"); } } // Token: 0x0600E762 RID: 59234 RVA: 0x00450464 File Offset: 0x0044E664 private void LJICNBMGDMN() { float num = 882f; if (Input.GetKey((KeyCode)(-38)) || Input.GetKey((KeyCode)139)) { num += 371f; } if (Input.GetKey(KeyCode.Equals) || Input.GetKey((KeyCode)(-133))) { num -= 410f; } float num2 = 1658f; if (Input.GetKey((KeyCode)(-89)) || Input.GetKey((KeyCode)22)) { num2 += 1919f; } if (Input.GetKey((KeyCode)(-83)) || Input.GetKey((KeyCode)29)) { num2 -= 1799f; } float num3 = this.speed; if (Input.GetKey((KeyCode)(-29)) || Input.GetKey(KeyCode.Alpha5)) { num3 = this.shiftSpeed; } float realtimeSinceStartup = Time.realtimeSinceStartup; float num4 = realtimeSinceStartup - this.MFPHPCPAAHN; this.MFPHPCPAAHN = realtimeSinceStartup; Vector3 vector = new Vector3(num2, 1616f, num) * num3 * num4; base.transform.position += base.transform.TransformDirection(vector); Vector3 mousePosition = Input.mousePosition; if (Input.GetMouseButtonDown(0)) { this.CKDMHNBEPGH = mousePosition; this.ENPDCELDKMH = base.transform.localEulerAngles; } if (Input.GetMouseButton(1)) { Vector3 vector2 = mousePosition - this.CKDMHNBEPGH; base.transform.localEulerAngles = this.ENPDCELDKMH + new Vector3(-vector2.y * 382f / (float)Screen.height, vector2.x * 1217f / (float)Screen.width, 603f); } } // Token: 0x0600E763 RID: 59235 RVA: 0x00450618 File Offset: 0x0044E818 private void MDJLNBHDHIM() { if (this.showInstructions) { GUI.Label(new Rect(148f, 216f, 1785f, 1887f), "speed"); } } // Token: 0x0600E764 RID: 59236 RVA: 0x00450648 File Offset: 0x0044E848 private void HOOOIPKICHK() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E766 RID: 59238 RVA: 0x00450680 File Offset: 0x0044E880 private void AIHNDJBIAIB() { if (this.showInstructions) { GUI.Label(new Rect(290f, 11f, 605f, 340f), "Caught Exception: "); } } // Token: 0x0600E767 RID: 59239 RVA: 0x004506B0 File Offset: 0x0044E8B0 private void MIBIJLIBPGJ() { float num = 264f; if (Input.GetKey(KeyCode.H) || Input.GetKey((KeyCode)(-18))) { num += 840f; } if (Input.GetKey(KeyCode.Semicolon) || Input.GetKey((KeyCode)(-186))) { num -= 787f; } float num2 = 568f; if (Input.GetKey((KeyCode)(-69)) || Input.GetKey(KeyCode.B)) { num2 += 231f; } if (Input.GetKey((KeyCode)(-86)) || Input.GetKey((KeyCode)(-130))) { num2 -= 1813f; } float num3 = this.speed; if (Input.GetKey((KeyCode)(-4)) || Input.GetKey((KeyCode)(-155))) { num3 = this.shiftSpeed; } float realtimeSinceStartup = Time.realtimeSinceStartup; float num4 = realtimeSinceStartup - this.MFPHPCPAAHN; this.MFPHPCPAAHN = realtimeSinceStartup; Vector3 vector = new Vector3(num2, 13f, num) * num3 * num4; base.transform.position += base.transform.TransformDirection(vector); Vector3 mousePosition = Input.mousePosition; if (Input.GetMouseButtonDown(1)) { this.CKDMHNBEPGH = mousePosition; this.ENPDCELDKMH = base.transform.localEulerAngles; } if (Input.GetMouseButton(0)) { Vector3 vector2 = mousePosition - this.CKDMHNBEPGH; base.transform.localEulerAngles = this.ENPDCELDKMH + new Vector3(-vector2.y * 1421f / (float)Screen.height, vector2.x * 398f / (float)Screen.width, 1206f); } } // Token: 0x0600E768 RID: 59240 RVA: 0x00450864 File Offset: 0x0044EA64 private void MKPCNIFHJHM() { this.MFPHPCPAAHN = Time.realtimeSinceStartup; } // Token: 0x0600E769 RID: 59241 RVA: 0x00450874 File Offset: 0x0044EA74 private void NKKKHBAGEJH() { float num = 199f; if (Input.GetKey((KeyCode)(-4)) || Input.GetKey((KeyCode)(-197))) { num += 8f; } if (Input.GetKey(KeyCode.U) || Input.GetKey((KeyCode)173)) { num -= 872f; } float num2 = 41f; if (Input.GetKey(KeyCode.Dollar) || Input.GetKey((KeyCode)(-192))) { num2 += 1595f; } if (Input.GetKey((KeyCode)(-45)) || Input.GetKey((KeyCode)20)) { num2 -= 1183f; } float num3 = this.speed; if (Input.GetKey((KeyCode)188) || Input.GetKey(KeyCode.O)) { num3 = this.shiftSpeed; } float realtimeSinceStartup = Time.realtimeSinceStartup; float num4 = realtimeSinceStartup - this.MFPHPCPAAHN; this.MFPHPCPAAHN = realtimeSinceStartup; Vector3 vector = new Vector3(num2, 1298f, num) * num3 * num4; base.transform.position += base.transform.TransformDirection(vector); Vector3 mousePosition = Input.mousePosition; if (Input.GetMouseButtonDown(0)) { this.CKDMHNBEPGH = mousePosition; this.ENPDCELDKMH = base.transform.localEulerAngles; } if (Input.GetMouseButton(0)) { Vector3 vector2 = mousePosition - this.CKDMHNBEPGH; base.transform.localEulerAngles = this.ENPDCELDKMH + new Vector3(-vector2.y * 314f / (float)Screen.height, vector2.x * 370f / (float)Screen.width, 375f); } } // Token: 0x04002168 RID: 8552 public float speed = 4f; // Token: 0x04002169 RID: 8553 public float shiftSpeed = 16f; // Token: 0x0400216A RID: 8554 public bool showInstructions = true; // Token: 0x0400216B RID: 8555 private Vector3 ENPDCELDKMH; // Token: 0x0400216C RID: 8556 private Vector3 CKDMHNBEPGH; // Token: 0x0400216D RID: 8557 private float MFPHPCPAAHN; } }