3290 lines
124 KiB
C#
3290 lines
124 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.Diagnostics;
|
|
using UnityEngine;
|
|
using UnityEngine.Events;
|
|
using Valve.VR;
|
|
|
|
// Token: 0x02000ADE RID: 2782
|
|
public class ControllerIO : MonoBehaviour
|
|
{
|
|
// Token: 0x060157B2 RID: 87986 RVA: 0x005FA278 File Offset: 0x005F8478
|
|
public bool OCKOMKMEJLG()
|
|
{
|
|
return this.<IOKANOGLLDJ>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060157B3 RID: 87987 RVA: 0x005FA280 File Offset: 0x005F8480
|
|
private void KJJJFBNCBEI(bool NOBAPCOKFIL)
|
|
{
|
|
this.<LHLBGIBKDJM>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060157B4 RID: 87988 RVA: 0x005FA28C File Offset: 0x005F848C
|
|
public bool HIFAJDGLOPG()
|
|
{
|
|
return this.<PJEOFHJPNIB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008C1 RID: 2241
|
|
// (get) Token: 0x0601586C RID: 88172 RVA: 0x005FE5DC File Offset: 0x005FC7DC
|
|
// (set) Token: 0x060157B5 RID: 87989 RVA: 0x005FA294 File Offset: 0x005F8494
|
|
public bool NLEHDGDGJLF { get; private set; }
|
|
|
|
// Token: 0x170008B5 RID: 2229
|
|
// (get) Token: 0x060158E6 RID: 88294 RVA: 0x005FFBD4 File Offset: 0x005FDDD4
|
|
// (set) Token: 0x060157B6 RID: 87990 RVA: 0x005FA2A0 File Offset: 0x005F84A0
|
|
public bool GJLECMFKAJD
|
|
{
|
|
get
|
|
{
|
|
return this.NFJGPCDPGDH;
|
|
}
|
|
private set
|
|
{
|
|
this.NFJGPCDPGDH = value;
|
|
if (this.NFJGPCDPGDH)
|
|
{
|
|
this.DMAHDFACBJD = Time.time;
|
|
this.NFMBOBOMJFG = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x170008BC RID: 2236
|
|
// (get) Token: 0x060157B7 RID: 87991 RVA: 0x005FA2C8 File Offset: 0x005F84C8
|
|
// (set) Token: 0x06015856 RID: 88150 RVA: 0x005FE348 File Offset: 0x005FC548
|
|
public float MBDMMGOLDEJ { get; private set; }
|
|
|
|
// Token: 0x060157B8 RID: 87992 RVA: 0x005FA2D0 File Offset: 0x005F84D0
|
|
private void PHLJDIHNGIE()
|
|
{
|
|
if (this.HJNLIIKJJFO)
|
|
{
|
|
PNLCMOFOFOH.OOPOGLBNJPF oopoglbnjpf = PNLCMOFOFOH.JJCJBDFMHKE((int)this.MOBGJJOIPJM);
|
|
if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.Standard)
|
|
{
|
|
this.LGNDIFCKNOH = oopoglbnjpf.MEKBNCPJJCB(this.steamVrOculus.MenuButton);
|
|
this.CLCPKPELOLB = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.MenuButton);
|
|
this.EAEKKFOJPKF = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.MenuButton);
|
|
this.MMJBNDBKBMF = oopoglbnjpf.DABAPJKGBMP(this.steamVrOculus.TeleportButton);
|
|
this.OOLDFEGABAN = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.TeleportButton);
|
|
this.ENFOGDFMIJK = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.TeleportButton);
|
|
this.GJEEEAELEJD = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.RotateAxis);
|
|
this.DHCDBGMFLEI(this.GJEEEAELEJD.sqrMagnitude <= this.steamVrOculus.RotateAxisDeadzone * this.steamVrOculus.RotateAxisDeadzone);
|
|
this.steamVrOculus.RotateAxisPressButtons.DLBPEOILIFL(this.GJEEEAELEJD, this.LICGINDNKGI, false);
|
|
this.COFADFLICAN = this.steamVrOculus.RotateAxisPressButtons.POHOMIGBKEB((AxisButtons.AEHIHNMNDDE)6);
|
|
this.KAJAIMHHEKP = this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.RIGHT);
|
|
this.DOGCADLOIIA = this.steamVrOculus.RotateAxisPressButtons.BGFCJCANGBJ((AxisButtons.AEHIHNMNDDE)5);
|
|
this.BLMOMODOGAD = this.steamVrOculus.RotateAxisPressButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.NONE);
|
|
this.BLIKPBGOADK(this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.LEFT));
|
|
this.KDIOGBLJEDG = this.steamVrOculus.RotateAxisPressButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.NONE);
|
|
this.LJAFOMJBCGD(this.steamVrOculus.RotateAxisPressButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.LEFT));
|
|
this.IEJNOFPIMMO = this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.DOWN);
|
|
this.OLIFEBJOKEM(this.steamVrOculus.RotateAxisPressButtons.BGFCJCANGBJ((AxisButtons.AEHIHNMNDDE)8));
|
|
this.AMNICMMDJJO = oopoglbnjpf.MEKBNCPJJCB(this.steamVrOculus.PushToTalkButton);
|
|
this.KJKMFBBMBBB = oopoglbnjpf.JNDCEFDBOII(this.steamVrOculus.PushToTalkButton);
|
|
this.GJKHLGFBHBN(oopoglbnjpf.LKEIGBCNOEN(this.steamVrOculus.PushToTalkButton));
|
|
this.NIALLPKOEME = oopoglbnjpf.MLGHJGJJKPA(this.steamVrOculus.FlyModeModifierButton);
|
|
this.EJJHJBADGMH = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.FlyModeModifierButton);
|
|
this.OKBPKMLODNH(oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.FlyModeModifierButton));
|
|
this.MDGFEPNJFJK = 325f;
|
|
this.BHEFNPMIIAK = true;
|
|
this.PCCMGNFNICA(false);
|
|
this.CKIMNLICEIC = true;
|
|
LKMJJEMLLKJ[] pickupButtons = this.steamVrOculus.PickupButtons;
|
|
for (int i = 1; i < pickupButtons.Length; i += 0)
|
|
{
|
|
LKMJJEMLLKJ lkmjjemllkj = pickupButtons[i];
|
|
this.MDGFEPNJFJK = Mathf.Max(this.MDGFEPNJFJK, oopoglbnjpf.FANNODKOJJI(lkmjjemllkj).x);
|
|
this.BHEFNPMIIAK = this.DDNOONHCAOL() | oopoglbnjpf.JIOEPFGMFNN(lkmjjemllkj);
|
|
this.PCCMGNFNICA(this.DGBAAJDGNBN | oopoglbnjpf.JNDCEFDBOII(lkmjjemllkj));
|
|
this.CKIMNLICEIC |= oopoglbnjpf.LKEIGBCNOEN(lkmjjemllkj);
|
|
}
|
|
this.HOIHCLJDHJB = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.TriggerButton).x;
|
|
this.LLNHNIOEHLN = oopoglbnjpf.DABAPJKGBMP(this.steamVrOculus.TriggerButton);
|
|
this.COLKEOIGHEO(oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.TriggerButton));
|
|
this.PJBPELKHEPF = oopoglbnjpf.LKEIGBCNOEN(this.steamVrOculus.TriggerButton);
|
|
}
|
|
else if (this.KPJDJLBGAOM() == ControllerIO.KJJKAFNOLLL.Standard)
|
|
{
|
|
this.MBIDCPPKKHE = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.TriggerButton);
|
|
this.NFBPPEPPJPB = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.MenuButton);
|
|
this.KJJJFBNCBEI(oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.TeleportButton));
|
|
this.FIIPPMJEKNN = this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.NONE);
|
|
}
|
|
else if (this.HANFGNDDNAM == (ControllerIO.KJJKAFNOLLL)5)
|
|
{
|
|
this.MMJBNDBKBMF = true;
|
|
this.OOLDFEGABAN = true;
|
|
this.ENFOGDFMIJK = false;
|
|
this.AMNICMMDJJO = true;
|
|
this.KJKMFBBMBBB = false;
|
|
this.OPKBOGHIPJP(false);
|
|
this.NIALLPKOEME = true;
|
|
this.EJJHJBADGMH = false;
|
|
this.EELFHCNCAHG = true;
|
|
this.GJEEEAELEJD = Vector2.zero;
|
|
this.LICGINDNKGI = true;
|
|
this.COFADFLICAN = true;
|
|
this.KAJAIMHHEKP = true;
|
|
this.DOGCADLOIIA = false;
|
|
this.DFPJEDPJHDC(true);
|
|
this.BNFMHJIPADB = true;
|
|
this.KDIOGBLJEDG = true;
|
|
this.LJAFOMJBCGD(false);
|
|
this.IEJNOFPIMMO = true;
|
|
this.OLIFEBJOKEM(true);
|
|
this.MDGFEPNJFJK = 567f;
|
|
this.BHEFNPMIIAK = true;
|
|
this.DGBAAJDGNBN = true;
|
|
this.CKIMNLICEIC = false;
|
|
this.HOIHCLJDHJB = 1572f;
|
|
this.LLNHNIOEHLN = false;
|
|
this.MBIDCPPKKHE = false;
|
|
this.IPJIHJJIAGA(true);
|
|
this.MBDMMGOLDEJ = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.TriggerButton).x;
|
|
this.FPDDIJPJLJN = oopoglbnjpf.JIOEPFGMFNN(this.steamVrOculus.TriggerButton);
|
|
this.GCMFEIGLBID = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.TriggerButton);
|
|
this.AGBIGKAFIOK(oopoglbnjpf.LKEIGBCNOEN(this.steamVrOculus.TriggerButton));
|
|
this.MHDDNLIGBGA = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.RotateAxis);
|
|
this.LGNDIFCKNOH = oopoglbnjpf.MLGHJGJJKPA(this.steamVrOculus.MenuButton);
|
|
this.CLCPKPELOLB = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.MenuButton);
|
|
this.EAEKKFOJPKF = oopoglbnjpf.LKEIGBCNOEN(this.steamVrOculus.MenuButton);
|
|
this.IJBEGOMDFHM = oopoglbnjpf.MEKBNCPJJCB(this.steamVrOculus.FlyModeModifierButton);
|
|
this.NLEHDGDGJLF = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.FlyModeModifierButton);
|
|
this.HKGCLPEAKME = oopoglbnjpf.LKEIGBCNOEN(this.steamVrOculus.FlyModeModifierButton);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060157B9 RID: 87993 RVA: 0x005FA8A8 File Offset: 0x005F8AA8
|
|
public bool PDCMOPONINJ()
|
|
{
|
|
return this.<BPKKLHHBFIL>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060157BA RID: 87994 RVA: 0x005FA8B0 File Offset: 0x005F8AB0
|
|
private void NIJKGAJKHIB(OCINCFKMHBE[] HKPLFKDPJFA)
|
|
{
|
|
JLNMMEFJJMO jlnmmefjjmo = ((this.hand != ControllerIO.HMMEBFHABKA.LeftHand) ? JLNMMEFJJMO.Invalid : JLNMMEFJJMO.Invalid);
|
|
PPICLAHFMDO ppiclahfmdo = PONCCGLALMO.HAHBGCNKGAD();
|
|
this.MOBGJJOIPJM = ((ppiclahfmdo == null) ? uint.MaxValue : ppiclahfmdo.MDDONDMILOM(jlnmmefjjmo));
|
|
if ((ulong)this.MOBGJJOIPJM >= (ulong)((long)HKPLFKDPJFA.Length))
|
|
{
|
|
this.HJNLIIKJJFO = true;
|
|
this.NDPGGDEPEJG = true;
|
|
}
|
|
else
|
|
{
|
|
this.HJNLIIKJJFO = HKPLFKDPJFA[(int)((UIntPtr)this.MOBGJJOIPJM)].LACBPHNDLNP;
|
|
this.NDPGGDEPEJG = HKPLFKDPJFA[(int)((UIntPtr)this.MOBGJJOIPJM)].MLFHGDKPAAF;
|
|
if (this.HJNLIIKJJFO)
|
|
{
|
|
GGJHKKJMNKB.RigidTransform rigidTransform = new GGJHKKJMNKB.RigidTransform(HKPLFKDPJFA[(int)((UIntPtr)this.MOBGJJOIPJM)].LHKCGGLDEGJ);
|
|
this.CIFEOIFFFBB.localPosition = rigidTransform.pos;
|
|
this.CIFEOIFFFBB.localRotation = rigidTransform.rot;
|
|
PNLCMOFOFOH.OOPOGLBNJPF oopoglbnjpf = PNLCMOFOFOH.KHOLKDHABII((int)this.MOBGJJOIPJM);
|
|
this.MDCGLMNPFJJ(this.CIFEOIFFFBB.parent.TransformVector(oopoglbnjpf.IGOFELJMFOF) * this.OLOPMGMHJOC);
|
|
this.MOBLIEGOIDK = this.CIFEOIFFFBB.parent.TransformVector(oopoglbnjpf.CCHAEPGJJLI) * this.FECCIHAKCPI;
|
|
if (this.FKIMIOHBKML != null)
|
|
{
|
|
this.FKIMIOHBKML();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000890 RID: 2192
|
|
// (get) Token: 0x060157BB RID: 87995 RVA: 0x005FA9FC File Offset: 0x005F8BFC
|
|
// (set) Token: 0x06015882 RID: 88194 RVA: 0x005FE894 File Offset: 0x005FCA94
|
|
public bool EDAGMAALHMB { get; private set; }
|
|
|
|
// Token: 0x060157BC RID: 87996 RVA: 0x005FAA04 File Offset: 0x005F8C04
|
|
public bool CMELLACEHCP()
|
|
{
|
|
return this.<MKILGDCAADO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008A5 RID: 2213
|
|
// (get) Token: 0x060157BD RID: 87997 RVA: 0x005FAA0C File Offset: 0x005F8C0C
|
|
// (set) Token: 0x06015802 RID: 88066 RVA: 0x005FD334 File Offset: 0x005FB534
|
|
public bool CKIMNLICEIC { get; private set; }
|
|
|
|
// Token: 0x17000880 RID: 2176
|
|
// (get) Token: 0x060158B8 RID: 88248 RVA: 0x005FF918 File Offset: 0x005FDB18
|
|
// (set) Token: 0x060157BE RID: 87998 RVA: 0x005FAA14 File Offset: 0x005F8C14
|
|
public Vector3 EFEKGINOBLK { get; private set; }
|
|
|
|
// Token: 0x060157BF RID: 87999 RVA: 0x005FAA20 File Offset: 0x005F8C20
|
|
private void CJAHNDDKCPC()
|
|
{
|
|
if ((ControllerIO.AOCAKBPHKEN() == (ControllerIO.DNOKPKDGGKB)8 || ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.SteamVR_Vive) && this.JLOIJPLGPBH != null)
|
|
{
|
|
this.JLOIJPLGPBH.KELIMOCDMOD = false;
|
|
this.JLOIJPLGPBH = null;
|
|
}
|
|
else if (ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.Debug)
|
|
{
|
|
OVRManager.IDBNGMOMKGK -= this.ADAIIMJFDGN;
|
|
}
|
|
else if (ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN)
|
|
{
|
|
this.FEBOGIEKGPL.PMMLPMJDEJP(new Action(this.JODMHOGHFIG));
|
|
}
|
|
else if (ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.PS4_Move)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700088A RID: 2186
|
|
// (get) Token: 0x0601585D RID: 88157 RVA: 0x005FE394 File Offset: 0x005FC594
|
|
// (set) Token: 0x060157C0 RID: 88000 RVA: 0x005FAABC File Offset: 0x005F8CBC
|
|
public bool EAEKKFOJPKF { get; private set; }
|
|
|
|
// Token: 0x060157C1 RID: 88001 RVA: 0x005FAAC8 File Offset: 0x005F8CC8
|
|
public bool HKKINJOCLKO()
|
|
{
|
|
return this.<INGPOIBBDJB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x1700087E RID: 2174
|
|
// (get) Token: 0x060157C2 RID: 88002 RVA: 0x005FAAD0 File Offset: 0x005F8CD0
|
|
// (set) Token: 0x06015863 RID: 88163 RVA: 0x005FE45C File Offset: 0x005FC65C
|
|
public float PJMHBEICEDH
|
|
{
|
|
get
|
|
{
|
|
return this.FECCIHAKCPI;
|
|
}
|
|
set
|
|
{
|
|
this.FECCIHAKCPI = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000881 RID: 2177
|
|
// (get) Token: 0x060157C3 RID: 88003 RVA: 0x005FAAD8 File Offset: 0x005F8CD8
|
|
// (set) Token: 0x0601585B RID: 88155 RVA: 0x005FE380 File Offset: 0x005FC580
|
|
public Vector3 MOBLIEGOIDK { get; private set; }
|
|
|
|
// Token: 0x060157C4 RID: 88004 RVA: 0x005FAAE0 File Offset: 0x005F8CE0
|
|
private void GJKHLGFBHBN(bool NOBAPCOKFIL)
|
|
{
|
|
this.<GCIJDICIPOE>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x170008C2 RID: 2242
|
|
// (get) Token: 0x06015845 RID: 88133 RVA: 0x005FE1A8 File Offset: 0x005FC3A8
|
|
// (set) Token: 0x060157C5 RID: 88005 RVA: 0x005FAAEC File Offset: 0x005F8CEC
|
|
public bool HKGCLPEAKME { get; private set; }
|
|
|
|
// Token: 0x1700089C RID: 2204
|
|
// (get) Token: 0x06015897 RID: 88215 RVA: 0x005FF550 File Offset: 0x005FD750
|
|
// (set) Token: 0x060157C6 RID: 88006 RVA: 0x005FAAF8 File Offset: 0x005F8CF8
|
|
public bool BLMOMODOGAD { get; private set; }
|
|
|
|
// Token: 0x060157C7 RID: 88007 RVA: 0x005FAB04 File Offset: 0x005F8D04
|
|
private void ACBKDDJHDOP(float NOBAPCOKFIL)
|
|
{
|
|
this.<JLPKLDCCPMD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x170008B3 RID: 2227
|
|
// (get) Token: 0x060158DB RID: 88283 RVA: 0x005FFB64 File Offset: 0x005FDD64
|
|
// (set) Token: 0x060157C8 RID: 88008 RVA: 0x005FAB10 File Offset: 0x005F8D10
|
|
public bool JAFBHCPCJFH { get; set; }
|
|
|
|
// Token: 0x17000894 RID: 2196
|
|
// (get) Token: 0x06015899 RID: 88217 RVA: 0x005FF560 File Offset: 0x005FD760
|
|
// (set) Token: 0x060157C9 RID: 88009 RVA: 0x005FAB1C File Offset: 0x005F8D1C
|
|
public bool NIALLPKOEME { get; private set; }
|
|
|
|
// Token: 0x17000889 RID: 2185
|
|
// (get) Token: 0x060157CA RID: 88010 RVA: 0x005FAB28 File Offset: 0x005F8D28
|
|
// (set) Token: 0x06015823 RID: 88099 RVA: 0x005FDCA8 File Offset: 0x005FBEA8
|
|
public bool CLCPKPELOLB { get; private set; }
|
|
|
|
// Token: 0x170008B6 RID: 2230
|
|
// (get) Token: 0x06015827 RID: 88103 RVA: 0x005FDD24 File Offset: 0x005FBF24
|
|
// (set) Token: 0x060157CB RID: 88011 RVA: 0x005FAB30 File Offset: 0x005F8D30
|
|
public bool JMFABNJFCIG
|
|
{
|
|
get
|
|
{
|
|
return this.HIIJOCABPKF && !this.JAFBHCPCJFH;
|
|
}
|
|
private set
|
|
{
|
|
this.HIIJOCABPKF = value;
|
|
if (this.HIIJOCABPKF)
|
|
{
|
|
this.ECJCPCAILJD = Time.time;
|
|
this.JAFBHCPCJFH = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060157CC RID: 88012 RVA: 0x005FAB58 File Offset: 0x005F8D58
|
|
private void EMEIBLBBPCM()
|
|
{
|
|
MMFHKCELIGG mmfhkceligg;
|
|
switch (ControllerIO.OLCOCPIALFA)
|
|
{
|
|
case ControllerIO.DNOKPKDGGKB.Debug:
|
|
mmfhkceligg = MMFHKCELIGG.DHNANJAOMFK;
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
|
|
mmfhkceligg = MMFHKCELIGG.FEBIAHIFFKN;
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
|
|
mmfhkceligg = MMFHKCELIGG.HNFBPFCPOIJ;
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.Oculus:
|
|
mmfhkceligg = MMFHKCELIGG.PGFBFCOLFCM;
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.PS4_Move:
|
|
mmfhkceligg = MMFHKCELIGG.JPBGJACDIMO;
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
|
|
mmfhkceligg = MMFHKCELIGG.JCLJDAHLKNM;
|
|
break;
|
|
default:
|
|
global::UnityEngine.Debug.LogErrorFormat("ControllerIO - Unhandled InputMode: {0}", new object[] { ControllerIO.OLCOCPIALFA });
|
|
mmfhkceligg = MMFHKCELIGG.FEBIAHIFFKN;
|
|
break;
|
|
}
|
|
this.NDLLEDPMPNF = mmfhkceligg.NDLLEDPMPNF;
|
|
this.PJMHBEICEDH = mmfhkceligg.PJMHBEICEDH;
|
|
this.HBGKIHLMANG = mmfhkceligg.HBGKIHLMANG;
|
|
this.EPJFCIJEGGL = mmfhkceligg.EPJFCIJEGGL;
|
|
this.BMEPKKILAEH = mmfhkceligg.BMEPKKILAEH;
|
|
this.ICDGDLBGGGB = mmfhkceligg.ICDGDLBGGGB;
|
|
this.MAEDNALEGIO = mmfhkceligg.MAEDNALEGIO;
|
|
this.LGPNIIKKMFN = mmfhkceligg.LGPNIIKKMFN;
|
|
}
|
|
|
|
// Token: 0x060157CD RID: 88013 RVA: 0x005FAC58 File Offset: 0x005F8E58
|
|
public bool GJEONHKPDKH()
|
|
{
|
|
return this.<BPKKLHHBFIL>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008AA RID: 2218
|
|
// (get) Token: 0x06015889 RID: 88201 RVA: 0x005FE8F8 File Offset: 0x005FCAF8
|
|
// (set) Token: 0x060157CE RID: 88014 RVA: 0x005FAC60 File Offset: 0x005F8E60
|
|
public bool NFBPPEPPJPB { get; private set; }
|
|
|
|
// Token: 0x17000893 RID: 2195
|
|
// (get) Token: 0x060157CF RID: 88015 RVA: 0x005FAC6C File Offset: 0x005F8E6C
|
|
public bool PCKCNGHGCJB
|
|
{
|
|
get
|
|
{
|
|
return this.JMFABNJFCIG;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170008C4 RID: 2244
|
|
// (get) Token: 0x060158D5 RID: 88277 RVA: 0x005FFB34 File Offset: 0x005FDD34
|
|
// (set) Token: 0x060157D0 RID: 88016 RVA: 0x005FAC74 File Offset: 0x005F8E74
|
|
public bool PMHDIHMBHMO { get; private set; }
|
|
|
|
// Token: 0x060157D1 RID: 88017 RVA: 0x005FAC80 File Offset: 0x005F8E80
|
|
public bool MOLILFJKNOM()
|
|
{
|
|
return this.HKBAIJMLCGO && !this.IOJFMGCEJEN;
|
|
}
|
|
|
|
// Token: 0x170008CE RID: 2254
|
|
// (get) Token: 0x060157D2 RID: 88018 RVA: 0x005FAC9C File Offset: 0x005F8E9C
|
|
public static ControllerIO.DNOKPKDGGKB OLCOCPIALFA
|
|
{
|
|
get
|
|
{
|
|
if (SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM != null && SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM.LOLPFEFLKJN == PlatformManager.JNJEBIDGBNH.OCULUS)
|
|
{
|
|
return ControllerIO.DNOKPKDGGKB.Oculus;
|
|
}
|
|
if (SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM != null && SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM.CAPNFDEMGEC == PlatformManager.NEDLHEIPFJO.OCULUS)
|
|
{
|
|
return ControllerIO.DNOKPKDGGKB.SteamVR_Oculus;
|
|
}
|
|
if (SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM != null && SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM.CAPNFDEMGEC == PlatformManager.NEDLHEIPFJO.PSVR)
|
|
{
|
|
return ControllerIO.DNOKPKDGGKB.PS4_Move;
|
|
}
|
|
if (SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM != null && SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM.CAPNFDEMGEC == PlatformManager.NEDLHEIPFJO.MICROSOFT_VR)
|
|
{
|
|
return ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN;
|
|
}
|
|
return ControllerIO.DNOKPKDGGKB.SteamVR_Vive;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060157D3 RID: 88019 RVA: 0x005FAD34 File Offset: 0x005F8F34
|
|
private void BJJADJPIAFD()
|
|
{
|
|
if (this.HJNLIIKJJFO)
|
|
{
|
|
PNLCMOFOFOH.OOPOGLBNJPF oopoglbnjpf = PNLCMOFOFOH.KHOLKDHABII((int)this.MOBGJJOIPJM);
|
|
if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.Standard)
|
|
{
|
|
this.LGNDIFCKNOH = oopoglbnjpf.MLGHJGJJKPA(this.steamVrVive.MenuButton);
|
|
this.CLCPKPELOLB = oopoglbnjpf.BPGCEKAALJG(this.steamVrVive.MenuButton);
|
|
this.EAEKKFOJPKF = oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.MenuButton);
|
|
bool flag = oopoglbnjpf.FOBCMPMOEFF(this.steamVrVive.RotateAxis);
|
|
bool flag2 = oopoglbnjpf.CDGBMGEFAGP(this.steamVrVive.RotateAxis);
|
|
bool flag3 = oopoglbnjpf.CCFJCPCMHND(this.steamVrVive.RotateAxis);
|
|
bool flag4 = oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.RotateAxis);
|
|
bool flag5 = oopoglbnjpf.BPGCEKAALJG(this.steamVrVive.RotateAxis);
|
|
this.GJEEEAELEJD = oopoglbnjpf.FANNODKOJJI(this.steamVrVive.RotateAxis);
|
|
this.LICGINDNKGI = this.GJEEEAELEJD.sqrMagnitude <= this.steamVrVive.RotateAxisDeadzone * this.steamVrVive.RotateAxisDeadzone;
|
|
if (this.TouchpadTeleportEnabled)
|
|
{
|
|
this.MMJBNDBKBMF = flag3;
|
|
this.OOLDFEGABAN = flag2;
|
|
this.ENFOGDFMIJK = flag;
|
|
if (this.OOLDFEGABAN)
|
|
{
|
|
this.BMGEEHCLCKD = this.LICGINDNKGI;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.MMJBNDBKBMF = oopoglbnjpf.MLGHJGJJKPA(this.steamVrVive.TeleportButton);
|
|
this.OOLDFEGABAN = oopoglbnjpf.BPGCEKAALJG(this.steamVrVive.TeleportButton);
|
|
this.ENFOGDFMIJK = oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.TeleportButton);
|
|
this.BMGEEHCLCKD = false;
|
|
}
|
|
bool flag6 = !flag && (flag2 || flag3);
|
|
bool flag7 = (flag4 || (!flag5 && !flag5)) && !this.BMGEEHCLCKD;
|
|
this.CBJBOALBOHF = this.steamVrVive.RotateAxisSwipeButtons.SwipeState;
|
|
this.steamVrVive.RotateAxisSwipeButtons.DLBPEOILIFL(this.GJEEEAELEJD, flag6, flag7);
|
|
this.GICPHANDCGB = this.steamVrVive.RotateAxisSwipeButtons.SwipeState;
|
|
if (this.TouchpadTeleportEnabled)
|
|
{
|
|
if (flag6 && this.GICPHANDCGB != AxisSwipeButtons.CEBICDNDAOJ.Touch && this.GICPHANDCGB != AxisSwipeButtons.CEBICDNDAOJ.None)
|
|
{
|
|
this.OOLDFEGABAN = false;
|
|
this.MMJBNDBKBMF = false;
|
|
this.ENFOGDFMIJK = true;
|
|
}
|
|
else if (this.CBJBOALBOHF != this.GICPHANDCGB)
|
|
{
|
|
if (this.GICPHANDCGB == AxisSwipeButtons.CEBICDNDAOJ.Touch)
|
|
{
|
|
this.OOLDFEGABAN = true;
|
|
this.MMJBNDBKBMF = true;
|
|
this.ENFOGDFMIJK = false;
|
|
}
|
|
else if (this.CBJBOALBOHF == AxisSwipeButtons.CEBICDNDAOJ.Touch && this.GICPHANDCGB == AxisSwipeButtons.CEBICDNDAOJ.None)
|
|
{
|
|
this.OOLDFEGABAN = false;
|
|
this.MMJBNDBKBMF = false;
|
|
this.ENFOGDFMIJK = true;
|
|
}
|
|
}
|
|
}
|
|
this.COFADFLICAN = this.steamVrVive.RotateAxisSwipeButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.RIGHT);
|
|
this.KAJAIMHHEKP = this.steamVrVive.RotateAxisSwipeButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.RIGHT);
|
|
this.DOGCADLOIIA = this.steamVrVive.RotateAxisSwipeButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.RIGHT);
|
|
this.BLMOMODOGAD = this.steamVrVive.RotateAxisSwipeButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.BNFMHJIPADB = this.steamVrVive.RotateAxisSwipeButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.KDIOGBLJEDG = this.steamVrVive.RotateAxisSwipeButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.IDEKOAOMPGJ = this.steamVrVive.RotateAxisSwipeButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.DOWN);
|
|
this.IEJNOFPIMMO = this.steamVrVive.RotateAxisSwipeButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.DOWN);
|
|
this.JIOMONEKLPP = this.steamVrVive.RotateAxisSwipeButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.DOWN);
|
|
this.AMNICMMDJJO = oopoglbnjpf.MLGHJGJJKPA(this.steamVrVive.PushToTalkButton);
|
|
this.KJKMFBBMBBB = oopoglbnjpf.BPGCEKAALJG(this.steamVrVive.PushToTalkButton);
|
|
this.EDAGMAALHMB = oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.PushToTalkButton);
|
|
this.NIALLPKOEME = oopoglbnjpf.MLGHJGJJKPA(this.steamVrVive.FlyModeModifierButton);
|
|
this.EJJHJBADGMH = oopoglbnjpf.BPGCEKAALJG(this.steamVrVive.FlyModeModifierButton);
|
|
this.EELFHCNCAHG = oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.FlyModeModifierButton);
|
|
this.MDGFEPNJFJK = 0f;
|
|
this.BHEFNPMIIAK = false;
|
|
this.DGBAAJDGNBN = false;
|
|
this.CKIMNLICEIC = false;
|
|
foreach (LKMJJEMLLKJ lkmjjemllkj in this.steamVrVive.PickupButtons)
|
|
{
|
|
this.MDGFEPNJFJK = Mathf.Max(this.MDGFEPNJFJK, oopoglbnjpf.FANNODKOJJI(lkmjjemllkj).x);
|
|
this.BHEFNPMIIAK |= oopoglbnjpf.MLGHJGJJKPA(lkmjjemllkj);
|
|
this.DGBAAJDGNBN |= oopoglbnjpf.BPGCEKAALJG(lkmjjemllkj);
|
|
this.CKIMNLICEIC |= oopoglbnjpf.HFAJJCCICPB(lkmjjemllkj);
|
|
}
|
|
this.HOIHCLJDHJB = oopoglbnjpf.FANNODKOJJI(this.steamVrVive.TriggerButton).x;
|
|
this.LLNHNIOEHLN = oopoglbnjpf.MLGHJGJJKPA(this.steamVrVive.TriggerButton);
|
|
this.MBIDCPPKKHE = oopoglbnjpf.BPGCEKAALJG(this.steamVrVive.TriggerButton);
|
|
this.PJBPELKHEPF = oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.TriggerButton);
|
|
}
|
|
else if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.Calibration)
|
|
{
|
|
this.MBIDCPPKKHE = oopoglbnjpf.BPGCEKAALJG(this.steamVrVive.TriggerButton);
|
|
this.NFBPPEPPJPB = this.steamVrVive.RotateAxisSwipeButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.UP);
|
|
this.GNOJOKAOOKP = this.steamVrVive.RotateAxisSwipeButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.DOWN);
|
|
this.FIIPPMJEKNN = this.steamVrVive.RotateAxisSwipeButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
}
|
|
else if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.RemoteControl)
|
|
{
|
|
this.MMJBNDBKBMF = false;
|
|
this.OOLDFEGABAN = false;
|
|
this.ENFOGDFMIJK = false;
|
|
this.AMNICMMDJJO = false;
|
|
this.KJKMFBBMBBB = false;
|
|
this.EDAGMAALHMB = false;
|
|
this.NIALLPKOEME = false;
|
|
this.EJJHJBADGMH = false;
|
|
this.EELFHCNCAHG = false;
|
|
this.GJEEEAELEJD = Vector2.zero;
|
|
this.LICGINDNKGI = true;
|
|
this.COFADFLICAN = false;
|
|
this.KAJAIMHHEKP = false;
|
|
this.DOGCADLOIIA = false;
|
|
this.BLMOMODOGAD = false;
|
|
this.BNFMHJIPADB = false;
|
|
this.KDIOGBLJEDG = false;
|
|
this.IDEKOAOMPGJ = false;
|
|
this.IEJNOFPIMMO = false;
|
|
this.JIOMONEKLPP = false;
|
|
this.MDGFEPNJFJK = 0f;
|
|
this.BHEFNPMIIAK = false;
|
|
this.DGBAAJDGNBN = false;
|
|
this.CKIMNLICEIC = false;
|
|
this.HOIHCLJDHJB = 0f;
|
|
this.LLNHNIOEHLN = false;
|
|
this.MBIDCPPKKHE = false;
|
|
this.PJBPELKHEPF = false;
|
|
this.MBDMMGOLDEJ = oopoglbnjpf.FANNODKOJJI(this.steamVrVive.TriggerButton).x;
|
|
this.FPDDIJPJLJN = oopoglbnjpf.MLGHJGJJKPA(this.steamVrVive.TriggerButton);
|
|
this.GCMFEIGLBID = oopoglbnjpf.BPGCEKAALJG(this.steamVrVive.TriggerButton);
|
|
this.OFDOOHOIGJO = oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.TriggerButton);
|
|
this.MHDDNLIGBGA = oopoglbnjpf.FANNODKOJJI(this.steamVrVive.TeleportButton);
|
|
this.LGNDIFCKNOH = oopoglbnjpf.MLGHJGJJKPA(this.steamVrVive.MenuButton);
|
|
this.CLCPKPELOLB = oopoglbnjpf.BPGCEKAALJG(this.steamVrVive.MenuButton);
|
|
this.EAEKKFOJPKF = oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.MenuButton);
|
|
this.IJBEGOMDFHM = oopoglbnjpf.MLGHJGJJKPA(this.steamVrVive.PushToTalkButton);
|
|
this.NLEHDGDGJLF = oopoglbnjpf.BPGCEKAALJG(this.steamVrVive.PushToTalkButton);
|
|
this.HKGCLPEAKME = oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.PushToTalkButton);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060157D4 RID: 88020 RVA: 0x005FB4C4 File Offset: 0x005F96C4
|
|
private void LJAFOMJBCGD(bool NOBAPCOKFIL)
|
|
{
|
|
this.<AJPCCDOAPOB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060157D5 RID: 88021 RVA: 0x005FB4D0 File Offset: 0x005F96D0
|
|
private void AMAPHMNIDFP(bool NOBAPCOKFIL)
|
|
{
|
|
this.EEEOAOOPDFO = NOBAPCOKFIL;
|
|
if (this.EEEOAOOPDFO)
|
|
{
|
|
this.LFDLPIJGLDC = Time.time;
|
|
this.KFGEOMPOOLM = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060157D6 RID: 88022 RVA: 0x005FB4F8 File Offset: 0x005F96F8
|
|
public bool ONFDEHIKONO()
|
|
{
|
|
return this.<MCBKOJKBFFB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060157D7 RID: 88023 RVA: 0x005FB500 File Offset: 0x005F9700
|
|
private void OKBPKMLODNH(bool NOBAPCOKFIL)
|
|
{
|
|
this.<OJLDIFGNJGO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060157D8 RID: 88024 RVA: 0x005FB50C File Offset: 0x005F970C
|
|
public void IDDNHHGCDMO(bool NOBAPCOKFIL)
|
|
{
|
|
this.<MNMKJNCMPPB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060157D9 RID: 88025 RVA: 0x005FB518 File Offset: 0x005F9718
|
|
public ControllerIO.KJJKAFNOLLL KPJDJLBGAOM()
|
|
{
|
|
return this.<PLCKPHODNND>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060157DA RID: 88026 RVA: 0x005FB520 File Offset: 0x005F9720
|
|
private void LMAGOHCBOGK()
|
|
{
|
|
this.NDPGGDEPEJG = true;
|
|
this.HJNLIIKJJFO = true;
|
|
if (Camera.main == null)
|
|
{
|
|
return;
|
|
}
|
|
this.CIFEOIFFFBB.localPosition = Camera.main.transform.localPosition;
|
|
this.CIFEOIFFFBB.rotation = Camera.main.transform.rotation;
|
|
float num = Time.time - this.ODEGFFGLLIO;
|
|
if (num > 0f)
|
|
{
|
|
this.EFEKGINOBLK = (this.CIFEOIFFFBB.position - this.CFKBOJICIHI) / num * this.OLOPMGMHJOC;
|
|
this.MOBLIEGOIDK = NNGFEGAEJPG.PGPNGNDCJKL(this.KAMBILFJGIA, this.CIFEOIFFFBB.rotation) / num * this.OLOPMGMHJOC;
|
|
}
|
|
this.CFKBOJICIHI = this.CIFEOIFFFBB.position;
|
|
this.KAMBILFJGIA = this.CIFEOIFFFBB.rotation;
|
|
this.ODEGFFGLLIO = Time.time;
|
|
if (this.FKIMIOHBKML != null)
|
|
{
|
|
this.FKIMIOHBKML();
|
|
}
|
|
if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.Standard && !DebugConsoleUI.AGDHDGLLKNL)
|
|
{
|
|
this.LGNDIFCKNOH = Input.GetKey(this.debugInput.MenuKey);
|
|
this.CLCPKPELOLB = Input.GetKeyDown(this.debugInput.MenuKey);
|
|
this.EAEKKFOJPKF = Input.GetKeyUp(this.debugInput.MenuKey);
|
|
this.MMJBNDBKBMF = Input.GetKey(this.debugInput.TeleportKey);
|
|
this.OOLDFEGABAN = Input.GetKeyDown(this.debugInput.TeleportKey);
|
|
this.ENFOGDFMIJK = Input.GetKeyUp(this.debugInput.TeleportKey);
|
|
this.COFADFLICAN = Input.GetKey(this.debugInput.RotateRightKey);
|
|
this.KAJAIMHHEKP = Input.GetKeyDown(this.debugInput.RotateRightKey);
|
|
this.DOGCADLOIIA = Input.GetKeyUp(this.debugInput.RotateRightKey);
|
|
this.BLMOMODOGAD = Input.GetKey(this.debugInput.RotateLeftKey);
|
|
this.BNFMHJIPADB = Input.GetKeyDown(this.debugInput.RotateLeftKey);
|
|
this.KDIOGBLJEDG = Input.GetKeyUp(this.debugInput.RotateLeftKey);
|
|
this.IDEKOAOMPGJ = Input.GetKey(this.debugInput.RotateDownKey);
|
|
this.IEJNOFPIMMO = Input.GetKeyDown(this.debugInput.RotateDownKey);
|
|
this.JIOMONEKLPP = Input.GetKeyUp(this.debugInput.RotateDownKey);
|
|
this.AMNICMMDJJO = Input.GetKey(this.debugInput.PushToTalkKey);
|
|
this.KJKMFBBMBBB = Input.GetKeyDown(this.debugInput.PushToTalkKey);
|
|
this.EDAGMAALHMB = Input.GetKeyUp(this.debugInput.PushToTalkKey);
|
|
this.NIALLPKOEME = Input.GetKey(this.debugInput.FlyModeModifierButton);
|
|
this.EJJHJBADGMH = Input.GetKeyDown(this.debugInput.FlyModeModifierButton);
|
|
this.EELFHCNCAHG = Input.GetKeyUp(this.debugInput.FlyModeModifierButton);
|
|
if (this.GPCOBFJHICG)
|
|
{
|
|
this.MDGFEPNJFJK = 1f;
|
|
}
|
|
else
|
|
{
|
|
this.MDGFEPNJFJK = ((!Input.GetMouseButton(this.debugInput.PickupMouseButton)) ? 0f : 1f);
|
|
}
|
|
this.BHEFNPMIIAK = Input.GetMouseButton(this.debugInput.PickupMouseButton);
|
|
this.DGBAAJDGNBN = Input.GetMouseButtonDown(this.debugInput.PickupMouseButton);
|
|
this.CKIMNLICEIC = Input.GetMouseButtonUp(this.debugInput.PickupMouseButton);
|
|
if (Input.GetKeyUp(KeyCode.F))
|
|
{
|
|
this.GPCOBFJHICG = !this.GPCOBFJHICG;
|
|
}
|
|
this.HOIHCLJDHJB = ((!Input.GetMouseButton(this.debugInput.TriggerMouseButton)) ? 0f : 1f);
|
|
this.LLNHNIOEHLN = Input.GetMouseButton(this.debugInput.TriggerMouseButton);
|
|
this.MBIDCPPKKHE = Input.GetMouseButtonDown(this.debugInput.TriggerMouseButton);
|
|
this.PJBPELKHEPF = Input.GetMouseButtonUp(this.debugInput.TriggerMouseButton);
|
|
}
|
|
else if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.Calibration)
|
|
{
|
|
this.MBIDCPPKKHE = Input.GetMouseButtonDown(this.debugInput.TriggerMouseButton);
|
|
this.NFBPPEPPJPB = Input.GetKeyDown(this.debugInput.MenuKey);
|
|
this.GNOJOKAOOKP = Input.GetKeyDown(this.debugInput.RotateLeftKey);
|
|
this.FIIPPMJEKNN = Input.GetKeyDown(this.debugInput.RotateRightKey);
|
|
}
|
|
else if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.RemoteControl)
|
|
{
|
|
this.MBDMMGOLDEJ = ((!Input.GetMouseButton(this.debugInput.TriggerMouseButton)) ? 0f : 1f);
|
|
this.FPDDIJPJLJN = Input.GetMouseButton(this.debugInput.TriggerMouseButton);
|
|
this.GCMFEIGLBID = Input.GetMouseButtonDown(this.debugInput.TriggerMouseButton);
|
|
this.OFDOOHOIGJO = Input.GetMouseButtonUp(this.debugInput.TriggerMouseButton);
|
|
this.MHDDNLIGBGA = new Vector2((float)((!Input.GetKey(KeyCode.J)) ? ((!Input.GetKey(KeyCode.L)) ? 0 : 1) : (-1)), (float)((!Input.GetKey(KeyCode.K)) ? ((!Input.GetKey(KeyCode.I)) ? 0 : 1) : (-1)));
|
|
this.LGNDIFCKNOH = Input.GetKey(this.debugInput.MenuKey);
|
|
this.CLCPKPELOLB = Input.GetKeyDown(this.debugInput.MenuKey);
|
|
this.EAEKKFOJPKF = Input.GetKeyUp(this.debugInput.MenuKey);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060157DB RID: 88027 RVA: 0x005FBAA8 File Offset: 0x005F9CA8
|
|
private void BFPJMPHNKEE()
|
|
{
|
|
if (this.HJNLIIKJJFO)
|
|
{
|
|
PNLCMOFOFOH.OOPOGLBNJPF oopoglbnjpf = PNLCMOFOFOH.EDJFKBPBKAH((int)this.MOBGJJOIPJM);
|
|
if (this.KPJDJLBGAOM() == ControllerIO.KJJKAFNOLLL.Standard)
|
|
{
|
|
this.LGNDIFCKNOH = oopoglbnjpf.DABAPJKGBMP(this.steamVrVive.MenuButton);
|
|
this.CLCPKPELOLB = oopoglbnjpf.JNDCEFDBOII(this.steamVrVive.MenuButton);
|
|
this.EAEKKFOJPKF = oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.MenuButton);
|
|
bool flag = oopoglbnjpf.FOBCMPMOEFF(this.steamVrVive.RotateAxis);
|
|
bool flag2 = oopoglbnjpf.CDGBMGEFAGP(this.steamVrVive.RotateAxis);
|
|
bool flag3 = oopoglbnjpf.CCFJCPCMHND(this.steamVrVive.RotateAxis);
|
|
bool flag4 = oopoglbnjpf.LKEIGBCNOEN(this.steamVrVive.RotateAxis);
|
|
bool flag5 = oopoglbnjpf.BPGCEKAALJG(this.steamVrVive.RotateAxis);
|
|
this.GJEEEAELEJD = oopoglbnjpf.FANNODKOJJI(this.steamVrVive.RotateAxis);
|
|
this.DHCDBGMFLEI(this.GJEEEAELEJD.sqrMagnitude <= this.steamVrVive.RotateAxisDeadzone * this.steamVrVive.RotateAxisDeadzone);
|
|
if (this.TouchpadTeleportEnabled)
|
|
{
|
|
this.MMJBNDBKBMF = flag3;
|
|
this.OOLDFEGABAN = flag2;
|
|
this.ENFOGDFMIJK = flag;
|
|
if (this.ECCKKFGNEKN())
|
|
{
|
|
this.BMGEEHCLCKD = this.LICGINDNKGI;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
this.MMJBNDBKBMF = oopoglbnjpf.JIOEPFGMFNN(this.steamVrVive.TeleportButton);
|
|
this.OOLDFEGABAN = oopoglbnjpf.BPGCEKAALJG(this.steamVrVive.TeleportButton);
|
|
this.ENFOGDFMIJK = oopoglbnjpf.LKEIGBCNOEN(this.steamVrVive.TeleportButton);
|
|
this.BMGEEHCLCKD = false;
|
|
}
|
|
bool flag6 = !flag && (flag2 || flag3);
|
|
bool flag7 = (!flag4 && (flag5 || flag5)) || !this.BMGEEHCLCKD;
|
|
this.CBJBOALBOHF = this.steamVrVive.RotateAxisSwipeButtons.CACMIJAAPLO();
|
|
this.steamVrVive.RotateAxisSwipeButtons.DLBPEOILIFL(this.GJEEEAELEJD, flag6, flag7);
|
|
this.GICPHANDCGB = this.steamVrVive.RotateAxisSwipeButtons.FMAGAGDKAEF();
|
|
if (this.TouchpadTeleportEnabled)
|
|
{
|
|
if (flag6 && this.GICPHANDCGB != (AxisSwipeButtons.CEBICDNDAOJ)5 && this.GICPHANDCGB != AxisSwipeButtons.CEBICDNDAOJ.None)
|
|
{
|
|
this.OOLDFEGABAN = false;
|
|
this.MMJBNDBKBMF = true;
|
|
this.ENFOGDFMIJK = false;
|
|
}
|
|
else if (this.CBJBOALBOHF != this.GICPHANDCGB)
|
|
{
|
|
if (this.GICPHANDCGB == AxisSwipeButtons.CEBICDNDAOJ.SwipeComplete)
|
|
{
|
|
this.OOLDFEGABAN = false;
|
|
this.MMJBNDBKBMF = false;
|
|
this.ENFOGDFMIJK = true;
|
|
}
|
|
else if (this.CBJBOALBOHF == (AxisSwipeButtons.CEBICDNDAOJ)8 && this.GICPHANDCGB == AxisSwipeButtons.CEBICDNDAOJ.None)
|
|
{
|
|
this.OOLDFEGABAN = false;
|
|
this.MMJBNDBKBMF = true;
|
|
this.ENFOGDFMIJK = true;
|
|
}
|
|
}
|
|
}
|
|
this.COFADFLICAN = this.steamVrVive.RotateAxisSwipeButtons.POHOMIGBKEB((AxisButtons.AEHIHNMNDDE)8);
|
|
this.KAJAIMHHEKP = this.steamVrVive.RotateAxisSwipeButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.UP);
|
|
this.DOGCADLOIIA = this.steamVrVive.RotateAxisSwipeButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.NONE);
|
|
this.OIGCCNMMEPG(this.steamVrVive.RotateAxisSwipeButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.NONE));
|
|
this.BNFMHJIPADB = this.steamVrVive.RotateAxisSwipeButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.KDIOGBLJEDG = this.steamVrVive.RotateAxisSwipeButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.NONE);
|
|
this.IDEKOAOMPGJ = this.steamVrVive.RotateAxisSwipeButtons.POHOMIGBKEB((AxisButtons.AEHIHNMNDDE)5);
|
|
this.IEJNOFPIMMO = this.steamVrVive.RotateAxisSwipeButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.NONE);
|
|
this.OLIFEBJOKEM(this.steamVrVive.RotateAxisSwipeButtons.BGFCJCANGBJ((AxisButtons.AEHIHNMNDDE)6));
|
|
this.AMNICMMDJJO = oopoglbnjpf.JIOEPFGMFNN(this.steamVrVive.PushToTalkButton);
|
|
this.KJKMFBBMBBB = oopoglbnjpf.JNDCEFDBOII(this.steamVrVive.PushToTalkButton);
|
|
this.OPKBOGHIPJP(oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.PushToTalkButton));
|
|
this.NIALLPKOEME = oopoglbnjpf.JIOEPFGMFNN(this.steamVrVive.FlyModeModifierButton);
|
|
this.EJJHJBADGMH = oopoglbnjpf.BPGCEKAALJG(this.steamVrVive.FlyModeModifierButton);
|
|
this.OKBPKMLODNH(oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.FlyModeModifierButton));
|
|
this.MDGFEPNJFJK = 1785f;
|
|
this.BHEFNPMIIAK = true;
|
|
this.PCCMGNFNICA(true);
|
|
this.CKIMNLICEIC = true;
|
|
LKMJJEMLLKJ[] pickupButtons = this.steamVrVive.PickupButtons;
|
|
for (int i = 1; i < pickupButtons.Length; i += 0)
|
|
{
|
|
LKMJJEMLLKJ lkmjjemllkj = pickupButtons[i];
|
|
this.MDGFEPNJFJK = Mathf.Max(this.MDGFEPNJFJK, oopoglbnjpf.FANNODKOJJI(lkmjjemllkj).x);
|
|
this.BHEFNPMIIAK |= oopoglbnjpf.DABAPJKGBMP(lkmjjemllkj);
|
|
this.PCCMGNFNICA(this.DGBAAJDGNBN | oopoglbnjpf.BPGCEKAALJG(lkmjjemllkj));
|
|
this.CKIMNLICEIC |= oopoglbnjpf.LKEIGBCNOEN(lkmjjemllkj);
|
|
}
|
|
this.HOIHCLJDHJB = oopoglbnjpf.FANNODKOJJI(this.steamVrVive.TriggerButton).x;
|
|
this.LLNHNIOEHLN = oopoglbnjpf.MLGHJGJJKPA(this.steamVrVive.TriggerButton);
|
|
this.COLKEOIGHEO(oopoglbnjpf.JNDCEFDBOII(this.steamVrVive.TriggerButton));
|
|
this.PJBPELKHEPF = oopoglbnjpf.LKEIGBCNOEN(this.steamVrVive.TriggerButton);
|
|
}
|
|
else if (this.KPJDJLBGAOM() == ControllerIO.KJJKAFNOLLL.Calibration)
|
|
{
|
|
this.COLKEOIGHEO(oopoglbnjpf.GMEFHEGIJOL(this.steamVrVive.TriggerButton));
|
|
this.NFBPPEPPJPB = this.steamVrVive.RotateAxisSwipeButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.DOWN);
|
|
this.IHPPPJGOLPN(this.steamVrVive.RotateAxisSwipeButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.UP));
|
|
this.FIIPPMJEKNN = this.steamVrVive.RotateAxisSwipeButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
}
|
|
else if (this.HANFGNDDNAM == (ControllerIO.KJJKAFNOLLL)5)
|
|
{
|
|
this.MMJBNDBKBMF = true;
|
|
this.OOLDFEGABAN = false;
|
|
this.ENFOGDFMIJK = true;
|
|
this.AMNICMMDJJO = false;
|
|
this.KJKMFBBMBBB = true;
|
|
this.GJKHLGFBHBN(false);
|
|
this.NIALLPKOEME = false;
|
|
this.EJJHJBADGMH = false;
|
|
this.OKBPKMLODNH(true);
|
|
this.GJEEEAELEJD = Vector2.zero;
|
|
this.LICGINDNKGI = false;
|
|
this.COFADFLICAN = false;
|
|
this.KAJAIMHHEKP = false;
|
|
this.DOGCADLOIIA = true;
|
|
this.DFPJEDPJHDC(true);
|
|
this.BLIKPBGOADK(false);
|
|
this.HJIDBMLBCMJ(true);
|
|
this.NDGHNCIDCPL(false);
|
|
this.IEJNOFPIMMO = false;
|
|
this.JIOMONEKLPP = true;
|
|
this.MDGFEPNJFJK = 476f;
|
|
this.BHEFNPMIIAK = true;
|
|
this.PCCMGNFNICA(true);
|
|
this.CKIMNLICEIC = false;
|
|
this.HOIHCLJDHJB = 1876f;
|
|
this.LLNHNIOEHLN = false;
|
|
this.MBIDCPPKKHE = true;
|
|
this.PJBPELKHEPF = false;
|
|
this.MBDMMGOLDEJ = oopoglbnjpf.FANNODKOJJI(this.steamVrVive.TriggerButton).x;
|
|
this.FPDDIJPJLJN = oopoglbnjpf.MEKBNCPJJCB(this.steamVrVive.TriggerButton);
|
|
this.GCMFEIGLBID = oopoglbnjpf.JNDCEFDBOII(this.steamVrVive.TriggerButton);
|
|
this.AGBIGKAFIOK(oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.TriggerButton));
|
|
this.OHNFKPPKKEO(oopoglbnjpf.FANNODKOJJI(this.steamVrVive.TeleportButton));
|
|
this.LGNDIFCKNOH = oopoglbnjpf.MEKBNCPJJCB(this.steamVrVive.MenuButton);
|
|
this.CLCPKPELOLB = oopoglbnjpf.JNDCEFDBOII(this.steamVrVive.MenuButton);
|
|
this.EAEKKFOJPKF = oopoglbnjpf.HFAJJCCICPB(this.steamVrVive.MenuButton);
|
|
this.HKPDAIOAHLN(oopoglbnjpf.DABAPJKGBMP(this.steamVrVive.PushToTalkButton));
|
|
this.NLEHDGDGJLF = oopoglbnjpf.JNDCEFDBOII(this.steamVrVive.PushToTalkButton);
|
|
this.HKGCLPEAKME = oopoglbnjpf.LKEIGBCNOEN(this.steamVrVive.PushToTalkButton);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x170008B4 RID: 2228
|
|
// (get) Token: 0x0601583A RID: 88122 RVA: 0x005FDFF8 File Offset: 0x005FC1F8
|
|
// (set) Token: 0x060157DC RID: 88028 RVA: 0x005FC238 File Offset: 0x005FA438
|
|
public bool CMKCDHGNMIE { get; private set; }
|
|
|
|
// Token: 0x060157DD RID: 88029 RVA: 0x005FC244 File Offset: 0x005FA444
|
|
public bool HMHDKBJMOFM()
|
|
{
|
|
return this.<AIKJEHHIBNP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x1700088E RID: 2190
|
|
// (get) Token: 0x060157DE RID: 88030 RVA: 0x005FC24C File Offset: 0x005FA44C
|
|
// (set) Token: 0x06015815 RID: 88085 RVA: 0x005FDC18 File Offset: 0x005FBE18
|
|
public bool AMNICMMDJJO { get; private set; }
|
|
|
|
// Token: 0x060157DF RID: 88031 RVA: 0x005FC254 File Offset: 0x005FA454
|
|
private void BDLGKCEMCBG()
|
|
{
|
|
if (this.KCIDGDPHEKH())
|
|
{
|
|
PNLCMOFOFOH.OOPOGLBNJPF oopoglbnjpf = PNLCMOFOFOH.OELGAFOCAJA((int)this.MOBGJJOIPJM);
|
|
if (this.KPJDJLBGAOM() == ControllerIO.KJJKAFNOLLL.Standard)
|
|
{
|
|
this.LGNDIFCKNOH = oopoglbnjpf.JIOEPFGMFNN(this.steamVrOculus.MenuButton);
|
|
this.CLCPKPELOLB = oopoglbnjpf.JNDCEFDBOII(this.steamVrOculus.MenuButton);
|
|
this.EAEKKFOJPKF = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.MenuButton);
|
|
this.MMJBNDBKBMF = oopoglbnjpf.JIOEPFGMFNN(this.steamVrOculus.TeleportButton);
|
|
this.OOLDFEGABAN = oopoglbnjpf.JNDCEFDBOII(this.steamVrOculus.TeleportButton);
|
|
this.ENFOGDFMIJK = oopoglbnjpf.LKEIGBCNOEN(this.steamVrOculus.TeleportButton);
|
|
this.GJEEEAELEJD = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.RotateAxis);
|
|
this.LICGINDNKGI = this.GJEEEAELEJD.sqrMagnitude > this.steamVrOculus.RotateAxisDeadzone * this.steamVrOculus.RotateAxisDeadzone;
|
|
this.steamVrOculus.RotateAxisPressButtons.DLBPEOILIFL(this.GJEEEAELEJD, this.LICGINDNKGI, false);
|
|
this.COFADFLICAN = this.steamVrOculus.RotateAxisPressButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.DOWN);
|
|
this.KAJAIMHHEKP = this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.DOGCADLOIIA = this.steamVrOculus.RotateAxisPressButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.BLMOMODOGAD = this.steamVrOculus.RotateAxisPressButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.BLIKPBGOADK(this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.LEFT));
|
|
this.KDIOGBLJEDG = this.steamVrOculus.RotateAxisPressButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.IDEKOAOMPGJ = this.steamVrOculus.RotateAxisPressButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.IEJNOFPIMMO = this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE((AxisButtons.AEHIHNMNDDE)7);
|
|
this.OLIFEBJOKEM(this.steamVrOculus.RotateAxisPressButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.DOWN));
|
|
this.AMNICMMDJJO = oopoglbnjpf.JIOEPFGMFNN(this.steamVrOculus.PushToTalkButton);
|
|
this.KJKMFBBMBBB = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.PushToTalkButton);
|
|
this.EDAGMAALHMB = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.PushToTalkButton);
|
|
this.NIALLPKOEME = oopoglbnjpf.JIOEPFGMFNN(this.steamVrOculus.FlyModeModifierButton);
|
|
this.EJJHJBADGMH = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.FlyModeModifierButton);
|
|
this.OKBPKMLODNH(oopoglbnjpf.LKEIGBCNOEN(this.steamVrOculus.FlyModeModifierButton));
|
|
this.MDGFEPNJFJK = 1148f;
|
|
this.BHEFNPMIIAK = true;
|
|
this.PCCMGNFNICA(true);
|
|
this.CKIMNLICEIC = true;
|
|
LKMJJEMLLKJ[] pickupButtons = this.steamVrOculus.PickupButtons;
|
|
for (int i = 1; i < pickupButtons.Length; i += 0)
|
|
{
|
|
LKMJJEMLLKJ lkmjjemllkj = pickupButtons[i];
|
|
this.MDGFEPNJFJK = Mathf.Max(this.MDGFEPNJFJK, oopoglbnjpf.FANNODKOJJI(lkmjjemllkj).x);
|
|
this.BHEFNPMIIAK |= oopoglbnjpf.JIOEPFGMFNN(lkmjjemllkj);
|
|
this.DGBAAJDGNBN = this.LOHABPDLKHN() | oopoglbnjpf.BPGCEKAALJG(lkmjjemllkj);
|
|
this.CKIMNLICEIC |= oopoglbnjpf.HFAJJCCICPB(lkmjjemllkj);
|
|
}
|
|
this.HOIHCLJDHJB = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.TriggerButton).x;
|
|
this.LLNHNIOEHLN = oopoglbnjpf.MEKBNCPJJCB(this.steamVrOculus.TriggerButton);
|
|
this.MBIDCPPKKHE = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.TriggerButton);
|
|
this.PJBPELKHEPF = oopoglbnjpf.LKEIGBCNOEN(this.steamVrOculus.TriggerButton);
|
|
}
|
|
else if (this.KPJDJLBGAOM() == ControllerIO.KJJKAFNOLLL.Calibration)
|
|
{
|
|
this.COLKEOIGHEO(oopoglbnjpf.JNDCEFDBOII(this.steamVrOculus.TriggerButton));
|
|
this.NFBPPEPPJPB = oopoglbnjpf.JNDCEFDBOII(this.steamVrOculus.MenuButton);
|
|
this.IHPPPJGOLPN(oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.TeleportButton));
|
|
this.HJLDCIOBMEJ(this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.LEFT));
|
|
}
|
|
else if (this.KPJDJLBGAOM() == (ControllerIO.KJJKAFNOLLL)4)
|
|
{
|
|
this.MMJBNDBKBMF = false;
|
|
this.OOLDFEGABAN = true;
|
|
this.ENFOGDFMIJK = true;
|
|
this.AMNICMMDJJO = true;
|
|
this.KJKMFBBMBBB = false;
|
|
this.EDAGMAALHMB = true;
|
|
this.NIALLPKOEME = false;
|
|
this.EJJHJBADGMH = true;
|
|
this.EELFHCNCAHG = true;
|
|
this.GJEEEAELEJD = Vector2.zero;
|
|
this.DHCDBGMFLEI(false);
|
|
this.COFADFLICAN = false;
|
|
this.KAJAIMHHEKP = true;
|
|
this.DOGCADLOIIA = true;
|
|
this.BLMOMODOGAD = true;
|
|
this.BLIKPBGOADK(false);
|
|
this.KDIOGBLJEDG = true;
|
|
this.IDEKOAOMPGJ = false;
|
|
this.IEJNOFPIMMO = true;
|
|
this.OLIFEBJOKEM(false);
|
|
this.MDGFEPNJFJK = 433f;
|
|
this.BHEFNPMIIAK = true;
|
|
this.DGBAAJDGNBN = true;
|
|
this.CKIMNLICEIC = true;
|
|
this.HOIHCLJDHJB = 930f;
|
|
this.LLNHNIOEHLN = true;
|
|
this.MBIDCPPKKHE = false;
|
|
this.IPJIHJJIAGA(false);
|
|
this.MBDMMGOLDEJ = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.TriggerButton).x;
|
|
this.FPDDIJPJLJN = oopoglbnjpf.DABAPJKGBMP(this.steamVrOculus.TriggerButton);
|
|
this.GCMFEIGLBID = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.TriggerButton);
|
|
this.OFDOOHOIGJO = oopoglbnjpf.LKEIGBCNOEN(this.steamVrOculus.TriggerButton);
|
|
this.OHNFKPPKKEO(oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.RotateAxis));
|
|
this.LGNDIFCKNOH = oopoglbnjpf.JIOEPFGMFNN(this.steamVrOculus.MenuButton);
|
|
this.CLCPKPELOLB = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.MenuButton);
|
|
this.EAEKKFOJPKF = oopoglbnjpf.LKEIGBCNOEN(this.steamVrOculus.MenuButton);
|
|
this.FHGCNMMNBEO(oopoglbnjpf.DABAPJKGBMP(this.steamVrOculus.FlyModeModifierButton));
|
|
this.NLEHDGDGJLF = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.FlyModeModifierButton);
|
|
this.HKGCLPEAKME = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.FlyModeModifierButton);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x170008A9 RID: 2217
|
|
// (get) Token: 0x060157E0 RID: 88032 RVA: 0x005FC82C File Offset: 0x005FAA2C
|
|
// (set) Token: 0x060158C4 RID: 88260 RVA: 0x005FF9D8 File Offset: 0x005FDBD8
|
|
public bool PJBPELKHEPF { get; private set; }
|
|
|
|
// Token: 0x170008B0 RID: 2224
|
|
// (get) Token: 0x060157E8 RID: 88040 RVA: 0x005FCF08 File Offset: 0x005FB108
|
|
// (set) Token: 0x060157E1 RID: 88033 RVA: 0x005FC834 File Offset: 0x005FAA34
|
|
public bool CBCHNPOMNPF
|
|
{
|
|
get
|
|
{
|
|
return this.EEEOAOOPDFO;
|
|
}
|
|
private set
|
|
{
|
|
this.EEEOAOOPDFO = value;
|
|
if (this.EEEOAOOPDFO)
|
|
{
|
|
this.LFDLPIJGLDC = Time.time;
|
|
this.KFGEOMPOOLM = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700089B RID: 2203
|
|
// (get) Token: 0x0601582C RID: 88108 RVA: 0x005FDD64 File Offset: 0x005FBF64
|
|
// (set) Token: 0x060157E2 RID: 88034 RVA: 0x005FC85C File Offset: 0x005FAA5C
|
|
public bool DOGCADLOIIA { get; private set; }
|
|
|
|
// Token: 0x170008C7 RID: 2247
|
|
// (get) Token: 0x060157E3 RID: 88035 RVA: 0x005FC868 File Offset: 0x005FAA68
|
|
// (set) Token: 0x06015876 RID: 88182 RVA: 0x005FE7EC File Offset: 0x005FC9EC
|
|
public bool NDPGGDEPEJG { get; private set; }
|
|
|
|
// Token: 0x060157E4 RID: 88036 RVA: 0x005FC870 File Offset: 0x005FAA70
|
|
private void BPCNFMFGBDH()
|
|
{
|
|
if (this.HJNLIIKJJFO)
|
|
{
|
|
PNLCMOFOFOH.OOPOGLBNJPF oopoglbnjpf = PNLCMOFOFOH.KHOLKDHABII((int)this.MOBGJJOIPJM);
|
|
if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.Standard)
|
|
{
|
|
this.LGNDIFCKNOH = oopoglbnjpf.MLGHJGJJKPA(this.steamVrOculus.MenuButton);
|
|
this.CLCPKPELOLB = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.MenuButton);
|
|
this.EAEKKFOJPKF = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.MenuButton);
|
|
this.MMJBNDBKBMF = oopoglbnjpf.MLGHJGJJKPA(this.steamVrOculus.TeleportButton);
|
|
this.OOLDFEGABAN = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.TeleportButton);
|
|
this.ENFOGDFMIJK = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.TeleportButton);
|
|
this.GJEEEAELEJD = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.RotateAxis);
|
|
this.LICGINDNKGI = this.GJEEEAELEJD.sqrMagnitude <= this.steamVrOculus.RotateAxisDeadzone * this.steamVrOculus.RotateAxisDeadzone;
|
|
this.steamVrOculus.RotateAxisPressButtons.DLBPEOILIFL(this.GJEEEAELEJD, this.LICGINDNKGI, true);
|
|
this.COFADFLICAN = this.steamVrOculus.RotateAxisPressButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.RIGHT);
|
|
this.KAJAIMHHEKP = this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.RIGHT);
|
|
this.DOGCADLOIIA = this.steamVrOculus.RotateAxisPressButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.RIGHT);
|
|
this.BLMOMODOGAD = this.steamVrOculus.RotateAxisPressButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.BNFMHJIPADB = this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.KDIOGBLJEDG = this.steamVrOculus.RotateAxisPressButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.IDEKOAOMPGJ = this.steamVrOculus.RotateAxisPressButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.DOWN);
|
|
this.IEJNOFPIMMO = this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.DOWN);
|
|
this.JIOMONEKLPP = this.steamVrOculus.RotateAxisPressButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.DOWN);
|
|
this.AMNICMMDJJO = oopoglbnjpf.MLGHJGJJKPA(this.steamVrOculus.PushToTalkButton);
|
|
this.KJKMFBBMBBB = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.PushToTalkButton);
|
|
this.EDAGMAALHMB = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.PushToTalkButton);
|
|
this.NIALLPKOEME = oopoglbnjpf.MLGHJGJJKPA(this.steamVrOculus.FlyModeModifierButton);
|
|
this.EJJHJBADGMH = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.FlyModeModifierButton);
|
|
this.EELFHCNCAHG = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.FlyModeModifierButton);
|
|
this.MDGFEPNJFJK = 0f;
|
|
this.BHEFNPMIIAK = false;
|
|
this.DGBAAJDGNBN = false;
|
|
this.CKIMNLICEIC = false;
|
|
foreach (LKMJJEMLLKJ lkmjjemllkj in this.steamVrOculus.PickupButtons)
|
|
{
|
|
this.MDGFEPNJFJK = Mathf.Max(this.MDGFEPNJFJK, oopoglbnjpf.FANNODKOJJI(lkmjjemllkj).x);
|
|
this.BHEFNPMIIAK |= oopoglbnjpf.MLGHJGJJKPA(lkmjjemllkj);
|
|
this.DGBAAJDGNBN |= oopoglbnjpf.BPGCEKAALJG(lkmjjemllkj);
|
|
this.CKIMNLICEIC |= oopoglbnjpf.HFAJJCCICPB(lkmjjemllkj);
|
|
}
|
|
this.HOIHCLJDHJB = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.TriggerButton).x;
|
|
this.LLNHNIOEHLN = oopoglbnjpf.MLGHJGJJKPA(this.steamVrOculus.TriggerButton);
|
|
this.MBIDCPPKKHE = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.TriggerButton);
|
|
this.PJBPELKHEPF = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.TriggerButton);
|
|
}
|
|
else if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.Calibration)
|
|
{
|
|
this.MBIDCPPKKHE = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.TriggerButton);
|
|
this.NFBPPEPPJPB = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.MenuButton);
|
|
this.GNOJOKAOOKP = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.TeleportButton);
|
|
this.FIIPPMJEKNN = this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
}
|
|
else if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.RemoteControl)
|
|
{
|
|
this.MMJBNDBKBMF = false;
|
|
this.OOLDFEGABAN = false;
|
|
this.ENFOGDFMIJK = false;
|
|
this.AMNICMMDJJO = false;
|
|
this.KJKMFBBMBBB = false;
|
|
this.EDAGMAALHMB = false;
|
|
this.NIALLPKOEME = false;
|
|
this.EJJHJBADGMH = false;
|
|
this.EELFHCNCAHG = false;
|
|
this.GJEEEAELEJD = Vector2.zero;
|
|
this.LICGINDNKGI = true;
|
|
this.COFADFLICAN = false;
|
|
this.KAJAIMHHEKP = false;
|
|
this.DOGCADLOIIA = false;
|
|
this.BLMOMODOGAD = false;
|
|
this.BNFMHJIPADB = false;
|
|
this.KDIOGBLJEDG = false;
|
|
this.IDEKOAOMPGJ = false;
|
|
this.IEJNOFPIMMO = false;
|
|
this.JIOMONEKLPP = false;
|
|
this.MDGFEPNJFJK = 0f;
|
|
this.BHEFNPMIIAK = false;
|
|
this.DGBAAJDGNBN = false;
|
|
this.CKIMNLICEIC = false;
|
|
this.HOIHCLJDHJB = 0f;
|
|
this.LLNHNIOEHLN = false;
|
|
this.MBIDCPPKKHE = false;
|
|
this.PJBPELKHEPF = false;
|
|
this.MBDMMGOLDEJ = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.TriggerButton).x;
|
|
this.FPDDIJPJLJN = oopoglbnjpf.MLGHJGJJKPA(this.steamVrOculus.TriggerButton);
|
|
this.GCMFEIGLBID = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.TriggerButton);
|
|
this.OFDOOHOIGJO = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.TriggerButton);
|
|
this.MHDDNLIGBGA = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.RotateAxis);
|
|
this.LGNDIFCKNOH = oopoglbnjpf.MLGHJGJJKPA(this.steamVrOculus.MenuButton);
|
|
this.CLCPKPELOLB = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.MenuButton);
|
|
this.EAEKKFOJPKF = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.MenuButton);
|
|
this.IJBEGOMDFHM = oopoglbnjpf.MLGHJGJJKPA(this.steamVrOculus.FlyModeModifierButton);
|
|
this.NLEHDGDGJLF = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.FlyModeModifierButton);
|
|
this.HKGCLPEAKME = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.FlyModeModifierButton);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700089D RID: 2205
|
|
// (get) Token: 0x06015810 RID: 88080 RVA: 0x005FDBE8 File Offset: 0x005FBDE8
|
|
// (set) Token: 0x060157E5 RID: 88037 RVA: 0x005FCE48 File Offset: 0x005FB048
|
|
public bool BNFMHJIPADB { get; private set; }
|
|
|
|
// Token: 0x060157E7 RID: 88039 RVA: 0x005FCF00 File Offset: 0x005FB100
|
|
public Vector3? DIPPNOOBDAA()
|
|
{
|
|
return this.<LFBBGPANANP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x1700088F RID: 2191
|
|
// (get) Token: 0x060158E5 RID: 88293 RVA: 0x005FFBCC File Offset: 0x005FDDCC
|
|
// (set) Token: 0x060157E9 RID: 88041 RVA: 0x005FCF10 File Offset: 0x005FB110
|
|
public bool KJKMFBBMBBB { get; private set; }
|
|
|
|
// Token: 0x1700088C RID: 2188
|
|
// (get) Token: 0x060158C3 RID: 88259 RVA: 0x005FF9D0 File Offset: 0x005FDBD0
|
|
// (set) Token: 0x060157EA RID: 88042 RVA: 0x005FCF1C File Offset: 0x005FB11C
|
|
public bool OOLDFEGABAN { get; private set; }
|
|
|
|
// Token: 0x17000887 RID: 2183
|
|
// (get) Token: 0x0601587C RID: 88188 RVA: 0x005FE840 File Offset: 0x005FCA40
|
|
// (set) Token: 0x060157EB RID: 88043 RVA: 0x005FCF28 File Offset: 0x005FB128
|
|
public bool LGPNIIKKMFN { get; private set; }
|
|
|
|
// Token: 0x060157EC RID: 88044 RVA: 0x005FCF34 File Offset: 0x005FB134
|
|
private void HOEHFCPIDFN(bool NOBAPCOKFIL)
|
|
{
|
|
this.<KBONEBBMCOB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060157ED RID: 88045 RVA: 0x005FCF40 File Offset: 0x005FB140
|
|
private void NNHINFEHBEK()
|
|
{
|
|
this.HJNLIIKJJFO = this.FEBOGIEKGPL.MAMOJNBDFAB();
|
|
this.NDPGGDEPEJG = this.FEBOGIEKGPL.NDPGGDEPEJG;
|
|
this.FACFKOFLENM(Vector3.zero);
|
|
this.MOBLIEGOIDK = Vector3.zero;
|
|
if (this.NBLPGJNDKIE())
|
|
{
|
|
if (this.NDPGGDEPEJG)
|
|
{
|
|
this.CIFEOIFFFBB.localPosition = this.FEBOGIEKGPL.BKGANBOJBNN;
|
|
this.HJDCFOCCEIN(this.CIFEOIFFFBB.parent.TransformVector(this.FEBOGIEKGPL.NBHCAJGOMMA()) * this.OLOPMGMHJOC);
|
|
}
|
|
this.CIFEOIFFFBB.localRotation = this.FEBOGIEKGPL.EODPFJANELH();
|
|
this.MOBLIEGOIDK = this.CIFEOIFFFBB.parent.TransformVector(this.FEBOGIEKGPL.NDNDPKBOFGC()) * this.FECCIHAKCPI;
|
|
if (this.FKIMIOHBKML != null)
|
|
{
|
|
this.FKIMIOHBKML();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x170008CD RID: 2253
|
|
// (get) Token: 0x06015844 RID: 88132 RVA: 0x005FE1A0 File Offset: 0x005FC3A0
|
|
// (set) Token: 0x060157EE RID: 88046 RVA: 0x005FD038 File Offset: 0x005FB238
|
|
public bool AANDMKPEJFK { get; set; }
|
|
|
|
// Token: 0x060157EF RID: 88047 RVA: 0x005FD044 File Offset: 0x005FB244
|
|
public bool DIDCAKIBMBK()
|
|
{
|
|
return this.<KBONEBBMCOB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060157F0 RID: 88048 RVA: 0x005FD04C File Offset: 0x005FB24C
|
|
public Vector3 PHDKKKLGDKL()
|
|
{
|
|
return this.<LKECBDLLLFK>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x1700087F RID: 2175
|
|
// (get) Token: 0x060157F1 RID: 88049 RVA: 0x005FD054 File Offset: 0x005FB254
|
|
public ControllerIO.HMMEBFHABKA AKCKNCDOPLE
|
|
{
|
|
get
|
|
{
|
|
return this.hand;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060157F2 RID: 88050 RVA: 0x005FD05C File Offset: 0x005FB25C
|
|
private IEnumerator FCPDAFIAAAD(int MDMOMCDDFHH, ushort GIDMADJPECM, bool CCNOKLKMPFC = false)
|
|
{
|
|
float num = Time.unscaledTime + (float)MDMOMCDDFHH / 1000f;
|
|
while (Time.unscaledTime < num)
|
|
{
|
|
this.MOALMJCJNAM(GIDMADJPECM, CCNOKLKMPFC);
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x170008A4 RID: 2212
|
|
// (get) Token: 0x06015837 RID: 88119 RVA: 0x005FDEF0 File Offset: 0x005FC0F0
|
|
// (set) Token: 0x060157F3 RID: 88051 RVA: 0x005FD08C File Offset: 0x005FB28C
|
|
public bool DGBAAJDGNBN { get; private set; }
|
|
|
|
// Token: 0x060157F4 RID: 88052 RVA: 0x005FD098 File Offset: 0x005FB298
|
|
private void DFPJEDPJHDC(bool NOBAPCOKFIL)
|
|
{
|
|
this.<JJECJHJJNED>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x17000899 RID: 2201
|
|
// (get) Token: 0x060157F5 RID: 88053 RVA: 0x005FD0A4 File Offset: 0x005FB2A4
|
|
// (set) Token: 0x060158D0 RID: 88272 RVA: 0x005FFA68 File Offset: 0x005FDC68
|
|
public bool COFADFLICAN { get; private set; }
|
|
|
|
// Token: 0x060157F6 RID: 88054 RVA: 0x005FD0AC File Offset: 0x005FB2AC
|
|
private void HJLDCIOBMEJ(bool NOBAPCOKFIL)
|
|
{
|
|
this.<OKKCHPDCBJG>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x170008A8 RID: 2216
|
|
// (get) Token: 0x060157F7 RID: 88055 RVA: 0x005FD0B8 File Offset: 0x005FB2B8
|
|
// (set) Token: 0x0601585F RID: 88159 RVA: 0x005FE3A4 File Offset: 0x005FC5A4
|
|
public bool MBIDCPPKKHE { get; private set; }
|
|
|
|
// Token: 0x060157F8 RID: 88056 RVA: 0x005FD0C0 File Offset: 0x005FB2C0
|
|
private void ADAIIMJFDGN()
|
|
{
|
|
AAKIJKLIBFM.EDEMIDLJBMA edemidljbma = ((this.hand != ControllerIO.HMMEBFHABKA.LeftHand) ? AAKIJKLIBFM.EDEMIDLJBMA.HandRight : AAKIJKLIBFM.EDEMIDLJBMA.HandLeft);
|
|
this.HJNLIIKJJFO = AAKIJKLIBFM.DKBFAFMMCJF(edemidljbma);
|
|
if (!this.HJNLIIKJJFO)
|
|
{
|
|
this.NDPGGDEPEJG = false;
|
|
}
|
|
else
|
|
{
|
|
LDLBCCLPCGM.MFOJACCHCAA mfojacchcaa = ((this.hand != ControllerIO.HMMEBFHABKA.LeftHand) ? LDLBCCLPCGM.MFOJACCHCAA.RTouch : LDLBCCLPCGM.MFOJACCHCAA.LTouch);
|
|
this.NDPGGDEPEJG = LDLBCCLPCGM.LOLPBLNFNGC(mfojacchcaa) && LDLBCCLPCGM.EMJDGMEIMFF(mfojacchcaa);
|
|
Vector3 vector = LDLBCCLPCGM.IGJNAKAHKLC(mfojacchcaa);
|
|
this.CIFEOIFFFBB.localPosition = vector;
|
|
Quaternion quaternion = LDLBCCLPCGM.BMJCJKPNAMG(mfojacchcaa);
|
|
this.CIFEOIFFFBB.localRotation = quaternion;
|
|
Vector3 vector2 = LDLBCCLPCGM.BKMDDHHIAAI(mfojacchcaa);
|
|
this.EFEKGINOBLK = this.CIFEOIFFFBB.parent.TransformVector(vector2) * this.OLOPMGMHJOC;
|
|
this.MOBLIEGOIDK = NNGFEGAEJPG.PGPNGNDCJKL(this.KAMBILFJGIA, this.CIFEOIFFFBB.rotation) / (Time.fixedTime - this.ODEGFFGLLIO) * this.FECCIHAKCPI;
|
|
this.KAMBILFJGIA = this.CIFEOIFFFBB.rotation;
|
|
this.ODEGFFGLLIO = Time.fixedTime;
|
|
if (this.FKIMIOHBKML != null)
|
|
{
|
|
this.FKIMIOHBKML();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060157F9 RID: 88057 RVA: 0x005FD1EC File Offset: 0x005FB3EC
|
|
public void AOGNBAHOOHM(ControllerIO.KJJKAFNOLLL NOBAPCOKFIL)
|
|
{
|
|
this.<PLCKPHODNND>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060157FA RID: 88058 RVA: 0x005FD1F8 File Offset: 0x005FB3F8
|
|
public float GJPJAFJJDGO()
|
|
{
|
|
return this.<JECODKNAMOL>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008A6 RID: 2214
|
|
// (get) Token: 0x060157FB RID: 88059 RVA: 0x005FD200 File Offset: 0x005FB400
|
|
// (set) Token: 0x06015841 RID: 88129 RVA: 0x005FE17C File Offset: 0x005FC37C
|
|
public float HOIHCLJDHJB { get; private set; }
|
|
|
|
// Token: 0x060157FC RID: 88060 RVA: 0x005FD208 File Offset: 0x005FB408
|
|
public bool PBCPIIDBBHM()
|
|
{
|
|
return this.NFJGPCDPGDH;
|
|
}
|
|
|
|
// Token: 0x060157FD RID: 88061 RVA: 0x005FD210 File Offset: 0x005FB410
|
|
private void BKKDDNAHJFA(int NOBAPCOKFIL)
|
|
{
|
|
this.<BMGKGFOPBIC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060157FE RID: 88062 RVA: 0x005FD21C File Offset: 0x005FB41C
|
|
public void JBKNLCIIKJK(ControllerIO.KJJKAFNOLLL NOBAPCOKFIL)
|
|
{
|
|
this.<PLCKPHODNND>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x170008B8 RID: 2232
|
|
// (get) Token: 0x060157FF RID: 88063 RVA: 0x005FD228 File Offset: 0x005FB428
|
|
// (set) Token: 0x060158D4 RID: 88276 RVA: 0x005FFB28 File Offset: 0x005FDD28
|
|
public float JBFHDDJLLMI { get; private set; }
|
|
|
|
// Token: 0x06015800 RID: 88064 RVA: 0x005FD230 File Offset: 0x005FB430
|
|
private void MKMGEHMIAOB()
|
|
{
|
|
this.HJNLIIKJJFO = this.FEBOGIEKGPL.KNEFJDJPOPD();
|
|
this.NDPGGDEPEJG = this.FEBOGIEKGPL.OPMMOLBKIIM();
|
|
this.MDCGLMNPFJJ(Vector3.zero);
|
|
this.MOBLIEGOIDK = Vector3.zero;
|
|
if (this.NBLPGJNDKIE())
|
|
{
|
|
if (this.NDPGGDEPEJG)
|
|
{
|
|
this.CIFEOIFFFBB.localPosition = this.FEBOGIEKGPL.BKGANBOJBNN;
|
|
this.MDCGLMNPFJJ(this.CIFEOIFFFBB.parent.TransformVector(this.FEBOGIEKGPL.NKIDOIKFLPM()) * this.OLOPMGMHJOC);
|
|
}
|
|
this.CIFEOIFFFBB.localRotation = this.FEBOGIEKGPL.KEEJFFPFILG();
|
|
this.MOBLIEGOIDK = this.CIFEOIFFFBB.parent.TransformVector(this.FEBOGIEKGPL.HOCKNOONMCO) * this.FECCIHAKCPI;
|
|
if (this.FKIMIOHBKML != null)
|
|
{
|
|
this.FKIMIOHBKML();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06015801 RID: 88065 RVA: 0x005FD328 File Offset: 0x005FB528
|
|
private void FHGCNMMNBEO(bool NOBAPCOKFIL)
|
|
{
|
|
this.<PBKGJDIFNOJ>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x170008C5 RID: 2245
|
|
// (get) Token: 0x06015846 RID: 88134 RVA: 0x005FE1B0 File Offset: 0x005FC3B0
|
|
// (set) Token: 0x06015803 RID: 88067 RVA: 0x005FD340 File Offset: 0x005FB540
|
|
public bool JDKPNOHNCME { get; private set; }
|
|
|
|
// Token: 0x06015804 RID: 88068 RVA: 0x005FD34C File Offset: 0x005FB54C
|
|
private void DHCDBGMFLEI(bool NOBAPCOKFIL)
|
|
{
|
|
this.<FFABHEBBEPG>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015805 RID: 88069 RVA: 0x005FD358 File Offset: 0x005FB558
|
|
private void PMDCJCOHAJL()
|
|
{
|
|
if (this.HJNLIIKJJFO)
|
|
{
|
|
if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.Standard)
|
|
{
|
|
this.LGNDIFCKNOH = false;
|
|
this.CLCPKPELOLB = false;
|
|
this.EAEKKFOJPKF = false;
|
|
foreach (PKKKFLFHNMI pkkkflfhnmi in this.ps4MoveSettings.MenuButtons)
|
|
{
|
|
this.LGNDIFCKNOH |= this.FEBOGIEKGPL.GetButton(pkkkflfhnmi);
|
|
this.CLCPKPELOLB |= this.FEBOGIEKGPL.GetButtonDown(pkkkflfhnmi);
|
|
this.EAEKKFOJPKF |= this.FEBOGIEKGPL.GetButtonUp(pkkkflfhnmi);
|
|
}
|
|
this.MMJBNDBKBMF = this.FEBOGIEKGPL.GetButton(this.ps4MoveSettings.TeleportButton);
|
|
this.OOLDFEGABAN = this.FEBOGIEKGPL.GetButtonDown(this.ps4MoveSettings.TeleportButton);
|
|
this.ENFOGDFMIJK = this.FEBOGIEKGPL.GetButtonUp(this.ps4MoveSettings.TeleportButton);
|
|
this.BLMOMODOGAD = this.FEBOGIEKGPL.GetButton(this.ps4MoveSettings.RotateLeftButton);
|
|
this.BNFMHJIPADB = this.FEBOGIEKGPL.GetButtonDown(this.ps4MoveSettings.RotateLeftButton);
|
|
this.KDIOGBLJEDG = this.FEBOGIEKGPL.GetButtonUp(this.ps4MoveSettings.RotateLeftButton);
|
|
this.COFADFLICAN = this.FEBOGIEKGPL.GetButton(this.ps4MoveSettings.RotateRightButton);
|
|
this.KAJAIMHHEKP = this.FEBOGIEKGPL.GetButtonDown(this.ps4MoveSettings.RotateRightButton);
|
|
this.DOGCADLOIIA = this.FEBOGIEKGPL.GetButtonUp(this.ps4MoveSettings.RotateRightButton);
|
|
if (this.KAJAIMHHEKP || this.BNFMHJIPADB)
|
|
{
|
|
this.NNEHBEENNKJ(100, 1000);
|
|
}
|
|
this.MDGFEPNJFJK = this.FEBOGIEKGPL.GetTriggerAxis();
|
|
this.BHEFNPMIIAK = this.FEBOGIEKGPL.GetButton(this.ps4MoveSettings.PickupButton);
|
|
this.DGBAAJDGNBN = this.FEBOGIEKGPL.GetButtonDown(this.ps4MoveSettings.PickupButton);
|
|
this.CKIMNLICEIC = this.FEBOGIEKGPL.GetButtonUp(this.ps4MoveSettings.PickupButton);
|
|
this.HOIHCLJDHJB = this.FEBOGIEKGPL.GetTriggerAxis();
|
|
this.LLNHNIOEHLN = this.FEBOGIEKGPL.GetButton(this.ps4MoveSettings.TriggerButton);
|
|
this.MBIDCPPKKHE = this.FEBOGIEKGPL.GetButtonDown(this.ps4MoveSettings.TriggerButton);
|
|
this.PJBPELKHEPF = this.FEBOGIEKGPL.GetButtonUp(this.ps4MoveSettings.TriggerButton);
|
|
this.NIALLPKOEME = this.FEBOGIEKGPL.GetButton(this.ps4MoveSettings.FlyModeModifierButton);
|
|
this.EJJHJBADGMH = this.FEBOGIEKGPL.GetButtonDown(this.ps4MoveSettings.FlyModeModifierButton);
|
|
this.EELFHCNCAHG = this.FEBOGIEKGPL.GetButtonUp(this.ps4MoveSettings.FlyModeModifierButton);
|
|
}
|
|
else if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.Calibration)
|
|
{
|
|
this.MBIDCPPKKHE = this.FEBOGIEKGPL.GetButtonDown(this.ps4MoveSettings.TriggerButton);
|
|
this.NFBPPEPPJPB = false;
|
|
foreach (PKKKFLFHNMI pkkkflfhnmi2 in this.ps4MoveSettings.MenuButtons)
|
|
{
|
|
this.NFBPPEPPJPB |= this.FEBOGIEKGPL.GetButtonDown(pkkkflfhnmi2);
|
|
}
|
|
this.GNOJOKAOOKP = this.FEBOGIEKGPL.GetButtonDown(this.ps4MoveSettings.RotateLeftButton);
|
|
this.FIIPPMJEKNN = this.FEBOGIEKGPL.GetButtonDown(this.ps4MoveSettings.RotateRightButton);
|
|
}
|
|
else if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.RemoteControl)
|
|
{
|
|
this.MMJBNDBKBMF = false;
|
|
this.OOLDFEGABAN = false;
|
|
this.ENFOGDFMIJK = false;
|
|
this.AMNICMMDJJO = false;
|
|
this.KJKMFBBMBBB = false;
|
|
this.EDAGMAALHMB = false;
|
|
this.NIALLPKOEME = false;
|
|
this.EJJHJBADGMH = false;
|
|
this.EELFHCNCAHG = false;
|
|
this.GJEEEAELEJD = Vector2.zero;
|
|
this.LICGINDNKGI = true;
|
|
this.COFADFLICAN = false;
|
|
this.KAJAIMHHEKP = false;
|
|
this.DOGCADLOIIA = false;
|
|
this.BLMOMODOGAD = false;
|
|
this.BNFMHJIPADB = false;
|
|
this.KDIOGBLJEDG = false;
|
|
this.IDEKOAOMPGJ = false;
|
|
this.IEJNOFPIMMO = false;
|
|
this.JIOMONEKLPP = false;
|
|
this.MDGFEPNJFJK = 0f;
|
|
this.BHEFNPMIIAK = false;
|
|
this.DGBAAJDGNBN = false;
|
|
this.CKIMNLICEIC = false;
|
|
this.HOIHCLJDHJB = 0f;
|
|
this.LLNHNIOEHLN = false;
|
|
this.MBIDCPPKKHE = false;
|
|
this.PJBPELKHEPF = false;
|
|
this.MBDMMGOLDEJ = this.FEBOGIEKGPL.GetTriggerAxis();
|
|
this.FPDDIJPJLJN = this.FEBOGIEKGPL.GetButton(this.ps4MoveSettings.TriggerButton);
|
|
this.GCMFEIGLBID = this.FEBOGIEKGPL.GetButtonDown(this.ps4MoveSettings.TriggerButton);
|
|
this.OFDOOHOIGJO = this.FEBOGIEKGPL.GetButtonUp(this.ps4MoveSettings.TriggerButton);
|
|
bool buttonDown = this.FEBOGIEKGPL.GetButtonDown(this.ps4MoveSettings.TeleportButton);
|
|
if (buttonDown)
|
|
{
|
|
this.KLFLLLHHGMN = base.transform.forward;
|
|
this.OKOCANJHABA = base.transform.right;
|
|
this.AAJNKPDDPDP = base.transform.up;
|
|
}
|
|
if (this.FEBOGIEKGPL.GetButton(this.ps4MoveSettings.TeleportButton))
|
|
{
|
|
Vector3 vector = Vector3.ProjectOnPlane(base.transform.forward, this.KLFLLLHHGMN);
|
|
Vector3 vector2 = Vector3.Project(vector, this.OKOCANJHABA);
|
|
Vector3 vector3 = Vector3.Project(vector, this.AAJNKPDDPDP);
|
|
float num = 2f * ((Vector3.Dot(vector2, this.OKOCANJHABA) < 0f) ? (-vector2.magnitude) : vector2.magnitude);
|
|
float num2 = 2f * ((Vector3.Dot(vector3, this.AAJNKPDDPDP) < 0f) ? vector3.magnitude : (-vector3.magnitude));
|
|
this.MHDDNLIGBGA = new Vector2(num, num2);
|
|
}
|
|
else
|
|
{
|
|
this.MHDDNLIGBGA = Vector2.zero;
|
|
}
|
|
this.LGNDIFCKNOH = false;
|
|
this.CLCPKPELOLB = false;
|
|
this.EAEKKFOJPKF = false;
|
|
foreach (PKKKFLFHNMI pkkkflfhnmi3 in this.ps4MoveSettings.MenuButtons)
|
|
{
|
|
this.LGNDIFCKNOH |= this.FEBOGIEKGPL.GetButton(pkkkflfhnmi3);
|
|
this.CLCPKPELOLB |= this.FEBOGIEKGPL.GetButtonDown(pkkkflfhnmi3);
|
|
this.EAEKKFOJPKF |= this.FEBOGIEKGPL.GetButtonUp(pkkkflfhnmi3);
|
|
}
|
|
this.IJBEGOMDFHM = this.FEBOGIEKGPL.GetButton(this.ps4MoveSettings.RotateLeftButton) || this.FEBOGIEKGPL.GetButton(this.ps4MoveSettings.RotateRightButton);
|
|
this.NLEHDGDGJLF = this.FEBOGIEKGPL.GetButtonDown(this.ps4MoveSettings.RotateLeftButton) || this.FEBOGIEKGPL.GetButton(this.ps4MoveSettings.RotateRightButton);
|
|
this.HKGCLPEAKME = this.FEBOGIEKGPL.GetButtonUp(this.ps4MoveSettings.RotateLeftButton) || this.FEBOGIEKGPL.GetButton(this.ps4MoveSettings.RotateRightButton);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06015806 RID: 88070 RVA: 0x005FDA9C File Offset: 0x005FBC9C
|
|
public void OEGEFDFBDFM(bool NOBAPCOKFIL)
|
|
{
|
|
this.<LECPOOJCKAJ>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015807 RID: 88071 RVA: 0x005FDAA8 File Offset: 0x005FBCA8
|
|
private void COLKEOIGHEO(bool NOBAPCOKFIL)
|
|
{
|
|
this.<ABMDDNCFJIB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015808 RID: 88072 RVA: 0x005FDAB4 File Offset: 0x005FBCB4
|
|
public bool EPPFMFIDNJE()
|
|
{
|
|
return this.<NNGGBENFENM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008C8 RID: 2248
|
|
// (get) Token: 0x0601586B RID: 88171 RVA: 0x005FE5D4 File Offset: 0x005FC7D4
|
|
// (set) Token: 0x06015809 RID: 88073 RVA: 0x005FDABC File Offset: 0x005FBCBC
|
|
public bool EPNDGMNPLIK { get; set; }
|
|
|
|
// Token: 0x0601580A RID: 88074 RVA: 0x005FDAC8 File Offset: 0x005FBCC8
|
|
public float AHONDPAFAAH()
|
|
{
|
|
return this.<CDOJMMIIFDH>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0601580B RID: 88075 RVA: 0x005FDAD0 File Offset: 0x005FBCD0
|
|
private void Start()
|
|
{
|
|
this.EMEIBLBBPCM();
|
|
this.PDMILHOKLEF();
|
|
if (ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.SteamVR_Oculus || ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.SteamVR_Vive)
|
|
{
|
|
this.JLOIJPLGPBH = DAGNICICCAN.PCIJIKEEDKP(new UnityAction<OCINCFKMHBE[]>(this.DNNKDFKGMJG));
|
|
this.JLOIJPLGPBH.KELIMOCDMOD = true;
|
|
}
|
|
else if (ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.Oculus)
|
|
{
|
|
OVRManager.IDBNGMOMKGK += this.ADAIIMJFDGN;
|
|
}
|
|
else if (ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.PS4_Move)
|
|
{
|
|
this.FEBOGIEKGPL = base.gameObject.AddComponent<PS4MoveInput>();
|
|
this.FEBOGIEKGPL.NDMIEBGLFDC = ((this.AKCKNCDOPLE != ControllerIO.HMMEBFHABKA.LeftHand) ? 1 : 0);
|
|
this.FEBOGIEKGPL.LPNPDJAGOCO += this.JODMHOGHFIG;
|
|
}
|
|
else if (ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN)
|
|
{
|
|
}
|
|
this.AANDMKPEJFK = true;
|
|
this.HANFGNDDNAM = ControllerIO.KJJKAFNOLLL.Standard;
|
|
}
|
|
|
|
// Token: 0x0601580C RID: 88076 RVA: 0x005FDBB8 File Offset: 0x005FBDB8
|
|
private void BKNBIEKOMFF(bool NOBAPCOKFIL)
|
|
{
|
|
this.<GCIJDICIPOE>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0601580D RID: 88077 RVA: 0x005FDBC4 File Offset: 0x005FBDC4
|
|
private void HJIDBMLBCMJ(bool NOBAPCOKFIL)
|
|
{
|
|
this.<HGBKLIJKABI>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x17000895 RID: 2197
|
|
// (get) Token: 0x060158A2 RID: 88226 RVA: 0x005FF5C0 File Offset: 0x005FD7C0
|
|
// (set) Token: 0x0601580E RID: 88078 RVA: 0x005FDBD0 File Offset: 0x005FBDD0
|
|
public bool EJJHJBADGMH { get; private set; }
|
|
|
|
// Token: 0x0601580F RID: 88079 RVA: 0x005FDBDC File Offset: 0x005FBDDC
|
|
private void NDGHNCIDCPL(bool NOBAPCOKFIL)
|
|
{
|
|
this.<AJPCCDOAPOB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015811 RID: 88081 RVA: 0x005FDBF0 File Offset: 0x005FBDF0
|
|
private void DLMMGDLIEOD(MMFHKCELIGG.FLCHFADOMJG NOBAPCOKFIL)
|
|
{
|
|
this.<GKLFCEAPGEF>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015812 RID: 88082 RVA: 0x005FDBFC File Offset: 0x005FBDFC
|
|
public bool NBPECLIDFEJ()
|
|
{
|
|
return this.<JKNLBPHFALI>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x1700088B RID: 2187
|
|
// (get) Token: 0x06015816 RID: 88086 RVA: 0x005FDC24 File Offset: 0x005FBE24
|
|
// (set) Token: 0x06015813 RID: 88083 RVA: 0x005FDC04 File Offset: 0x005FBE04
|
|
public bool MMJBNDBKBMF { get; private set; }
|
|
|
|
// Token: 0x06015814 RID: 88084 RVA: 0x005FDC10 File Offset: 0x005FBE10
|
|
public bool PJJOBGFMLAN()
|
|
{
|
|
return this.<CNGLMOAFJED>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06015817 RID: 88087 RVA: 0x005FDC2C File Offset: 0x005FBE2C
|
|
public bool NGEBLKNCPCO()
|
|
{
|
|
return this.<JKNLBPHFALI>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008CA RID: 2250
|
|
// (get) Token: 0x060158DA RID: 88282 RVA: 0x005FFB5C File Offset: 0x005FDD5C
|
|
// (set) Token: 0x06015818 RID: 88088 RVA: 0x005FDC34 File Offset: 0x005FBE34
|
|
public Vector3? PFHCAGDPCDD { get; set; }
|
|
|
|
// Token: 0x170008A2 RID: 2210
|
|
// (get) Token: 0x06015819 RID: 88089 RVA: 0x005FDC40 File Offset: 0x005FBE40
|
|
// (set) Token: 0x060158E0 RID: 88288 RVA: 0x005FFB98 File Offset: 0x005FDD98
|
|
public float MDGFEPNJFJK { get; private set; }
|
|
|
|
// Token: 0x1700089F RID: 2207
|
|
// (get) Token: 0x0601581C RID: 88092 RVA: 0x005FDC5C File Offset: 0x005FBE5C
|
|
// (set) Token: 0x0601581A RID: 88090 RVA: 0x005FDC48 File Offset: 0x005FBE48
|
|
public bool IDEKOAOMPGJ { get; private set; }
|
|
|
|
// Token: 0x17000888 RID: 2184
|
|
// (get) Token: 0x0601581B RID: 88091 RVA: 0x005FDC54 File Offset: 0x005FBE54
|
|
// (set) Token: 0x06015875 RID: 88181 RVA: 0x005FE7E0 File Offset: 0x005FC9E0
|
|
public bool LGNDIFCKNOH { get; private set; }
|
|
|
|
// Token: 0x170008C0 RID: 2240
|
|
// (get) Token: 0x0601589E RID: 88222 RVA: 0x005FF594 File Offset: 0x005FD794
|
|
// (set) Token: 0x0601581D RID: 88093 RVA: 0x005FDC64 File Offset: 0x005FBE64
|
|
public bool IJBEGOMDFHM { get; private set; }
|
|
|
|
// Token: 0x170008B7 RID: 2231
|
|
// (get) Token: 0x0601581E RID: 88094 RVA: 0x005FDC70 File Offset: 0x005FBE70
|
|
// (set) Token: 0x06015865 RID: 88165 RVA: 0x005FE474 File Offset: 0x005FC674
|
|
public float LFDLPIJGLDC { get; private set; }
|
|
|
|
// Token: 0x0601581F RID: 88095 RVA: 0x005FDC78 File Offset: 0x005FBE78
|
|
public Coroutine Vibrate(int MDMOMCDDFHH = 1, ushort GIDMADJPECM = 1000)
|
|
{
|
|
return base.StartCoroutine(this.FCPDAFIAAAD(MDMOMCDDFHH, GIDMADJPECM, false));
|
|
}
|
|
|
|
// Token: 0x170008B9 RID: 2233
|
|
// (get) Token: 0x06015820 RID: 88096 RVA: 0x005FDC8C File Offset: 0x005FBE8C
|
|
// (set) Token: 0x06015884 RID: 88196 RVA: 0x005FE8C8 File Offset: 0x005FCAC8
|
|
public float DMAHDFACBJD { get; private set; }
|
|
|
|
// Token: 0x06015821 RID: 88097 RVA: 0x005FDC94 File Offset: 0x005FBE94
|
|
public bool HMAOBIFDKDB()
|
|
{
|
|
return this.<ALNLLECJPOO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x1700088D RID: 2189
|
|
// (get) Token: 0x060158A6 RID: 88230 RVA: 0x005FF618 File Offset: 0x005FD818
|
|
// (set) Token: 0x06015822 RID: 88098 RVA: 0x005FDC9C File Offset: 0x005FBE9C
|
|
public bool ENFOGDFMIJK { get; private set; }
|
|
|
|
// Token: 0x06015824 RID: 88100 RVA: 0x005FDCB4 File Offset: 0x005FBEB4
|
|
public void IDMIMBJOFCD(bool NOBAPCOKFIL)
|
|
{
|
|
this.<AJEAFKJAJIC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015825 RID: 88101 RVA: 0x005FDCC0 File Offset: 0x005FBEC0
|
|
private IEnumerator HMGPIJLJLAE(ushort GIDMADJPECM, bool CCNOKLKMPFC = false)
|
|
{
|
|
for (;;)
|
|
{
|
|
this.MOALMJCJNAM(GIDMADJPECM, CCNOKLKMPFC);
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x14000095 RID: 149
|
|
// (add) Token: 0x060158A5 RID: 88229 RVA: 0x005FF5E0 File Offset: 0x005FD7E0
|
|
// (remove) Token: 0x06015826 RID: 88102 RVA: 0x005FDCEC File Offset: 0x005FBEEC
|
|
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
|
|
public event Action FKIMIOHBKML;
|
|
|
|
// Token: 0x06015828 RID: 88104 RVA: 0x005FDD40 File Offset: 0x005FBF40
|
|
public bool DDNOONHCAOL()
|
|
{
|
|
return this.<CAMMPCHFKBN>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06015829 RID: 88105 RVA: 0x005FDD48 File Offset: 0x005FBF48
|
|
public bool BAADCCLKLIP()
|
|
{
|
|
return this.<IOKANOGLLDJ>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008BB RID: 2235
|
|
// (get) Token: 0x0601582A RID: 88106 RVA: 0x005FDD50 File Offset: 0x005FBF50
|
|
// (set) Token: 0x0601583F RID: 88127 RVA: 0x005FE168 File Offset: 0x005FC368
|
|
public Vector2 MHDDNLIGBGA { get; private set; }
|
|
|
|
// Token: 0x0601582B RID: 88107 RVA: 0x005FDD58 File Offset: 0x005FBF58
|
|
private void BLIKPBGOADK(bool NOBAPCOKFIL)
|
|
{
|
|
this.<INEHIFHPBHP>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0601582D RID: 88109 RVA: 0x005FDD6C File Offset: 0x005FBF6C
|
|
private void FCPFDBPIECH(int NOBAPCOKFIL)
|
|
{
|
|
this.<DOAHDBJBNKD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x17000897 RID: 2199
|
|
// (get) Token: 0x060158A3 RID: 88227 RVA: 0x005FF5C8 File Offset: 0x005FD7C8
|
|
// (set) Token: 0x0601582E RID: 88110 RVA: 0x005FDD78 File Offset: 0x005FBF78
|
|
public Vector2 GJEEEAELEJD { get; private set; }
|
|
|
|
// Token: 0x0601582F RID: 88111 RVA: 0x005FDD84 File Offset: 0x005FBF84
|
|
public void HHNAEEIFDCP(GameObject NOBAPCOKFIL)
|
|
{
|
|
this.<DAMCACLJNOF>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x17000898 RID: 2200
|
|
// (get) Token: 0x060158CA RID: 88266 RVA: 0x005FFA34 File Offset: 0x005FDC34
|
|
// (set) Token: 0x06015830 RID: 88112 RVA: 0x005FDD90 File Offset: 0x005FBF90
|
|
public bool LICGINDNKGI { get; private set; }
|
|
|
|
// Token: 0x06015831 RID: 88113 RVA: 0x005FDD9C File Offset: 0x005FBF9C
|
|
private void MOALMJCJNAM(ushort ALIEDIACJEO, bool CCNOKLKMPFC)
|
|
{
|
|
switch (ControllerIO.OLCOCPIALFA)
|
|
{
|
|
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
|
|
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
|
|
if (this.HJNLIIKJJFO)
|
|
{
|
|
PNLCMOFOFOH.OOPOGLBNJPF oopoglbnjpf = PNLCMOFOFOH.KHOLKDHABII((int)this.MOBGJJOIPJM);
|
|
if (CCNOKLKMPFC)
|
|
{
|
|
oopoglbnjpf.BLAOIIFDDED(ALIEDIACJEO, LKMJJEMLLKJ.k_EButton_Axis0);
|
|
}
|
|
else
|
|
{
|
|
oopoglbnjpf.BLAOIIFDDED(ALIEDIACJEO, LKMJJEMLLKJ.k_EButton_Axis0);
|
|
}
|
|
}
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.Oculus:
|
|
if (this.HJNLIIKJJFO)
|
|
{
|
|
int num = Mathf.Max(1, (int)(ALIEDIACJEO / 3125));
|
|
if (this.DPPDNJDDPAP.NKEHDKABAPE > num)
|
|
{
|
|
this.DPPDNJDDPAP.CGEIHDMHIIE();
|
|
}
|
|
while (this.DPPDNJDDPAP.NKEHDKABAPE < num)
|
|
{
|
|
this.DPPDNJDDPAP.EJGBABGGBEC(byte.MaxValue);
|
|
}
|
|
LCNKCMKDHNE.LMECBBIEIOI lmecbbieioi = ((this.hand != ControllerIO.HMMEBFHABKA.LeftHand) ? LCNKCMKDHNE.BHGOGCLMJMK : LCNKCMKDHNE.MBMAOCKOECM);
|
|
lmecbbieioi.CEHGIAKBONG(this.DPPDNJDDPAP);
|
|
}
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.PS4_Move:
|
|
if (this.HJNLIIKJJFO)
|
|
{
|
|
}
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
|
|
if (this.HJNLIIKJJFO)
|
|
{
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000882 RID: 2178
|
|
// (get) Token: 0x060158E1 RID: 88289 RVA: 0x005FFBA4 File Offset: 0x005FDDA4
|
|
// (set) Token: 0x06015832 RID: 88114 RVA: 0x005FDEB8 File Offset: 0x005FC0B8
|
|
public MMFHKCELIGG.FLCHFADOMJG HBGKIHLMANG { get; private set; }
|
|
|
|
// Token: 0x06015833 RID: 88115 RVA: 0x005FDEC4 File Offset: 0x005FC0C4
|
|
private void HKPDAIOAHLN(bool NOBAPCOKFIL)
|
|
{
|
|
this.<PBKGJDIFNOJ>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015834 RID: 88116 RVA: 0x005FDED0 File Offset: 0x005FC0D0
|
|
private void BIEKGCKKFGM(int NOBAPCOKFIL)
|
|
{
|
|
this.<DOAHDBJBNKD>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x170008AC RID: 2220
|
|
// (get) Token: 0x0601584F RID: 88143 RVA: 0x005FE274 File Offset: 0x005FC474
|
|
// (set) Token: 0x06015835 RID: 88117 RVA: 0x005FDEDC File Offset: 0x005FC0DC
|
|
public bool FIIPPMJEKNN { get; private set; }
|
|
|
|
// Token: 0x1700087D RID: 2173
|
|
// (get) Token: 0x06015836 RID: 88118 RVA: 0x005FDEE8 File Offset: 0x005FC0E8
|
|
// (set) Token: 0x06015860 RID: 88160 RVA: 0x005FE3B0 File Offset: 0x005FC5B0
|
|
public float NDLLEDPMPNF
|
|
{
|
|
get
|
|
{
|
|
return this.OLOPMGMHJOC;
|
|
}
|
|
set
|
|
{
|
|
this.OLOPMGMHJOC = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06015838 RID: 88120 RVA: 0x005FDEF8 File Offset: 0x005FC0F8
|
|
private void JODMHOGHFIG()
|
|
{
|
|
this.HJNLIIKJJFO = this.FEBOGIEKGPL.HJNLIIKJJFO;
|
|
this.NDPGGDEPEJG = this.FEBOGIEKGPL.NDPGGDEPEJG;
|
|
this.EFEKGINOBLK = Vector3.zero;
|
|
this.MOBLIEGOIDK = Vector3.zero;
|
|
if (this.HJNLIIKJJFO)
|
|
{
|
|
if (this.NDPGGDEPEJG)
|
|
{
|
|
this.CIFEOIFFFBB.localPosition = this.FEBOGIEKGPL.BKGANBOJBNN;
|
|
this.EFEKGINOBLK = this.CIFEOIFFFBB.parent.TransformVector(this.FEBOGIEKGPL.FOBHCBKHKPN) * this.OLOPMGMHJOC;
|
|
}
|
|
this.CIFEOIFFFBB.localRotation = this.FEBOGIEKGPL.ILJFHFEAAHK;
|
|
this.MOBLIEGOIDK = this.CIFEOIFFFBB.parent.TransformVector(this.FEBOGIEKGPL.HOCKNOONMCO) * this.FECCIHAKCPI;
|
|
if (this.FKIMIOHBKML != null)
|
|
{
|
|
this.FKIMIOHBKML();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06015839 RID: 88121 RVA: 0x005FDFF0 File Offset: 0x005FC1F0
|
|
public Vector3? KFDNHLNJBIL()
|
|
{
|
|
return this.<LFBBGPANANP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0601583B RID: 88123 RVA: 0x005FE000 File Offset: 0x005FC200
|
|
public bool OOIDEECDBAA()
|
|
{
|
|
return this.<JJECJHJJNED>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0601583C RID: 88124 RVA: 0x005FE008 File Offset: 0x005FC208
|
|
private void DNNKDFKGMJG(OCINCFKMHBE[] HKPLFKDPJFA)
|
|
{
|
|
JLNMMEFJJMO jlnmmefjjmo = ((this.hand != ControllerIO.HMMEBFHABKA.LeftHand) ? JLNMMEFJJMO.RightHand : JLNMMEFJJMO.LeftHand);
|
|
PPICLAHFMDO ppiclahfmdo = PONCCGLALMO.BIDDENKOJEF;
|
|
this.MOBGJJOIPJM = ((ppiclahfmdo == null) ? uint.MaxValue : ppiclahfmdo.JFKJCMOCCHG(jlnmmefjjmo));
|
|
if ((ulong)this.MOBGJJOIPJM >= (ulong)((long)HKPLFKDPJFA.Length))
|
|
{
|
|
this.HJNLIIKJJFO = false;
|
|
this.NDPGGDEPEJG = false;
|
|
}
|
|
else
|
|
{
|
|
this.HJNLIIKJJFO = HKPLFKDPJFA[(int)((UIntPtr)this.MOBGJJOIPJM)].LACBPHNDLNP;
|
|
this.NDPGGDEPEJG = HKPLFKDPJFA[(int)((UIntPtr)this.MOBGJJOIPJM)].MLFHGDKPAAF;
|
|
if (this.HJNLIIKJJFO)
|
|
{
|
|
GGJHKKJMNKB.RigidTransform rigidTransform = new GGJHKKJMNKB.RigidTransform(HKPLFKDPJFA[(int)((UIntPtr)this.MOBGJJOIPJM)].LHKCGGLDEGJ);
|
|
this.CIFEOIFFFBB.localPosition = rigidTransform.pos;
|
|
this.CIFEOIFFFBB.localRotation = rigidTransform.rot;
|
|
PNLCMOFOFOH.OOPOGLBNJPF oopoglbnjpf = PNLCMOFOFOH.KHOLKDHABII((int)this.MOBGJJOIPJM);
|
|
this.EFEKGINOBLK = this.CIFEOIFFFBB.parent.TransformVector(oopoglbnjpf.IGOFELJMFOF) * this.OLOPMGMHJOC;
|
|
this.MOBLIEGOIDK = this.CIFEOIFFFBB.parent.TransformVector(oopoglbnjpf.CCHAEPGJJLI) * this.FECCIHAKCPI;
|
|
if (this.FKIMIOHBKML != null)
|
|
{
|
|
this.FKIMIOHBKML();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601583D RID: 88125 RVA: 0x005FE154 File Offset: 0x005FC354
|
|
private void PFFFJGFHMCD(MMFHKCELIGG.FLCHFADOMJG NOBAPCOKFIL)
|
|
{
|
|
this.<NLBJEIJPAGF>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x1700089E RID: 2206
|
|
// (get) Token: 0x0601583E RID: 88126 RVA: 0x005FE160 File Offset: 0x005FC360
|
|
// (set) Token: 0x060158A7 RID: 88231 RVA: 0x005FF620 File Offset: 0x005FD820
|
|
public bool KDIOGBLJEDG { get; private set; }
|
|
|
|
// Token: 0x06015840 RID: 88128 RVA: 0x005FE174 File Offset: 0x005FC374
|
|
public bool MFFOHBJCOKM()
|
|
{
|
|
return this.<MNMKJNCMPPB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x17000896 RID: 2198
|
|
// (get) Token: 0x06015861 RID: 88161 RVA: 0x005FE3BC File Offset: 0x005FC5BC
|
|
// (set) Token: 0x06015842 RID: 88130 RVA: 0x005FE188 File Offset: 0x005FC388
|
|
public bool EELFHCNCAHG { get; private set; }
|
|
|
|
// Token: 0x06015843 RID: 88131 RVA: 0x005FE194 File Offset: 0x005FC394
|
|
private void OKKCBIOIIIA(int NOBAPCOKFIL)
|
|
{
|
|
this.<BMGKGFOPBIC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015847 RID: 88135 RVA: 0x005FE1B8 File Offset: 0x005FC3B8
|
|
private void Update()
|
|
{
|
|
switch (ControllerIO.OLCOCPIALFA)
|
|
{
|
|
case ControllerIO.DNOKPKDGGKB.Debug:
|
|
this.LMAGOHCBOGK();
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
|
|
this.BJJADJPIAFD();
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
|
|
this.BPCNFMFGBDH();
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.Oculus:
|
|
this.KBJAIALKPGI();
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.PS4_Move:
|
|
this.PMDCJCOHAJL();
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
|
|
this.GNNBMGNCFDC();
|
|
break;
|
|
}
|
|
this.NEDNFBKJJEE();
|
|
}
|
|
|
|
// Token: 0x06015848 RID: 88136 RVA: 0x005FE238 File Offset: 0x005FC438
|
|
public float AEKBJDMLPJP()
|
|
{
|
|
return this.<JALNGONAKLO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008A3 RID: 2211
|
|
// (get) Token: 0x0601585C RID: 88156 RVA: 0x005FE38C File Offset: 0x005FC58C
|
|
// (set) Token: 0x06015849 RID: 88137 RVA: 0x005FE240 File Offset: 0x005FC440
|
|
public bool BHEFNPMIIAK { get; private set; }
|
|
|
|
// Token: 0x17000885 RID: 2181
|
|
// (get) Token: 0x0601584A RID: 88138 RVA: 0x005FE24C File Offset: 0x005FC44C
|
|
// (set) Token: 0x060158E4 RID: 88292 RVA: 0x005FFBC0 File Offset: 0x005FDDC0
|
|
public int ICDGDLBGGGB { get; private set; }
|
|
|
|
// Token: 0x1700089A RID: 2202
|
|
// (get) Token: 0x0601584B RID: 88139 RVA: 0x005FE254 File Offset: 0x005FC454
|
|
// (set) Token: 0x060158B0 RID: 88240 RVA: 0x005FF7BC File Offset: 0x005FD9BC
|
|
public bool KAJAIMHHEKP { get; private set; }
|
|
|
|
// Token: 0x170008B2 RID: 2226
|
|
// (get) Token: 0x0601584C RID: 88140 RVA: 0x005FE25C File Offset: 0x005FC45C
|
|
// (set) Token: 0x0601588A RID: 88202 RVA: 0x005FE900 File Offset: 0x005FCB00
|
|
public bool NFMBOBOMJFG { get; set; }
|
|
|
|
// Token: 0x0601584D RID: 88141 RVA: 0x005FE264 File Offset: 0x005FC464
|
|
public int GFNJKLHDIMG()
|
|
{
|
|
return this.<DOAHDBJBNKD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0601584E RID: 88142 RVA: 0x005FE26C File Offset: 0x005FC46C
|
|
public bool JDNMIMPPOGJ()
|
|
{
|
|
return this.<DAALNEMFDBI>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06015850 RID: 88144 RVA: 0x005FE27C File Offset: 0x005FC47C
|
|
public void GNHDNJAKOIM(bool NOBAPCOKFIL)
|
|
{
|
|
this.<LECPOOJCKAJ>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015851 RID: 88145 RVA: 0x005FE288 File Offset: 0x005FC488
|
|
private void NEDNFBKJJEE()
|
|
{
|
|
this.ENMBKJMLBLD.DLBPEOILIFL(this.MDGFEPNJFJK);
|
|
this.GICLGMOLOOC = this.ENMBKJMLBLD.HGMPIKBHIBI;
|
|
this.CBCHNPOMNPF = this.ENMBKJMLBLD.LHOIAOGBHBK;
|
|
this.OFDCCGLFEOJ = this.ENMBKJMLBLD.PAAEBAGPFNM;
|
|
this.NBJKMPCOBKL.DLBPEOILIFL(this.HOIHCLJDHJB);
|
|
this.CMKCDHGNMIE = this.NBJKMPCOBKL.HGMPIKBHIBI;
|
|
this.GJLECMFKAJD = this.NBJKMPCOBKL.LHOIAOGBHBK;
|
|
this.JMFABNJFCIG = this.NBJKMPCOBKL.PAAEBAGPFNM;
|
|
}
|
|
|
|
// Token: 0x06015852 RID: 88146 RVA: 0x005FE320 File Offset: 0x005FC520
|
|
public bool FMJKNJHFMKP()
|
|
{
|
|
return this.<DAALNEMFDBI>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008AE RID: 2222
|
|
// (get) Token: 0x0601588D RID: 88205 RVA: 0x005FE920 File Offset: 0x005FCB20
|
|
// (set) Token: 0x06015853 RID: 88147 RVA: 0x005FE328 File Offset: 0x005FC528
|
|
public bool IOJFMGCEJEN { get; set; }
|
|
|
|
// Token: 0x06015854 RID: 88148 RVA: 0x005FE334 File Offset: 0x005FC534
|
|
public bool DEGJMJAKEFF()
|
|
{
|
|
return this.<PJEOFHJPNIB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008CB RID: 2251
|
|
// (get) Token: 0x060158B5 RID: 88245 RVA: 0x005FF900 File Offset: 0x005FDB00
|
|
// (set) Token: 0x06015855 RID: 88149 RVA: 0x005FE33C File Offset: 0x005FC53C
|
|
public Vector3 DLLHGOEHGCM { get; set; }
|
|
|
|
// Token: 0x06015857 RID: 88151 RVA: 0x005FE354 File Offset: 0x005FC554
|
|
private void IPJIHJJIAGA(bool NOBAPCOKFIL)
|
|
{
|
|
this.<DAALNEMFDBI>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015858 RID: 88152 RVA: 0x005FE360 File Offset: 0x005FC560
|
|
public void OCKCHDDAOBL(float NOBAPCOKFIL)
|
|
{
|
|
this.OLOPMGMHJOC = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015859 RID: 88153 RVA: 0x005FE36C File Offset: 0x005FC56C
|
|
public bool NBLPGJNDKIE()
|
|
{
|
|
return this.<DGGLLDNJEBD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0601585A RID: 88154 RVA: 0x005FE374 File Offset: 0x005FC574
|
|
private void EOLNJAJCCHO(bool NOBAPCOKFIL)
|
|
{
|
|
this.<DDNFBAJCMOJ>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0601585E RID: 88158 RVA: 0x005FE39C File Offset: 0x005FC59C
|
|
public bool FNOAJNAEALD()
|
|
{
|
|
return this.<DKKDPFNOHDG>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06015862 RID: 88162 RVA: 0x005FE3C4 File Offset: 0x005FC5C4
|
|
public static ControllerIO.DNOKPKDGGKB AOCAKBPHKEN()
|
|
{
|
|
if (SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM != null && SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM.LOLPFEFLKJN == PlatformManager.JNJEBIDGBNH.OCULUS)
|
|
{
|
|
return ControllerIO.DNOKPKDGGKB.SteamVR_Vive;
|
|
}
|
|
if (SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM != null && SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM.CAPNFDEMGEC == PlatformManager.NEDLHEIPFJO.VIVE)
|
|
{
|
|
return ControllerIO.DNOKPKDGGKB.SteamVR_Vive;
|
|
}
|
|
if (SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM != null && SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM.CAPNFDEMGEC == (PlatformManager.NEDLHEIPFJO)7)
|
|
{
|
|
return ControllerIO.DNOKPKDGGKB.SteamVR_Vive;
|
|
}
|
|
if (SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM != null && SingletonMonoBehaviour<PlatformManager>.NCKMBFBMBFM.CAPNFDEMGEC == PlatformManager.NEDLHEIPFJO.OCULUS)
|
|
{
|
|
return ControllerIO.DNOKPKDGGKB.PS4_Move;
|
|
}
|
|
return ControllerIO.DNOKPKDGGKB.Debug;
|
|
}
|
|
|
|
// Token: 0x170008BA RID: 2234
|
|
// (get) Token: 0x060158B6 RID: 88246 RVA: 0x005FF908 File Offset: 0x005FDB08
|
|
// (set) Token: 0x06015864 RID: 88164 RVA: 0x005FE468 File Offset: 0x005FC668
|
|
public float ECJCPCAILJD { get; private set; }
|
|
|
|
// Token: 0x06015866 RID: 88166 RVA: 0x005FE480 File Offset: 0x005FC680
|
|
private void OHNFKPPKKEO(Vector2 NOBAPCOKFIL)
|
|
{
|
|
this.<MNPAMJFALEA>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015867 RID: 88167 RVA: 0x005FE48C File Offset: 0x005FC68C
|
|
private void OFFIMPEKLCL()
|
|
{
|
|
if ((ControllerIO.OLCOCPIALFA == (ControllerIO.DNOKPKDGGKB)8 || ControllerIO.AOCAKBPHKEN() == ControllerIO.DNOKPKDGGKB.SteamVR_Vive) && this.JLOIJPLGPBH != null)
|
|
{
|
|
this.JLOIJPLGPBH.KELIMOCDMOD = true;
|
|
this.JLOIJPLGPBH = null;
|
|
}
|
|
else if (ControllerIO.AOCAKBPHKEN() == ControllerIO.DNOKPKDGGKB.PS4_Move)
|
|
{
|
|
OVRManager.IDBNGMOMKGK -= this.ADAIIMJFDGN;
|
|
}
|
|
else if (ControllerIO.AOCAKBPHKEN() == (ControllerIO.DNOKPKDGGKB)8)
|
|
{
|
|
this.FEBOGIEKGPL.IBBADGBCGEE(new Action(this.MKMGEHMIAOB));
|
|
}
|
|
else if (ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.SteamVR_Oculus)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x06015868 RID: 88168 RVA: 0x005FE528 File Offset: 0x005FC728
|
|
private void MKMAMKDILHL()
|
|
{
|
|
if ((ControllerIO.AOCAKBPHKEN() == (ControllerIO.DNOKPKDGGKB)8 || ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.SteamVR_Vive) && this.JLOIJPLGPBH != null)
|
|
{
|
|
this.JLOIJPLGPBH.KELIMOCDMOD = true;
|
|
this.JLOIJPLGPBH = null;
|
|
}
|
|
else if (ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN)
|
|
{
|
|
OVRManager.IDBNGMOMKGK -= this.OADGNBIDIJG;
|
|
}
|
|
else if (ControllerIO.AOCAKBPHKEN() == ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN)
|
|
{
|
|
this.FEBOGIEKGPL.GCLDPGEMHED(new Action(this.MKMGEHMIAOB));
|
|
}
|
|
else if (ControllerIO.AOCAKBPHKEN() == (ControllerIO.DNOKPKDGGKB)6)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x170008C6 RID: 2246
|
|
// (get) Token: 0x06015869 RID: 88169 RVA: 0x005FE5C4 File Offset: 0x005FC7C4
|
|
// (set) Token: 0x06015871 RID: 88177 RVA: 0x005FE71C File Offset: 0x005FC91C
|
|
public bool HJNLIIKJJFO { get; private set; }
|
|
|
|
// Token: 0x17000886 RID: 2182
|
|
// (get) Token: 0x0601586A RID: 88170 RVA: 0x005FE5CC File Offset: 0x005FC7CC
|
|
// (set) Token: 0x060158AC RID: 88236 RVA: 0x005FF778 File Offset: 0x005FD978
|
|
public int MAEDNALEGIO { get; private set; }
|
|
|
|
// Token: 0x170008C9 RID: 2249
|
|
// (get) Token: 0x060158CB RID: 88267 RVA: 0x005FFA3C File Offset: 0x005FDC3C
|
|
// (set) Token: 0x0601586D RID: 88173 RVA: 0x005FE5E4 File Offset: 0x005FC7E4
|
|
public GameObject JEOMNPPGDEP { get; set; }
|
|
|
|
// Token: 0x0601586E RID: 88174 RVA: 0x005FE5F0 File Offset: 0x005FC7F0
|
|
private void PEOGJHJJDCO(ushort ALIEDIACJEO, bool CCNOKLKMPFC)
|
|
{
|
|
switch (ControllerIO.OLCOCPIALFA)
|
|
{
|
|
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
|
|
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
|
|
if (this.NBLPGJNDKIE())
|
|
{
|
|
PNLCMOFOFOH.OOPOGLBNJPF oopoglbnjpf = PNLCMOFOFOH.HFOKDKKOPGC((int)this.MOBGJJOIPJM);
|
|
if (CCNOKLKMPFC)
|
|
{
|
|
oopoglbnjpf.NHFIGMODKIG(ALIEDIACJEO, (LKMJJEMLLKJ)(-87));
|
|
}
|
|
else
|
|
{
|
|
oopoglbnjpf.BLAOIIFDDED(ALIEDIACJEO, (LKMJJEMLLKJ)(-34));
|
|
}
|
|
}
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.Oculus:
|
|
if (this.NBLPGJNDKIE())
|
|
{
|
|
int num = Mathf.Max(1, (int)(ALIEDIACJEO / 151));
|
|
if (this.DPPDNJDDPAP.NKEHDKABAPE > num)
|
|
{
|
|
this.DPPDNJDDPAP.CGEIHDMHIIE();
|
|
}
|
|
while (this.DPPDNJDDPAP.NJHICCEBKJE() < num)
|
|
{
|
|
this.DPPDNJDDPAP.AGENAOGNGIJ(43);
|
|
}
|
|
LCNKCMKDHNE.LMECBBIEIOI lmecbbieioi = ((this.hand != ControllerIO.HMMEBFHABKA.LeftHand) ? LCNKCMKDHNE.BHGOGCLMJMK : LCNKCMKDHNE.MBMAOCKOECM);
|
|
lmecbbieioi.NLPNCPEPGCM(this.DPPDNJDDPAP);
|
|
}
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.PS4_Move:
|
|
if (this.KCIDGDPHEKH())
|
|
{
|
|
}
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
|
|
if (this.KCIDGDPHEKH())
|
|
{
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601586F RID: 88175 RVA: 0x005FE70C File Offset: 0x005FC90C
|
|
private void GNNBMGNCFDC()
|
|
{
|
|
}
|
|
|
|
// Token: 0x06015870 RID: 88176 RVA: 0x005FE710 File Offset: 0x005FC910
|
|
private void DJCHOHEGLIO(float NOBAPCOKFIL)
|
|
{
|
|
this.<JALNGONAKLO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015872 RID: 88178 RVA: 0x005FE728 File Offset: 0x005FC928
|
|
public MMFHKCELIGG.FLCHFADOMJG ABACCABPFBL()
|
|
{
|
|
return this.<GKLFCEAPGEF>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06015873 RID: 88179 RVA: 0x005FE730 File Offset: 0x005FC930
|
|
private void OnDestroy()
|
|
{
|
|
if ((ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.SteamVR_Oculus || ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.SteamVR_Vive) && this.JLOIJPLGPBH != null)
|
|
{
|
|
this.JLOIJPLGPBH.KELIMOCDMOD = false;
|
|
this.JLOIJPLGPBH = null;
|
|
}
|
|
else if (ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.Oculus)
|
|
{
|
|
OVRManager.IDBNGMOMKGK -= this.ADAIIMJFDGN;
|
|
}
|
|
else if (ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.PS4_Move)
|
|
{
|
|
this.FEBOGIEKGPL.LPNPDJAGOCO -= this.JODMHOGHFIG;
|
|
}
|
|
else if (ControllerIO.OLCOCPIALFA == ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN)
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x06015874 RID: 88180 RVA: 0x005FE7CC File Offset: 0x005FC9CC
|
|
private Coroutine NNEHBEENNKJ(int MDMOMCDDFHH = 1, ushort GIDMADJPECM = 1000)
|
|
{
|
|
return base.StartCoroutine(this.FCPDAFIAAAD(MDMOMCDDFHH, GIDMADJPECM, true));
|
|
}
|
|
|
|
// Token: 0x170008BD RID: 2237
|
|
// (get) Token: 0x060158B7 RID: 88247 RVA: 0x005FF910 File Offset: 0x005FDB10
|
|
// (set) Token: 0x06015877 RID: 88183 RVA: 0x005FE7F8 File Offset: 0x005FC9F8
|
|
public bool FPDDIJPJLJN { get; private set; }
|
|
|
|
// Token: 0x170008A1 RID: 2209
|
|
// (get) Token: 0x06015878 RID: 88184 RVA: 0x005FE804 File Offset: 0x005FCA04
|
|
// (set) Token: 0x0601587A RID: 88186 RVA: 0x005FE82C File Offset: 0x005FCA2C
|
|
public bool JIOMONEKLPP { get; private set; }
|
|
|
|
// Token: 0x1700087C RID: 2172
|
|
// (get) Token: 0x06015879 RID: 88185 RVA: 0x005FE80C File Offset: 0x005FCA0C
|
|
private KGFOHKFKAIL DPPDNJDDPAP
|
|
{
|
|
get
|
|
{
|
|
if (this.KFINKICFDPA == null)
|
|
{
|
|
this.KFINKICFDPA = new KGFOHKFKAIL();
|
|
}
|
|
return this.KFINKICFDPA;
|
|
}
|
|
}
|
|
|
|
// Token: 0x170008CF RID: 2255
|
|
// (get) Token: 0x0601587B RID: 88187 RVA: 0x005FE838 File Offset: 0x005FCA38
|
|
// (set) Token: 0x0601589B RID: 88219 RVA: 0x005FF570 File Offset: 0x005FD770
|
|
public ControllerIO.KJJKAFNOLLL HANFGNDDNAM { get; set; }
|
|
|
|
// Token: 0x17000891 RID: 2193
|
|
// (get) Token: 0x0601587D RID: 88189 RVA: 0x005FE848 File Offset: 0x005FCA48
|
|
public bool KCBBEAHDPGB
|
|
{
|
|
get
|
|
{
|
|
return this.CMKCDHGNMIE;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601587E RID: 88190 RVA: 0x005FE850 File Offset: 0x005FCA50
|
|
public bool KGACAHIGEEG()
|
|
{
|
|
return this.<FPAIJOPNHBO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0601587F RID: 88191 RVA: 0x005FE858 File Offset: 0x005FCA58
|
|
public Vector3 IGDKINFEFFN()
|
|
{
|
|
return this.<KDBLKLEMHML>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008AD RID: 2221
|
|
// (get) Token: 0x060158D8 RID: 88280 RVA: 0x005FFB4C File Offset: 0x005FDD4C
|
|
// (set) Token: 0x06015880 RID: 88192 RVA: 0x005FE860 File Offset: 0x005FCA60
|
|
public bool KFGEOMPOOLM { get; set; }
|
|
|
|
// Token: 0x06015881 RID: 88193 RVA: 0x005FE86C File Offset: 0x005FCA6C
|
|
private void GFDDAMOHEGD(bool NOBAPCOKFIL)
|
|
{
|
|
this.HIIJOCABPKF = NOBAPCOKFIL;
|
|
if (this.HIIJOCABPKF)
|
|
{
|
|
this.ECJCPCAILJD = Time.time;
|
|
this.FNANNJBJKEC(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06015883 RID: 88195 RVA: 0x005FE8A0 File Offset: 0x005FCAA0
|
|
private void LMGOFPPLBDH(bool NOBAPCOKFIL)
|
|
{
|
|
this.HIIJOCABPKF = NOBAPCOKFIL;
|
|
if (this.HIIJOCABPKF)
|
|
{
|
|
this.ECJCPCAILJD = Time.time;
|
|
this.FNANNJBJKEC(true);
|
|
}
|
|
}
|
|
|
|
// Token: 0x170008BF RID: 2239
|
|
// (get) Token: 0x06015885 RID: 88197 RVA: 0x005FE8D4 File Offset: 0x005FCAD4
|
|
// (set) Token: 0x06015896 RID: 88214 RVA: 0x005FF544 File Offset: 0x005FD744
|
|
public bool OFDOOHOIGJO { get; private set; }
|
|
|
|
// Token: 0x170008C3 RID: 2243
|
|
// (get) Token: 0x06015886 RID: 88198 RVA: 0x005FE8DC File Offset: 0x005FCADC
|
|
// (set) Token: 0x060158C0 RID: 88256 RVA: 0x005FF99C File Offset: 0x005FDB9C
|
|
public bool AIGGJAPLLOL { get; private set; }
|
|
|
|
// Token: 0x17000884 RID: 2180
|
|
// (get) Token: 0x060158AF RID: 88239 RVA: 0x005FF7B4 File Offset: 0x005FD9B4
|
|
// (set) Token: 0x06015887 RID: 88199 RVA: 0x005FE8E4 File Offset: 0x005FCAE4
|
|
public bool BMEPKKILAEH { get; private set; }
|
|
|
|
// Token: 0x06015888 RID: 88200 RVA: 0x005FE8F0 File Offset: 0x005FCAF0
|
|
public bool JNGJGBFJDHL()
|
|
{
|
|
return this.<HKOHNMEOLAP>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008AF RID: 2223
|
|
// (get) Token: 0x0601588B RID: 88203 RVA: 0x005FE90C File Offset: 0x005FCB0C
|
|
// (set) Token: 0x0601589D RID: 88221 RVA: 0x005FF588 File Offset: 0x005FD788
|
|
public bool GICLGMOLOOC { get; private set; }
|
|
|
|
// Token: 0x0601588C RID: 88204 RVA: 0x005FE914 File Offset: 0x005FCB14
|
|
public void JPKAEEMMIKN(float NOBAPCOKFIL)
|
|
{
|
|
this.OLOPMGMHJOC = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x170008CC RID: 2252
|
|
// (get) Token: 0x060158E3 RID: 88291 RVA: 0x005FFBB8 File Offset: 0x005FDDB8
|
|
// (set) Token: 0x0601588E RID: 88206 RVA: 0x005FE928 File Offset: 0x005FCB28
|
|
public bool LDHFKELEHJJ { get; set; }
|
|
|
|
// Token: 0x0601588F RID: 88207 RVA: 0x005FE934 File Offset: 0x005FCB34
|
|
private void KBJAIALKPGI()
|
|
{
|
|
LDLBCCLPCGM.MFOJACCHCAA mfojacchcaa = ((this.hand != ControllerIO.HMMEBFHABKA.LeftHand) ? LDLBCCLPCGM.MFOJACCHCAA.RTouch : LDLBCCLPCGM.MFOJACCHCAA.LTouch);
|
|
if (this.HJNLIIKJJFO && OVRManager.ELDBIKAPLMJ)
|
|
{
|
|
if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.Standard)
|
|
{
|
|
this.LGNDIFCKNOH = LDLBCCLPCGM.CPIBGJLHLBL(this.oculus.MenuButton, mfojacchcaa);
|
|
this.CLCPKPELOLB = LDLBCCLPCGM.KFHCIFDOAFE(this.oculus.MenuButton, mfojacchcaa);
|
|
this.EAEKKFOJPKF = LDLBCCLPCGM.BGFCJCANGBJ(this.oculus.MenuButton, mfojacchcaa);
|
|
this.MMJBNDBKBMF = LDLBCCLPCGM.CPIBGJLHLBL(this.oculus.TeleportButton, mfojacchcaa);
|
|
this.OOLDFEGABAN = LDLBCCLPCGM.KFHCIFDOAFE(this.oculus.TeleportButton, mfojacchcaa);
|
|
this.ENFOGDFMIJK = LDLBCCLPCGM.BGFCJCANGBJ(this.oculus.TeleportButton, mfojacchcaa);
|
|
this.AMNICMMDJJO = LDLBCCLPCGM.CPIBGJLHLBL(this.oculus.PushToTalkButton, mfojacchcaa);
|
|
this.KJKMFBBMBBB = LDLBCCLPCGM.KFHCIFDOAFE(this.oculus.PushToTalkButton, mfojacchcaa);
|
|
this.EDAGMAALHMB = LDLBCCLPCGM.BGFCJCANGBJ(this.oculus.PushToTalkButton, mfojacchcaa);
|
|
this.NIALLPKOEME = LDLBCCLPCGM.CPIBGJLHLBL(this.oculus.FlyModeModifierButton, mfojacchcaa);
|
|
this.EJJHJBADGMH = LDLBCCLPCGM.KFHCIFDOAFE(this.oculus.FlyModeModifierButton, mfojacchcaa);
|
|
this.EELFHCNCAHG = LDLBCCLPCGM.BGFCJCANGBJ(this.oculus.FlyModeModifierButton, mfojacchcaa);
|
|
this.GJEEEAELEJD = LDLBCCLPCGM.CPIBGJLHLBL(this.oculus.RotateAxis, mfojacchcaa);
|
|
this.LICGINDNKGI = this.GJEEEAELEJD.sqrMagnitude <= this.oculus.RotateAxisDeadzone * this.oculus.RotateAxisDeadzone;
|
|
this.oculus.ThumbstickDirectionButtons.DLBPEOILIFL(this.GJEEEAELEJD, this.LICGINDNKGI, true);
|
|
this.COFADFLICAN = this.oculus.ThumbstickDirectionButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.RIGHT);
|
|
this.KAJAIMHHEKP = this.oculus.ThumbstickDirectionButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.RIGHT);
|
|
this.DOGCADLOIIA = this.oculus.ThumbstickDirectionButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.RIGHT);
|
|
this.BLMOMODOGAD = this.oculus.ThumbstickDirectionButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.BNFMHJIPADB = this.oculus.ThumbstickDirectionButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.KDIOGBLJEDG = this.oculus.ThumbstickDirectionButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.IDEKOAOMPGJ = this.oculus.ThumbstickDirectionButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.DOWN);
|
|
this.IEJNOFPIMMO = this.oculus.ThumbstickDirectionButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.DOWN);
|
|
this.JIOMONEKLPP = this.oculus.ThumbstickDirectionButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.DOWN);
|
|
this.MDGFEPNJFJK = 0f;
|
|
foreach (LDLBCCLPCGM.EGHLMPFEPHJ eghlmpfephj in this.oculus.PickupAxes)
|
|
{
|
|
this.MDGFEPNJFJK = Mathf.Max(this.MDGFEPNJFJK, LDLBCCLPCGM.CPIBGJLHLBL(eghlmpfephj, mfojacchcaa));
|
|
}
|
|
this.BHEFNPMIIAK = false;
|
|
this.DGBAAJDGNBN = false;
|
|
this.CKIMNLICEIC = false;
|
|
foreach (LDLBCCLPCGM.MGDCHCJJGMA mgdchcjjgma in this.oculus.PickupButtons)
|
|
{
|
|
this.BHEFNPMIIAK |= LDLBCCLPCGM.CPIBGJLHLBL(mgdchcjjgma, mfojacchcaa);
|
|
this.DGBAAJDGNBN |= LDLBCCLPCGM.KFHCIFDOAFE(mgdchcjjgma, mfojacchcaa);
|
|
this.CKIMNLICEIC |= LDLBCCLPCGM.BGFCJCANGBJ(mgdchcjjgma, mfojacchcaa);
|
|
}
|
|
this.HOIHCLJDHJB = LDLBCCLPCGM.CPIBGJLHLBL(this.oculus.TriggerAxis, mfojacchcaa);
|
|
this.LLNHNIOEHLN = LDLBCCLPCGM.CPIBGJLHLBL(this.oculus.TriggerButton, mfojacchcaa);
|
|
this.MBIDCPPKKHE = LDLBCCLPCGM.KFHCIFDOAFE(this.oculus.TriggerButton, mfojacchcaa);
|
|
this.PJBPELKHEPF = LDLBCCLPCGM.BGFCJCANGBJ(this.oculus.TriggerButton, mfojacchcaa);
|
|
}
|
|
else if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.Calibration)
|
|
{
|
|
this.FIIPPMJEKNN = LDLBCCLPCGM.KFHCIFDOAFE(this.oculus.PushToTalkButton, LDLBCCLPCGM.MFOJACCHCAA.Active);
|
|
this.MBIDCPPKKHE = LDLBCCLPCGM.KFHCIFDOAFE(this.oculus.TriggerButton, mfojacchcaa);
|
|
this.NFBPPEPPJPB = LDLBCCLPCGM.KFHCIFDOAFE(this.oculus.MenuButton, mfojacchcaa);
|
|
this.GNOJOKAOOKP = LDLBCCLPCGM.KFHCIFDOAFE(this.oculus.TeleportButton, mfojacchcaa);
|
|
}
|
|
else if (this.HANFGNDDNAM == ControllerIO.KJJKAFNOLLL.RemoteControl)
|
|
{
|
|
this.MMJBNDBKBMF = false;
|
|
this.OOLDFEGABAN = false;
|
|
this.ENFOGDFMIJK = false;
|
|
this.AMNICMMDJJO = false;
|
|
this.KJKMFBBMBBB = false;
|
|
this.EDAGMAALHMB = false;
|
|
this.NIALLPKOEME = false;
|
|
this.EJJHJBADGMH = false;
|
|
this.EELFHCNCAHG = false;
|
|
this.GJEEEAELEJD = Vector2.zero;
|
|
this.LICGINDNKGI = true;
|
|
this.COFADFLICAN = false;
|
|
this.KAJAIMHHEKP = false;
|
|
this.DOGCADLOIIA = false;
|
|
this.BLMOMODOGAD = false;
|
|
this.BNFMHJIPADB = false;
|
|
this.KDIOGBLJEDG = false;
|
|
this.IDEKOAOMPGJ = false;
|
|
this.IEJNOFPIMMO = false;
|
|
this.JIOMONEKLPP = false;
|
|
this.MDGFEPNJFJK = 0f;
|
|
this.BHEFNPMIIAK = false;
|
|
this.DGBAAJDGNBN = false;
|
|
this.CKIMNLICEIC = false;
|
|
this.HOIHCLJDHJB = 0f;
|
|
this.LLNHNIOEHLN = false;
|
|
this.MBIDCPPKKHE = false;
|
|
this.PJBPELKHEPF = false;
|
|
this.MBDMMGOLDEJ = LDLBCCLPCGM.CPIBGJLHLBL(this.oculus.TriggerAxis, mfojacchcaa);
|
|
this.FPDDIJPJLJN = LDLBCCLPCGM.CPIBGJLHLBL(this.oculus.TriggerButton, mfojacchcaa);
|
|
this.GCMFEIGLBID = LDLBCCLPCGM.KFHCIFDOAFE(this.oculus.TriggerButton, mfojacchcaa);
|
|
this.OFDOOHOIGJO = LDLBCCLPCGM.BGFCJCANGBJ(this.oculus.TriggerButton, mfojacchcaa);
|
|
this.MHDDNLIGBGA = LDLBCCLPCGM.CPIBGJLHLBL(this.oculus.RotateAxis, mfojacchcaa);
|
|
this.LGNDIFCKNOH = LDLBCCLPCGM.CPIBGJLHLBL(this.oculus.MenuButton, mfojacchcaa);
|
|
this.CLCPKPELOLB = LDLBCCLPCGM.KFHCIFDOAFE(this.oculus.MenuButton, mfojacchcaa);
|
|
this.EAEKKFOJPKF = LDLBCCLPCGM.BGFCJCANGBJ(this.oculus.MenuButton, mfojacchcaa);
|
|
this.NLEHDGDGJLF = LDLBCCLPCGM.KFHCIFDOAFE(this.oculus.PickupButtons[0], mfojacchcaa);
|
|
this.IJBEGOMDFHM = LDLBCCLPCGM.CPIBGJLHLBL(this.oculus.PickupButtons[0], mfojacchcaa);
|
|
this.HKGCLPEAKME = LDLBCCLPCGM.BGFCJCANGBJ(this.oculus.PickupButtons[0], mfojacchcaa);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06015890 RID: 88208 RVA: 0x005FEF3C File Offset: 0x005FD13C
|
|
private void FACFKOFLENM(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<HHDJNLJHCPO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015891 RID: 88209 RVA: 0x005FEF48 File Offset: 0x005FD148
|
|
public bool CKKAAHPHBLP()
|
|
{
|
|
return this.<MINMMBAGOPM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x06015892 RID: 88210 RVA: 0x005FEF50 File Offset: 0x005FD150
|
|
private void OIGCCNMMEPG(bool NOBAPCOKFIL)
|
|
{
|
|
this.<JJECJHJJNED>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x06015893 RID: 88211 RVA: 0x005FEF5C File Offset: 0x005FD15C
|
|
public bool ECCKKFGNEKN()
|
|
{
|
|
return this.<OAMMKHDGCKN>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x17000883 RID: 2179
|
|
// (get) Token: 0x06015894 RID: 88212 RVA: 0x005FEF64 File Offset: 0x005FD164
|
|
// (set) Token: 0x060158A9 RID: 88233 RVA: 0x005FF634 File Offset: 0x005FD834
|
|
public MMFHKCELIGG.FLCHFADOMJG EPJFCIJEGGL { get; private set; }
|
|
|
|
// Token: 0x06015895 RID: 88213 RVA: 0x005FEF6C File Offset: 0x005FD16C
|
|
private void BOGKCJOENII()
|
|
{
|
|
if (this.HJNLIIKJJFO)
|
|
{
|
|
PNLCMOFOFOH.OOPOGLBNJPF oopoglbnjpf = PNLCMOFOFOH.HDFMGHCOBEM((int)this.MOBGJJOIPJM);
|
|
if (this.KPJDJLBGAOM() == ControllerIO.KJJKAFNOLLL.Standard)
|
|
{
|
|
this.LGNDIFCKNOH = oopoglbnjpf.JIOEPFGMFNN(this.steamVrOculus.MenuButton);
|
|
this.CLCPKPELOLB = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.MenuButton);
|
|
this.EAEKKFOJPKF = oopoglbnjpf.LKEIGBCNOEN(this.steamVrOculus.MenuButton);
|
|
this.MMJBNDBKBMF = oopoglbnjpf.MLGHJGJJKPA(this.steamVrOculus.TeleportButton);
|
|
this.OOLDFEGABAN = oopoglbnjpf.JNDCEFDBOII(this.steamVrOculus.TeleportButton);
|
|
this.ENFOGDFMIJK = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.TeleportButton);
|
|
this.GJEEEAELEJD = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.RotateAxis);
|
|
this.DHCDBGMFLEI(this.GJEEEAELEJD.sqrMagnitude <= this.steamVrOculus.RotateAxisDeadzone * this.steamVrOculus.RotateAxisDeadzone);
|
|
this.steamVrOculus.RotateAxisPressButtons.DLBPEOILIFL(this.GJEEEAELEJD, this.LICGINDNKGI, false);
|
|
this.COFADFLICAN = this.steamVrOculus.RotateAxisPressButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.LEFT);
|
|
this.KAJAIMHHEKP = this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.NONE);
|
|
this.DOGCADLOIIA = this.steamVrOculus.RotateAxisPressButtons.BGFCJCANGBJ((AxisButtons.AEHIHNMNDDE)7);
|
|
this.BLMOMODOGAD = this.steamVrOculus.RotateAxisPressButtons.POHOMIGBKEB(AxisButtons.AEHIHNMNDDE.NONE);
|
|
this.BLIKPBGOADK(this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.LEFT));
|
|
this.KDIOGBLJEDG = this.steamVrOculus.RotateAxisPressButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.NONE);
|
|
this.LJAFOMJBCGD(this.steamVrOculus.RotateAxisPressButtons.POHOMIGBKEB((AxisButtons.AEHIHNMNDDE)8));
|
|
this.IEJNOFPIMMO = this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.RIGHT);
|
|
this.OLIFEBJOKEM(this.steamVrOculus.RotateAxisPressButtons.BGFCJCANGBJ(AxisButtons.AEHIHNMNDDE.LEFT));
|
|
this.AMNICMMDJJO = oopoglbnjpf.MEKBNCPJJCB(this.steamVrOculus.PushToTalkButton);
|
|
this.KJKMFBBMBBB = oopoglbnjpf.JNDCEFDBOII(this.steamVrOculus.PushToTalkButton);
|
|
this.BKNBIEKOMFF(oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.PushToTalkButton));
|
|
this.NIALLPKOEME = oopoglbnjpf.DABAPJKGBMP(this.steamVrOculus.FlyModeModifierButton);
|
|
this.EJJHJBADGMH = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.FlyModeModifierButton);
|
|
this.OKBPKMLODNH(oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.FlyModeModifierButton));
|
|
this.MDGFEPNJFJK = 1459f;
|
|
this.BHEFNPMIIAK = false;
|
|
this.DGBAAJDGNBN = false;
|
|
this.CKIMNLICEIC = false;
|
|
LKMJJEMLLKJ[] pickupButtons = this.steamVrOculus.PickupButtons;
|
|
for (int i = 1; i < pickupButtons.Length; i++)
|
|
{
|
|
LKMJJEMLLKJ lkmjjemllkj = pickupButtons[i];
|
|
this.MDGFEPNJFJK = Mathf.Max(this.MDGFEPNJFJK, oopoglbnjpf.FANNODKOJJI(lkmjjemllkj).x);
|
|
this.BHEFNPMIIAK |= oopoglbnjpf.DABAPJKGBMP(lkmjjemllkj);
|
|
this.DGBAAJDGNBN = this.LOHABPDLKHN() | oopoglbnjpf.BPGCEKAALJG(lkmjjemllkj);
|
|
this.CKIMNLICEIC |= oopoglbnjpf.LKEIGBCNOEN(lkmjjemllkj);
|
|
}
|
|
this.HOIHCLJDHJB = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.TriggerButton).x;
|
|
this.LLNHNIOEHLN = oopoglbnjpf.MLGHJGJJKPA(this.steamVrOculus.TriggerButton);
|
|
this.COLKEOIGHEO(oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.TriggerButton));
|
|
this.PJBPELKHEPF = oopoglbnjpf.LKEIGBCNOEN(this.steamVrOculus.TriggerButton);
|
|
}
|
|
else if (this.KPJDJLBGAOM() == ControllerIO.KJJKAFNOLLL.Standard)
|
|
{
|
|
this.COLKEOIGHEO(oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.TriggerButton));
|
|
this.NFBPPEPPJPB = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.MenuButton);
|
|
this.KJJJFBNCBEI(oopoglbnjpf.JNDCEFDBOII(this.steamVrOculus.TeleportButton));
|
|
this.HJLDCIOBMEJ(this.steamVrOculus.RotateAxisPressButtons.KFHCIFDOAFE(AxisButtons.AEHIHNMNDDE.LEFT));
|
|
}
|
|
else if (this.HANFGNDDNAM == (ControllerIO.KJJKAFNOLLL)5)
|
|
{
|
|
this.MMJBNDBKBMF = true;
|
|
this.OOLDFEGABAN = true;
|
|
this.ENFOGDFMIJK = false;
|
|
this.AMNICMMDJJO = false;
|
|
this.KJKMFBBMBBB = true;
|
|
this.BKNBIEKOMFF(false);
|
|
this.NIALLPKOEME = true;
|
|
this.EJJHJBADGMH = false;
|
|
this.EELFHCNCAHG = true;
|
|
this.GJEEEAELEJD = Vector2.zero;
|
|
this.LICGINDNKGI = true;
|
|
this.COFADFLICAN = false;
|
|
this.KAJAIMHHEKP = true;
|
|
this.DOGCADLOIIA = false;
|
|
this.DFPJEDPJHDC(true);
|
|
this.BNFMHJIPADB = true;
|
|
this.HJIDBMLBCMJ(true);
|
|
this.IDEKOAOMPGJ = false;
|
|
this.IEJNOFPIMMO = true;
|
|
this.JIOMONEKLPP = true;
|
|
this.MDGFEPNJFJK = 950f;
|
|
this.BHEFNPMIIAK = false;
|
|
this.DGBAAJDGNBN = false;
|
|
this.CKIMNLICEIC = true;
|
|
this.HOIHCLJDHJB = 281f;
|
|
this.LLNHNIOEHLN = true;
|
|
this.MBIDCPPKKHE = true;
|
|
this.IPJIHJJIAGA(true);
|
|
this.MBDMMGOLDEJ = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.TriggerButton).x;
|
|
this.FPDDIJPJLJN = oopoglbnjpf.DABAPJKGBMP(this.steamVrOculus.TriggerButton);
|
|
this.GCMFEIGLBID = oopoglbnjpf.BPGCEKAALJG(this.steamVrOculus.TriggerButton);
|
|
this.AGBIGKAFIOK(oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.TriggerButton));
|
|
this.MHDDNLIGBGA = oopoglbnjpf.FANNODKOJJI(this.steamVrOculus.RotateAxis);
|
|
this.LGNDIFCKNOH = oopoglbnjpf.JIOEPFGMFNN(this.steamVrOculus.MenuButton);
|
|
this.CLCPKPELOLB = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.MenuButton);
|
|
this.EAEKKFOJPKF = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.MenuButton);
|
|
this.HKPDAIOAHLN(oopoglbnjpf.MEKBNCPJJCB(this.steamVrOculus.FlyModeModifierButton));
|
|
this.NLEHDGDGJLF = oopoglbnjpf.GMEFHEGIJOL(this.steamVrOculus.FlyModeModifierButton);
|
|
this.HKGCLPEAKME = oopoglbnjpf.HFAJJCCICPB(this.steamVrOculus.FlyModeModifierButton);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06015898 RID: 88216 RVA: 0x005FF558 File Offset: 0x005FD758
|
|
public bool GPLOHAHMAAI()
|
|
{
|
|
return this.<JJECJHJJNED>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0601589A RID: 88218 RVA: 0x005FF568 File Offset: 0x005FD768
|
|
public float FEPLGOEPIPI()
|
|
{
|
|
return this.<JECODKNAMOL>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x0601589C RID: 88220 RVA: 0x005FF57C File Offset: 0x005FD77C
|
|
private void MEJLPFJIJCP(MMFHKCELIGG.FLCHFADOMJG NOBAPCOKFIL)
|
|
{
|
|
this.<GKLFCEAPGEF>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x0601589F RID: 88223 RVA: 0x005FF59C File Offset: 0x005FD79C
|
|
private void OLIFEBJOKEM(bool NOBAPCOKFIL)
|
|
{
|
|
this.<ALNLLECJPOO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060158A0 RID: 88224 RVA: 0x005FF5A8 File Offset: 0x005FD7A8
|
|
private void IHPPPJGOLPN(bool NOBAPCOKFIL)
|
|
{
|
|
this.<LHLBGIBKDJM>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060158A1 RID: 88225 RVA: 0x005FF5B4 File Offset: 0x005FD7B4
|
|
private void AHKGAFNFLIG(bool NOBAPCOKFIL)
|
|
{
|
|
this.<OPDGKDPJPMN>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060158A4 RID: 88228 RVA: 0x005FF5D0 File Offset: 0x005FD7D0
|
|
public Coroutine VibrateContinuous(ushort GIDMADJPECM = 1000)
|
|
{
|
|
return base.StartCoroutine(this.IHPACMEBGDE(GIDMADJPECM, false));
|
|
}
|
|
|
|
// Token: 0x060158A8 RID: 88232 RVA: 0x005FF62C File Offset: 0x005FD82C
|
|
public bool EBFANAODKIB()
|
|
{
|
|
return this.<ABMDDNCFJIB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060158AA RID: 88234 RVA: 0x005FF640 File Offset: 0x005FD840
|
|
private void OADGNBIDIJG()
|
|
{
|
|
AAKIJKLIBFM.EDEMIDLJBMA edemidljbma = ((this.hand != ControllerIO.HMMEBFHABKA.LeftHand) ? AAKIJKLIBFM.EDEMIDLJBMA.EyeLeft : AAKIJKLIBFM.EDEMIDLJBMA.EyeLeft);
|
|
this.HJNLIIKJJFO = AAKIJKLIBFM.DKBFAFMMCJF(edemidljbma);
|
|
if (!this.KCIDGDPHEKH())
|
|
{
|
|
this.NDPGGDEPEJG = false;
|
|
}
|
|
else
|
|
{
|
|
LDLBCCLPCGM.MFOJACCHCAA mfojacchcaa = ((this.hand != ControllerIO.HMMEBFHABKA.LeftHand) ? (LDLBCCLPCGM.MFOJACCHCAA.RTouch | LDLBCCLPCGM.MFOJACCHCAA.Remote) : LDLBCCLPCGM.MFOJACCHCAA.LTouch);
|
|
this.NDPGGDEPEJG = !LDLBCCLPCGM.LOLPBLNFNGC(mfojacchcaa) || LDLBCCLPCGM.EMJDGMEIMFF(mfojacchcaa);
|
|
Vector3 vector = LDLBCCLPCGM.IGJNAKAHKLC(mfojacchcaa);
|
|
this.CIFEOIFFFBB.localPosition = vector;
|
|
Quaternion quaternion = LDLBCCLPCGM.BMJCJKPNAMG(mfojacchcaa);
|
|
this.CIFEOIFFFBB.localRotation = quaternion;
|
|
Vector3 vector2 = LDLBCCLPCGM.BKMDDHHIAAI(mfojacchcaa);
|
|
this.FACFKOFLENM(this.CIFEOIFFFBB.parent.TransformVector(vector2) * this.OLOPMGMHJOC);
|
|
this.MOBLIEGOIDK = NNGFEGAEJPG.PGPNGNDCJKL(this.KAMBILFJGIA, this.CIFEOIFFFBB.rotation) / (Time.fixedTime - this.ODEGFFGLLIO) * this.FECCIHAKCPI;
|
|
this.KAMBILFJGIA = this.CIFEOIFFFBB.rotation;
|
|
this.ODEGFFGLLIO = Time.fixedTime;
|
|
if (this.FKIMIOHBKML != null)
|
|
{
|
|
this.FKIMIOHBKML();
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060158AB RID: 88235 RVA: 0x005FF76C File Offset: 0x005FD96C
|
|
private void HJDCFOCCEIN(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<HHDJNLJHCPO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060158AD RID: 88237 RVA: 0x005FF784 File Offset: 0x005FD984
|
|
private void JFNAEKGHMPF(bool NOBAPCOKFIL)
|
|
{
|
|
this.HKBAIJMLCGO = NOBAPCOKFIL;
|
|
if (this.HKBAIJMLCGO)
|
|
{
|
|
this.JBFHDDJLLMI = Time.time;
|
|
this.IOJFMGCEJEN = true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060158AE RID: 88238 RVA: 0x005FF7AC File Offset: 0x005FD9AC
|
|
public float GDIBJCLDFAN()
|
|
{
|
|
return this.<JLPKLDCCPMD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x17000892 RID: 2194
|
|
// (get) Token: 0x060158B1 RID: 88241 RVA: 0x005FF7C8 File Offset: 0x005FD9C8
|
|
public bool IKKAKLOICBD
|
|
{
|
|
get
|
|
{
|
|
return this.GJLECMFKAJD;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060158B2 RID: 88242 RVA: 0x005FF7D0 File Offset: 0x005FD9D0
|
|
public bool AFIKHGHMJAN()
|
|
{
|
|
return this.<ALINCMMMPLO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060158B3 RID: 88243 RVA: 0x005FF7D8 File Offset: 0x005FD9D8
|
|
private void PDMILHOKLEF()
|
|
{
|
|
Transform transform = null;
|
|
switch (ControllerIO.OLCOCPIALFA)
|
|
{
|
|
case ControllerIO.DNOKPKDGGKB.Debug:
|
|
transform = this.debugInput.ControllerToHandspace;
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
|
|
transform = this.steamVrVive.ControllerToHandspace;
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
|
|
transform = this.steamVrOculus.ControllerToHandspace;
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.Oculus:
|
|
transform = this.oculus.ControllerToHandspace;
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.PS4_Move:
|
|
transform = this.ps4MoveSettings.ControllerToHandspace;
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
|
|
transform = this.microsoftVRInput.ControllerToHandspace;
|
|
break;
|
|
}
|
|
this.CIFEOIFFFBB = new GameObject(base.gameObject.name + "_raw").transform;
|
|
this.CIFEOIFFFBB.parent = base.transform.parent;
|
|
base.transform.parent = this.CIFEOIFFFBB;
|
|
base.transform.localPosition = transform.localPosition;
|
|
base.transform.localRotation = transform.localRotation;
|
|
base.transform.localScale = transform.localScale;
|
|
}
|
|
|
|
// Token: 0x170008A0 RID: 2208
|
|
// (get) Token: 0x060158B4 RID: 88244 RVA: 0x005FF8F8 File Offset: 0x005FDAF8
|
|
// (set) Token: 0x060158DF RID: 88287 RVA: 0x005FFB8C File Offset: 0x005FDD8C
|
|
public bool IEJNOFPIMMO { get; private set; }
|
|
|
|
// Token: 0x170008B1 RID: 2225
|
|
// (get) Token: 0x060158C1 RID: 88257 RVA: 0x005FF9A8 File Offset: 0x005FDBA8
|
|
// (set) Token: 0x060158B9 RID: 88249 RVA: 0x005FF920 File Offset: 0x005FDB20
|
|
public bool OFDCCGLFEOJ
|
|
{
|
|
get
|
|
{
|
|
return this.HKBAIJMLCGO && !this.IOJFMGCEJEN;
|
|
}
|
|
private set
|
|
{
|
|
this.HKBAIJMLCGO = value;
|
|
if (this.HKBAIJMLCGO)
|
|
{
|
|
this.JBFHDDJLLMI = Time.time;
|
|
this.IOJFMGCEJEN = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060158BA RID: 88250 RVA: 0x005FF948 File Offset: 0x005FDB48
|
|
public float PAJLKCEPHBP()
|
|
{
|
|
return this.<JECODKNAMOL>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008AB RID: 2219
|
|
// (get) Token: 0x060158BB RID: 88251 RVA: 0x005FF950 File Offset: 0x005FDB50
|
|
// (set) Token: 0x060158E9 RID: 88297 RVA: 0x005FFBF4 File Offset: 0x005FDDF4
|
|
public bool GNOJOKAOOKP { get; private set; }
|
|
|
|
// Token: 0x060158BC RID: 88252 RVA: 0x005FF958 File Offset: 0x005FDB58
|
|
private void OPKBOGHIPJP(bool NOBAPCOKFIL)
|
|
{
|
|
this.<GCIJDICIPOE>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060158BD RID: 88253 RVA: 0x005FF964 File Offset: 0x005FDB64
|
|
public bool NKDPEKCDFHM()
|
|
{
|
|
return this.<LHLBGIBKDJM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060158BE RID: 88254 RVA: 0x005FF96C File Offset: 0x005FDB6C
|
|
private void LIHFPJNIMNB(bool NOBAPCOKFIL)
|
|
{
|
|
this.HIIJOCABPKF = NOBAPCOKFIL;
|
|
if (this.HIIJOCABPKF)
|
|
{
|
|
this.ECJCPCAILJD = Time.time;
|
|
this.FNANNJBJKEC(false);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060158BF RID: 88255 RVA: 0x005FF994 File Offset: 0x005FDB94
|
|
public bool JMNIDFODOHA()
|
|
{
|
|
return this.<MCBKOJKBFFB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060158C2 RID: 88258 RVA: 0x005FF9C4 File Offset: 0x005FDBC4
|
|
private void KBNBHDBILNC(bool NOBAPCOKFIL)
|
|
{
|
|
this.<KBONEBBMCOB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060158C5 RID: 88261 RVA: 0x005FF9E4 File Offset: 0x005FDBE4
|
|
private IEnumerator ENEHCOINOIB(ushort GIDMADJPECM, bool CCNOKLKMPFC = false)
|
|
{
|
|
for (;;)
|
|
{
|
|
this.MOALMJCJNAM(GIDMADJPECM, CCNOKLKMPFC);
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060158C6 RID: 88262 RVA: 0x005FFA10 File Offset: 0x005FDC10
|
|
public bool EIGNEKNFDDI()
|
|
{
|
|
return this.PBCPIIDBBHM();
|
|
}
|
|
|
|
// Token: 0x060158C7 RID: 88263 RVA: 0x005FFA18 File Offset: 0x005FDC18
|
|
public bool EIOAJDEDAHH()
|
|
{
|
|
return this.<ALNLLECJPOO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060158C8 RID: 88264 RVA: 0x005FFA20 File Offset: 0x005FDC20
|
|
private void AGBIGKAFIOK(bool NOBAPCOKFIL)
|
|
{
|
|
this.<ALINCMMMPLO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060158C9 RID: 88265 RVA: 0x005FFA2C File Offset: 0x005FDC2C
|
|
public bool KCIDGDPHEKH()
|
|
{
|
|
return this.<DGGLLDNJEBD>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060158CC RID: 88268 RVA: 0x005FFA44 File Offset: 0x005FDC44
|
|
public bool LABPHANLMIE()
|
|
{
|
|
return this.<MNMKJNCMPPB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060158CD RID: 88269 RVA: 0x005FFA4C File Offset: 0x005FDC4C
|
|
public bool LCNNAJIOGNG()
|
|
{
|
|
return this.<ABMDDNCFJIB>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060158CE RID: 88270 RVA: 0x005FFA54 File Offset: 0x005FDC54
|
|
public bool LOHABPDLKHN()
|
|
{
|
|
return this.<EDEHKELMHMM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x170008BE RID: 2238
|
|
// (get) Token: 0x060158EB RID: 88299 RVA: 0x005FFC08 File Offset: 0x005FDE08
|
|
// (set) Token: 0x060158CF RID: 88271 RVA: 0x005FFA5C File Offset: 0x005FDC5C
|
|
public bool GCMFEIGLBID { get; private set; }
|
|
|
|
// Token: 0x060158D1 RID: 88273 RVA: 0x005FFA74 File Offset: 0x005FDC74
|
|
private IEnumerator IHPACMEBGDE(ushort GIDMADJPECM, bool CCNOKLKMPFC = false)
|
|
{
|
|
for (;;)
|
|
{
|
|
this.MOALMJCJNAM(GIDMADJPECM, CCNOKLKMPFC);
|
|
yield return null;
|
|
}
|
|
yield break;
|
|
}
|
|
|
|
// Token: 0x060158D2 RID: 88274 RVA: 0x005FFAA0 File Offset: 0x005FDCA0
|
|
private void DEFNHCKAMPC()
|
|
{
|
|
switch (ControllerIO.AOCAKBPHKEN())
|
|
{
|
|
case ControllerIO.DNOKPKDGGKB.Debug:
|
|
this.LMAGOHCBOGK();
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.SteamVR_Vive:
|
|
this.BJJADJPIAFD();
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.SteamVR_Oculus:
|
|
this.PHLJDIHNGIE();
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.Oculus:
|
|
this.KBJAIALKPGI();
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.PS4_Move:
|
|
this.PMDCJCOHAJL();
|
|
break;
|
|
case ControllerIO.DNOKPKDGGKB.MicrosoftVR_UNKNOWN:
|
|
this.GNNBMGNCFDC();
|
|
break;
|
|
}
|
|
this.NEDNFBKJJEE();
|
|
}
|
|
|
|
// Token: 0x060158D3 RID: 88275 RVA: 0x005FFB20 File Offset: 0x005FDD20
|
|
public bool GFLDMFFLMKI()
|
|
{
|
|
return this.<ALINCMMMPLO>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060158D6 RID: 88278 RVA: 0x005FFB3C File Offset: 0x005FDD3C
|
|
public bool CLMLLCPKPDG()
|
|
{
|
|
return this.<MINMMBAGOPM>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060158D7 RID: 88279 RVA: 0x005FFB44 File Offset: 0x005FDD44
|
|
public bool JBFLILEPKHK()
|
|
{
|
|
return this.CMKCDHGNMIE;
|
|
}
|
|
|
|
// Token: 0x060158D9 RID: 88281 RVA: 0x005FFB54 File Offset: 0x005FDD54
|
|
public ControllerIO.HMMEBFHABKA HDIFAANBEKM()
|
|
{
|
|
return this.hand;
|
|
}
|
|
|
|
// Token: 0x170008A7 RID: 2215
|
|
// (get) Token: 0x060158DC RID: 88284 RVA: 0x005FFB6C File Offset: 0x005FDD6C
|
|
// (set) Token: 0x060158DD RID: 88285 RVA: 0x005FFB74 File Offset: 0x005FDD74
|
|
public bool LLNHNIOEHLN { get; private set; }
|
|
|
|
// Token: 0x060158DE RID: 88286 RVA: 0x005FFB80 File Offset: 0x005FDD80
|
|
private void PCCMGNFNICA(bool NOBAPCOKFIL)
|
|
{
|
|
this.<EDEHKELMHMM>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060158E2 RID: 88290 RVA: 0x005FFBAC File Offset: 0x005FDDAC
|
|
private void MDCGLMNPFJJ(Vector3 NOBAPCOKFIL)
|
|
{
|
|
this.<HHDJNLJHCPO>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060158E7 RID: 88295 RVA: 0x005FFBDC File Offset: 0x005FDDDC
|
|
private void ELEHLCPADBO(bool NOBAPCOKFIL)
|
|
{
|
|
this.<OKKCHPDCBJG>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060158E8 RID: 88296 RVA: 0x005FFBE8 File Offset: 0x005FDDE8
|
|
private void DGIJKIDBFIJ(bool NOBAPCOKFIL)
|
|
{
|
|
this.<KBONEBBMCOB>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x060158EA RID: 88298 RVA: 0x005FFC00 File Offset: 0x005FDE00
|
|
public Vector2 PNKPAPGBFOC()
|
|
{
|
|
return this.<MNPAMJFALEA>k__BackingField;
|
|
}
|
|
|
|
// Token: 0x060158EC RID: 88300 RVA: 0x005FFC10 File Offset: 0x005FDE10
|
|
public void FNANNJBJKEC(bool NOBAPCOKFIL)
|
|
{
|
|
this.<EOLBINFKFNC>k__BackingField = NOBAPCOKFIL;
|
|
}
|
|
|
|
// Token: 0x04003B0C RID: 15116
|
|
[SerializeField]
|
|
private ControllerIO.HMMEBFHABKA hand;
|
|
|
|
// Token: 0x04003B0D RID: 15117
|
|
[SerializeField]
|
|
private ControllerIO.DebugInputSettings debugInput = new ControllerIO.DebugInputSettings();
|
|
|
|
// Token: 0x04003B0E RID: 15118
|
|
[SerializeField]
|
|
private ControllerIO.SteamVrViveInputSettings steamVrVive = new ControllerIO.SteamVrViveInputSettings();
|
|
|
|
// Token: 0x04003B0F RID: 15119
|
|
[SerializeField]
|
|
private ControllerIO.SteamVrOculusInputSettings steamVrOculus = new ControllerIO.SteamVrOculusInputSettings();
|
|
|
|
// Token: 0x04003B10 RID: 15120
|
|
[SerializeField]
|
|
private ControllerIO.OvrInputSettings oculus = new ControllerIO.OvrInputSettings();
|
|
|
|
// Token: 0x04003B11 RID: 15121
|
|
[SerializeField]
|
|
private ControllerIO.PS4MoveInputSettings ps4MoveSettings = new ControllerIO.PS4MoveInputSettings();
|
|
|
|
// Token: 0x04003B12 RID: 15122
|
|
[SerializeField]
|
|
private ControllerIO.MicrosoftVRInputSettings microsoftVRInput = new ControllerIO.MicrosoftVRInputSettings();
|
|
|
|
// Token: 0x04003B13 RID: 15123
|
|
private Vector3 CFKBOJICIHI;
|
|
|
|
// Token: 0x04003B14 RID: 15124
|
|
private Quaternion KAMBILFJGIA;
|
|
|
|
// Token: 0x04003B15 RID: 15125
|
|
private float ODEGFFGLLIO;
|
|
|
|
// Token: 0x04003B16 RID: 15126
|
|
private const ushort LNAFOLGCCOK = 3125;
|
|
|
|
// Token: 0x04003B17 RID: 15127
|
|
private KGFOHKFKAIL KFINKICFDPA;
|
|
|
|
// Token: 0x04003B18 RID: 15128
|
|
[NonSerialized]
|
|
public bool TouchpadTeleportEnabled;
|
|
|
|
// Token: 0x04003B19 RID: 15129
|
|
private AEFAJMEBGPE ENMBKJMLBLD = new AEFAJMEBGPE();
|
|
|
|
// Token: 0x04003B1A RID: 15130
|
|
private AEFAJMEBGPE NBJKMPCOBKL = new AEFAJMEBGPE();
|
|
|
|
// Token: 0x04003B1B RID: 15131
|
|
private float OLOPMGMHJOC = 1f;
|
|
|
|
// Token: 0x04003B1C RID: 15132
|
|
private float FECCIHAKCPI = 1f;
|
|
|
|
// Token: 0x04003B1D RID: 15133
|
|
private bool BMGEEHCLCKD;
|
|
|
|
// Token: 0x04003B1E RID: 15134
|
|
private AxisSwipeButtons.CEBICDNDAOJ CBJBOALBOHF;
|
|
|
|
// Token: 0x04003B1F RID: 15135
|
|
private AxisSwipeButtons.CEBICDNDAOJ GICPHANDCGB;
|
|
|
|
// Token: 0x04003B43 RID: 15171
|
|
private bool GPCOBFJHICG;
|
|
|
|
// Token: 0x04003B4E RID: 15182
|
|
private bool EEEOAOOPDFO;
|
|
|
|
// Token: 0x04003B4F RID: 15183
|
|
private bool HKBAIJMLCGO;
|
|
|
|
// Token: 0x04003B53 RID: 15187
|
|
private bool NFJGPCDPGDH;
|
|
|
|
// Token: 0x04003B54 RID: 15188
|
|
private bool HIIJOCABPKF;
|
|
|
|
// Token: 0x04003B59 RID: 15193
|
|
private Vector3 KLFLLLHHGMN = Vector3.forward;
|
|
|
|
// Token: 0x04003B5A RID: 15194
|
|
private Vector3 OKOCANJHABA = Vector3.right;
|
|
|
|
// Token: 0x04003B5B RID: 15195
|
|
private Vector3 AAJNKPDDPDP = Vector3.up;
|
|
|
|
// Token: 0x04003B71 RID: 15217
|
|
private uint MOBGJJOIPJM = uint.MaxValue;
|
|
|
|
// Token: 0x04003B72 RID: 15218
|
|
private Transform CIFEOIFFFBB;
|
|
|
|
// Token: 0x04003B73 RID: 15219
|
|
private PS4MoveInput FEBOGIEKGPL;
|
|
|
|
// Token: 0x04003B74 RID: 15220
|
|
private DAGNICICCAN.MIGBABMNAHI JLOIJPLGPBH;
|
|
|
|
// Token: 0x02000ADF RID: 2783
|
|
public enum HMMEBFHABKA
|
|
{
|
|
// Token: 0x04003B76 RID: 15222
|
|
LeftHand,
|
|
// Token: 0x04003B77 RID: 15223
|
|
RightHand
|
|
}
|
|
|
|
// Token: 0x02000AE0 RID: 2784
|
|
[Serializable]
|
|
private class DebugInputSettings
|
|
{
|
|
// Token: 0x04003B78 RID: 15224
|
|
public Transform ControllerToHandspace;
|
|
|
|
// Token: 0x04003B79 RID: 15225
|
|
public int PickupMouseButton;
|
|
|
|
// Token: 0x04003B7A RID: 15226
|
|
public int TriggerMouseButton;
|
|
|
|
// Token: 0x04003B7B RID: 15227
|
|
public KeyCode MenuKey = KeyCode.M;
|
|
|
|
// Token: 0x04003B7C RID: 15228
|
|
public KeyCode TeleportKey = KeyCode.Space;
|
|
|
|
// Token: 0x04003B7D RID: 15229
|
|
public KeyCode PushToTalkKey;
|
|
|
|
// Token: 0x04003B7E RID: 15230
|
|
public KeyCode RotateLeftKey = KeyCode.LeftArrow;
|
|
|
|
// Token: 0x04003B7F RID: 15231
|
|
public KeyCode RotateRightKey = KeyCode.RightArrow;
|
|
|
|
// Token: 0x04003B80 RID: 15232
|
|
public KeyCode RotateDownKey = KeyCode.DownArrow;
|
|
|
|
// Token: 0x04003B81 RID: 15233
|
|
public KeyCode RotateUpKey = KeyCode.UpArrow;
|
|
|
|
// Token: 0x04003B82 RID: 15234
|
|
public KeyCode FlyModeModifierButton = KeyCode.LeftShift;
|
|
}
|
|
|
|
// Token: 0x02000AE1 RID: 2785
|
|
[Serializable]
|
|
private class SteamVrViveInputSettings
|
|
{
|
|
// Token: 0x04003B83 RID: 15235
|
|
public Transform ControllerToHandspace;
|
|
|
|
// Token: 0x04003B84 RID: 15236
|
|
public LKMJJEMLLKJ[] PickupButtons = new LKMJJEMLLKJ[] { LKMJJEMLLKJ.k_EButton_Axis1 };
|
|
|
|
// Token: 0x04003B85 RID: 15237
|
|
public LKMJJEMLLKJ TriggerButton = LKMJJEMLLKJ.k_EButton_Axis1;
|
|
|
|
// Token: 0x04003B86 RID: 15238
|
|
public LKMJJEMLLKJ MenuButton = LKMJJEMLLKJ.k_EButton_ApplicationMenu;
|
|
|
|
// Token: 0x04003B87 RID: 15239
|
|
public LKMJJEMLLKJ TeleportButton = LKMJJEMLLKJ.k_EButton_Axis0;
|
|
|
|
// Token: 0x04003B88 RID: 15240
|
|
public LKMJJEMLLKJ PushToTalkButton = LKMJJEMLLKJ.k_EButton_Grip;
|
|
|
|
// Token: 0x04003B89 RID: 15241
|
|
public LKMJJEMLLKJ FlyModeModifierButton = LKMJJEMLLKJ.k_EButton_Grip;
|
|
|
|
// Token: 0x04003B8A RID: 15242
|
|
public LKMJJEMLLKJ RotateAxis = LKMJJEMLLKJ.k_EButton_Axis0;
|
|
|
|
// Token: 0x04003B8B RID: 15243
|
|
public float RotateAxisDeadzone = 0.2f;
|
|
|
|
// Token: 0x04003B8C RID: 15244
|
|
public AxisSwipeButtons RotateAxisSwipeButtons;
|
|
}
|
|
|
|
// Token: 0x02000AE2 RID: 2786
|
|
[Serializable]
|
|
private class SteamVrOculusInputSettings
|
|
{
|
|
// Token: 0x04003B8D RID: 15245
|
|
public Transform ControllerToHandspace;
|
|
|
|
// Token: 0x04003B8E RID: 15246
|
|
public LKMJJEMLLKJ[] PickupButtons = new LKMJJEMLLKJ[]
|
|
{
|
|
LKMJJEMLLKJ.k_EButton_Axis2,
|
|
LKMJJEMLLKJ.k_EButton_Axis1
|
|
};
|
|
|
|
// Token: 0x04003B8F RID: 15247
|
|
public LKMJJEMLLKJ TriggerButton = LKMJJEMLLKJ.k_EButton_Axis1;
|
|
|
|
// Token: 0x04003B90 RID: 15248
|
|
public LKMJJEMLLKJ MenuButton = LKMJJEMLLKJ.k_EButton_ApplicationMenu;
|
|
|
|
// Token: 0x04003B91 RID: 15249
|
|
public LKMJJEMLLKJ TeleportButton = LKMJJEMLLKJ.k_EButton_A;
|
|
|
|
// Token: 0x04003B92 RID: 15250
|
|
public LKMJJEMLLKJ PushToTalkButton = LKMJJEMLLKJ.k_EButton_Axis0;
|
|
|
|
// Token: 0x04003B93 RID: 15251
|
|
public LKMJJEMLLKJ FlyModeModifierButton = LKMJJEMLLKJ.k_EButton_Grip;
|
|
|
|
// Token: 0x04003B94 RID: 15252
|
|
public LKMJJEMLLKJ RotateAxis = LKMJJEMLLKJ.k_EButton_Axis0;
|
|
|
|
// Token: 0x04003B95 RID: 15253
|
|
public float RotateAxisDeadzone = 0.2f;
|
|
|
|
// Token: 0x04003B96 RID: 15254
|
|
public AxisPressButtons RotateAxisPressButtons;
|
|
}
|
|
|
|
// Token: 0x02000AE3 RID: 2787
|
|
[Serializable]
|
|
private class OvrInputSettings
|
|
{
|
|
// Token: 0x04003B97 RID: 15255
|
|
public Transform ControllerToHandspace;
|
|
|
|
// Token: 0x04003B98 RID: 15256
|
|
public LDLBCCLPCGM.EGHLMPFEPHJ[] PickupAxes = new LDLBCCLPCGM.EGHLMPFEPHJ[]
|
|
{
|
|
LDLBCCLPCGM.EGHLMPFEPHJ.PrimaryHandTrigger,
|
|
LDLBCCLPCGM.EGHLMPFEPHJ.PrimaryIndexTrigger
|
|
};
|
|
|
|
// Token: 0x04003B99 RID: 15257
|
|
public LDLBCCLPCGM.MGDCHCJJGMA[] PickupButtons = new LDLBCCLPCGM.MGDCHCJJGMA[]
|
|
{
|
|
LDLBCCLPCGM.MGDCHCJJGMA.PrimaryHandTrigger,
|
|
LDLBCCLPCGM.MGDCHCJJGMA.PrimaryIndexTrigger
|
|
};
|
|
|
|
// Token: 0x04003B9A RID: 15258
|
|
public LDLBCCLPCGM.EGHLMPFEPHJ TriggerAxis = LDLBCCLPCGM.EGHLMPFEPHJ.PrimaryIndexTrigger;
|
|
|
|
// Token: 0x04003B9B RID: 15259
|
|
public LDLBCCLPCGM.MGDCHCJJGMA TriggerButton = LDLBCCLPCGM.MGDCHCJJGMA.PrimaryIndexTrigger;
|
|
|
|
// Token: 0x04003B9C RID: 15260
|
|
public LDLBCCLPCGM.MGDCHCJJGMA MenuButton = LDLBCCLPCGM.MGDCHCJJGMA.Two;
|
|
|
|
// Token: 0x04003B9D RID: 15261
|
|
public LDLBCCLPCGM.MGDCHCJJGMA TeleportButton = LDLBCCLPCGM.MGDCHCJJGMA.One;
|
|
|
|
// Token: 0x04003B9E RID: 15262
|
|
public LDLBCCLPCGM.MGDCHCJJGMA PushToTalkButton = LDLBCCLPCGM.MGDCHCJJGMA.PrimaryThumbstick;
|
|
|
|
// Token: 0x04003B9F RID: 15263
|
|
public LDLBCCLPCGM.MGDCHCJJGMA FlyModeModifierButton = LDLBCCLPCGM.MGDCHCJJGMA.PrimaryHandTrigger;
|
|
|
|
// Token: 0x04003BA0 RID: 15264
|
|
public LDLBCCLPCGM.MNBNAEFFDPO RotateAxis = LDLBCCLPCGM.MNBNAEFFDPO.PrimaryThumbstick;
|
|
|
|
// Token: 0x04003BA1 RID: 15265
|
|
public float RotateAxisDeadzone = 0.2f;
|
|
|
|
// Token: 0x04003BA2 RID: 15266
|
|
public AxisPressButtons ThumbstickDirectionButtons;
|
|
}
|
|
|
|
// Token: 0x02000AE4 RID: 2788
|
|
[Serializable]
|
|
private class PS4MoveInputSettings
|
|
{
|
|
// Token: 0x04003BA3 RID: 15267
|
|
public Transform ControllerToHandspace;
|
|
|
|
// Token: 0x04003BA4 RID: 15268
|
|
public PKKKFLFHNMI PickupButton = PKKKFLFHNMI.Trigger;
|
|
|
|
// Token: 0x04003BA5 RID: 15269
|
|
public PKKKFLFHNMI TriggerButton = PKKKFLFHNMI.Trigger;
|
|
|
|
// Token: 0x04003BA6 RID: 15270
|
|
public PKKKFLFHNMI[] MenuButtons = new PKKKFLFHNMI[]
|
|
{
|
|
PKKKFLFHNMI.Square,
|
|
PKKKFLFHNMI.Triangle
|
|
};
|
|
|
|
// Token: 0x04003BA7 RID: 15271
|
|
public PKKKFLFHNMI TeleportButton = PKKKFLFHNMI.Move;
|
|
|
|
// Token: 0x04003BA8 RID: 15272
|
|
public PKKKFLFHNMI PushToTalkButton;
|
|
|
|
// Token: 0x04003BA9 RID: 15273
|
|
public PKKKFLFHNMI FlyModeModifierButton = PKKKFLFHNMI.Trigger;
|
|
|
|
// Token: 0x04003BAA RID: 15274
|
|
public PKKKFLFHNMI RotateLeftButton = PKKKFLFHNMI.Cross;
|
|
|
|
// Token: 0x04003BAB RID: 15275
|
|
public PKKKFLFHNMI RotateRightButton = PKKKFLFHNMI.Circle;
|
|
}
|
|
|
|
// Token: 0x02000AE5 RID: 2789
|
|
[Serializable]
|
|
private class MicrosoftVRInputSettings
|
|
{
|
|
// Token: 0x04003BAC RID: 15276
|
|
public Transform ControllerToHandspace;
|
|
|
|
// Token: 0x04003BAD RID: 15277
|
|
public LDLBCCLPCGM.EGHLMPFEPHJ[] PickupAxes;
|
|
|
|
// Token: 0x04003BAE RID: 15278
|
|
public LDLBCCLPCGM.MGDCHCJJGMA[] PickupButtons;
|
|
|
|
// Token: 0x04003BAF RID: 15279
|
|
public LDLBCCLPCGM.EGHLMPFEPHJ TriggerAxis;
|
|
|
|
// Token: 0x04003BB0 RID: 15280
|
|
public LDLBCCLPCGM.MGDCHCJJGMA TriggerButton;
|
|
|
|
// Token: 0x04003BB1 RID: 15281
|
|
public LDLBCCLPCGM.MGDCHCJJGMA MenuButton;
|
|
|
|
// Token: 0x04003BB2 RID: 15282
|
|
public LDLBCCLPCGM.MGDCHCJJGMA TeleportButton;
|
|
|
|
// Token: 0x04003BB3 RID: 15283
|
|
public LDLBCCLPCGM.MGDCHCJJGMA PushToTalkButton;
|
|
|
|
// Token: 0x04003BB4 RID: 15284
|
|
public LDLBCCLPCGM.MGDCHCJJGMA FlyModeModifierButton;
|
|
|
|
// Token: 0x04003BB5 RID: 15285
|
|
public LDLBCCLPCGM.MNBNAEFFDPO RotateAxis;
|
|
|
|
// Token: 0x04003BB6 RID: 15286
|
|
public float RotateAxisDeadzone = 0.2f;
|
|
|
|
// Token: 0x04003BB7 RID: 15287
|
|
public AxisPressButtons ThumbstickDirectionButtons;
|
|
}
|
|
|
|
// Token: 0x02000AE6 RID: 2790
|
|
public enum DNOKPKDGGKB
|
|
{
|
|
// Token: 0x04003BB9 RID: 15289
|
|
Debug,
|
|
// Token: 0x04003BBA RID: 15290
|
|
SteamVR_Vive,
|
|
// Token: 0x04003BBB RID: 15291
|
|
SteamVR_Oculus,
|
|
// Token: 0x04003BBC RID: 15292
|
|
Oculus,
|
|
// Token: 0x04003BBD RID: 15293
|
|
PS4_Move,
|
|
// Token: 0x04003BBE RID: 15294
|
|
MicrosoftVR_UNKNOWN
|
|
}
|
|
|
|
// Token: 0x02000AE7 RID: 2791
|
|
public enum KJJKAFNOLLL
|
|
{
|
|
// Token: 0x04003BC0 RID: 15296
|
|
Standard,
|
|
// Token: 0x04003BC1 RID: 15297
|
|
Calibration,
|
|
// Token: 0x04003BC2 RID: 15298
|
|
RemoteControl
|
|
}
|
|
}
|