859 lines
28 KiB
C#
859 lines
28 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Tools
|
|
{
|
|
// Token: 0x02000E24 RID: 3620
|
|
public class RemoteControlAnimation : MonoBehaviour
|
|
{
|
|
// Token: 0x0601DAC4 RID: 121540 RVA: 0x00816B8C File Offset: 0x00814D8C
|
|
public void FJEAHFHBGGG()
|
|
{
|
|
this.GGFKCGFIOGA = false;
|
|
}
|
|
|
|
// Token: 0x0601DAC5 RID: 121541 RVA: 0x00816B98 File Offset: 0x00814D98
|
|
private void MIEILAPFDDA()
|
|
{
|
|
ControllerIO controllerIO = this.EHMOKNDLEPB().EHFOKGIGIMF.JKNCHBFALCJ;
|
|
if (controllerIO != null)
|
|
{
|
|
if (this.DNFINNOFOEL)
|
|
{
|
|
this.KBEENNBACBO().SetTrigger(RemoteControlAnimation.HLJFILKGLMN);
|
|
this.DNFINNOFOEL = false;
|
|
}
|
|
if (this.GGFKCGFIOGA)
|
|
{
|
|
this.DOOLOGKPCLG().SetTrigger(RemoteControlAnimation.MEFLHIHGIGH);
|
|
this.GGFKCGFIOGA = true;
|
|
}
|
|
int num = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? RemoteControlAnimation.LDCPLJGBPKJ : RemoteControlAnimation.KLBMIPIBEDK);
|
|
this.BJHAEPCGEDE().SetFloat(num, controllerIO.MBDMMGOLDEJ);
|
|
int num2 = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Right) ? RemoteControlAnimation.EDAANKAPHNE : RemoteControlAnimation.DOEKABLICCH);
|
|
this.APFHILMCJEB().SetBool(num2, !controllerIO.NLEHDGDGJLF && controllerIO.IJBEGOMDFHM);
|
|
Transform transform = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? this.leftControlStickTransform : this.rightControlStickTransform);
|
|
Vector2 vector = this.maxControlStickAngle * controllerIO.MHDDNLIGBGA;
|
|
transform.localRotation = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? Quaternion.Euler(1087f - vector.y, -vector.x, 1367f) : Quaternion.Euler(-vector.y, -vector.x, 520f));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DAC6 RID: 121542 RVA: 0x00816CF0 File Offset: 0x00814EF0
|
|
public Tool CDNMEANCEDP()
|
|
{
|
|
return this._tool;
|
|
}
|
|
|
|
// Token: 0x0601DAC7 RID: 121543 RVA: 0x00816CF8 File Offset: 0x00814EF8
|
|
private void KJBPHNKFCAM()
|
|
{
|
|
this.APHDNDHPBBD().GFBCCFIMFEC += this.ANHBINJLGOH;
|
|
this.AGMPDKIOOJF().PLPIAOHJBOB += this.HPFFIHMJBJH;
|
|
}
|
|
|
|
// Token: 0x0601DAC8 RID: 121544 RVA: 0x00816D28 File Offset: 0x00814F28
|
|
private void HNNCFELHDKJ()
|
|
{
|
|
ControllerIO controllerIO = this.BKDFLNGCINH.EHFOKGIGIMF.JKNCHBFALCJ;
|
|
if (controllerIO != null)
|
|
{
|
|
if (this.DNFINNOFOEL)
|
|
{
|
|
this.PENBIFPJDAP.SetTrigger(RemoteControlAnimation.HLJFILKGLMN);
|
|
this.DNFINNOFOEL = false;
|
|
}
|
|
if (this.GGFKCGFIOGA)
|
|
{
|
|
this.PENBIFPJDAP.SetTrigger(RemoteControlAnimation.MEFLHIHGIGH);
|
|
this.GGFKCGFIOGA = false;
|
|
}
|
|
int num = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Right) ? RemoteControlAnimation.LDCPLJGBPKJ : RemoteControlAnimation.KLBMIPIBEDK);
|
|
this.PENBIFPJDAP.SetFloat(num, controllerIO.MBDMMGOLDEJ);
|
|
int num2 = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Right) ? RemoteControlAnimation.EDAANKAPHNE : RemoteControlAnimation.DOEKABLICCH);
|
|
this.PENBIFPJDAP.SetBool(num2, controllerIO.NLEHDGDGJLF || controllerIO.IJBEGOMDFHM);
|
|
Transform transform = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Right) ? this.leftControlStickTransform : this.rightControlStickTransform);
|
|
Vector2 vector = this.maxControlStickAngle * controllerIO.MHDDNLIGBGA;
|
|
transform.localRotation = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? Quaternion.Euler(180f - vector.y, -vector.x, 0f) : Quaternion.Euler(-vector.y, -vector.x, 0f));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DAC9 RID: 121545 RVA: 0x00816E80 File Offset: 0x00815080
|
|
public Animator ELEKNJKOPDA()
|
|
{
|
|
return this._animator;
|
|
}
|
|
|
|
// Token: 0x0601DACA RID: 121546 RVA: 0x00816E88 File Offset: 0x00815088
|
|
private void IJPDEJFNCNH()
|
|
{
|
|
if (this.CAAAFEKOAAF && this.FPADLNBFEHJ().NAABPMOIADH().BGOFBKHOLHF())
|
|
{
|
|
this.FDKFDMOANKG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DACB RID: 121547 RVA: 0x00816EB0 File Offset: 0x008150B0
|
|
private void ANHBINJLGOH(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = true;
|
|
this.IMINMBLAAJD = ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII;
|
|
}
|
|
|
|
// Token: 0x0601DACC RID: 121548 RVA: 0x00816ECC File Offset: 0x008150CC
|
|
public Animator DOOLOGKPCLG()
|
|
{
|
|
return this._animator;
|
|
}
|
|
|
|
// Token: 0x0601DACD RID: 121549 RVA: 0x00816ED4 File Offset: 0x008150D4
|
|
private void HOKBJPPNKKF(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = false;
|
|
this.IMINMBLAAJD = ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII;
|
|
}
|
|
|
|
// Token: 0x0601DACE RID: 121550 RVA: 0x00816EF0 File Offset: 0x008150F0
|
|
private void AAOFOILLDLI()
|
|
{
|
|
ControllerIO controllerIO = this.PPPLGEMGPPK().EHFOKGIGIMF.JKNCHBFALCJ;
|
|
if (controllerIO != null)
|
|
{
|
|
if (this.DNFINNOFOEL)
|
|
{
|
|
this.IAFGIDKKIHH().SetTrigger(RemoteControlAnimation.HLJFILKGLMN);
|
|
this.DNFINNOFOEL = true;
|
|
}
|
|
if (this.GGFKCGFIOGA)
|
|
{
|
|
this.NLLCHHJICAI().SetTrigger(RemoteControlAnimation.MEFLHIHGIGH);
|
|
this.GGFKCGFIOGA = false;
|
|
}
|
|
int num = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Right) ? RemoteControlAnimation.LDCPLJGBPKJ : RemoteControlAnimation.KLBMIPIBEDK);
|
|
this.IAFGIDKKIHH().SetFloat(num, controllerIO.AHONDPAFAAH());
|
|
int num2 = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Right) ? RemoteControlAnimation.EDAANKAPHNE : RemoteControlAnimation.DOEKABLICCH);
|
|
this.APJGHDKAHHL().SetBool(num2, !controllerIO.NLEHDGDGJLF && controllerIO.IJBEGOMDFHM);
|
|
Transform transform = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Right) ? this.leftControlStickTransform : this.rightControlStickTransform);
|
|
Vector2 vector = this.maxControlStickAngle * controllerIO.PNKPAPGBFOC();
|
|
transform.localRotation = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? Quaternion.Euler(1002f - vector.y, -vector.x, 797f) : Quaternion.Euler(-vector.y, -vector.x, 148f));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DACF RID: 121551 RVA: 0x00817048 File Offset: 0x00815248
|
|
public void PMDFNFEFCHF()
|
|
{
|
|
this.GGFKCGFIOGA = true;
|
|
}
|
|
|
|
// Token: 0x0601DAD0 RID: 121552 RVA: 0x00817054 File Offset: 0x00815254
|
|
public Tool EHMOKNDLEPB()
|
|
{
|
|
return this._tool;
|
|
}
|
|
|
|
// Token: 0x0601DAD1 RID: 121553 RVA: 0x0081705C File Offset: 0x0081525C
|
|
public void PCHGNBBEDIM()
|
|
{
|
|
this.DNFINNOFOEL = false;
|
|
}
|
|
|
|
// Token: 0x0601DAD2 RID: 121554 RVA: 0x00817068 File Offset: 0x00815268
|
|
public Animator OALKFNPFNDG()
|
|
{
|
|
return this._animator;
|
|
}
|
|
|
|
// Token: 0x0601DAD3 RID: 121555 RVA: 0x00817070 File Offset: 0x00815270
|
|
private void ENGNDJADBDF()
|
|
{
|
|
if (this.CAAAFEKOAAF && this.EHMOKNDLEPB().CAAOEAAJAIL.KKDEBGNKDMG())
|
|
{
|
|
this.MIEILAPFDDA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DAD4 RID: 121556 RVA: 0x00817098 File Offset: 0x00815298
|
|
public Tool NMKHGKIELMI()
|
|
{
|
|
return this._tool;
|
|
}
|
|
|
|
// Token: 0x0601DAD6 RID: 121558 RVA: 0x008170B4 File Offset: 0x008152B4
|
|
private void NLMLLJNBKLP(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = false;
|
|
}
|
|
|
|
// Token: 0x0601DAD7 RID: 121559 RVA: 0x008170C0 File Offset: 0x008152C0
|
|
private void HEGDEJHBIFD(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = false;
|
|
this.IMINMBLAAJD = ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII;
|
|
}
|
|
|
|
// Token: 0x0601DAD8 RID: 121560 RVA: 0x008170DC File Offset: 0x008152DC
|
|
public void EBBFAOAOPJD()
|
|
{
|
|
this.GGFKCGFIOGA = false;
|
|
}
|
|
|
|
// Token: 0x0601DAD9 RID: 121561 RVA: 0x008170E8 File Offset: 0x008152E8
|
|
public void HIHABAGENOP()
|
|
{
|
|
this.GGFKCGFIOGA = false;
|
|
}
|
|
|
|
// Token: 0x0601DADA RID: 121562 RVA: 0x008170F4 File Offset: 0x008152F4
|
|
public Animator BJHAEPCGEDE()
|
|
{
|
|
return this._animator;
|
|
}
|
|
|
|
// Token: 0x0601DADB RID: 121563 RVA: 0x008170FC File Offset: 0x008152FC
|
|
private void HNDLFBBPEGL()
|
|
{
|
|
if (this.CAAAFEKOAAF && this.EGMAMABGLHD().NAABPMOIADH().NMDPPKDGAJN())
|
|
{
|
|
this.AAOFOILLDLI();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DADC RID: 121564 RVA: 0x00817124 File Offset: 0x00815324
|
|
private void AAEJCJGGKEJ()
|
|
{
|
|
if (this.CAAAFEKOAAF && this.FABEFDHJGHI().CAAOEAAJAIL.CFPNNAADNJF())
|
|
{
|
|
this.OJFPEEDMJJM();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DADD RID: 121565 RVA: 0x0081714C File Offset: 0x0081534C
|
|
public Tool FPADLNBFEHJ()
|
|
{
|
|
return this._tool;
|
|
}
|
|
|
|
// Token: 0x0601DADE RID: 121566 RVA: 0x00817154 File Offset: 0x00815354
|
|
private void BKHPHJMIDFO()
|
|
{
|
|
this.FPADLNBFEHJ().GFBCCFIMFEC += this.HOKBJPPNKKF;
|
|
this.EHMOKNDLEPB().PLPIAOHJBOB += this.NLMLLJNBKLP;
|
|
}
|
|
|
|
// Token: 0x0601DADF RID: 121567 RVA: 0x00817184 File Offset: 0x00815384
|
|
public Tool APHDNDHPBBD()
|
|
{
|
|
return this._tool;
|
|
}
|
|
|
|
// Token: 0x0601DAE0 RID: 121568 RVA: 0x0081718C File Offset: 0x0081538C
|
|
private void DALFLKEEIEM()
|
|
{
|
|
if (this.CAAAFEKOAAF && this.FPADLNBFEHJ().CAAOEAAJAIL.HKDNGBPNDDD())
|
|
{
|
|
this.OJFPEEDMJJM();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DAE1 RID: 121569 RVA: 0x008171B4 File Offset: 0x008153B4
|
|
private void LNFEHOKKPGP()
|
|
{
|
|
ControllerIO controllerIO = this.BKDFLNGCINH.EHFOKGIGIMF.JKNCHBFALCJ;
|
|
if (controllerIO != null)
|
|
{
|
|
if (this.DNFINNOFOEL)
|
|
{
|
|
this.BJHAEPCGEDE().SetTrigger(RemoteControlAnimation.HLJFILKGLMN);
|
|
this.DNFINNOFOEL = true;
|
|
}
|
|
if (this.GGFKCGFIOGA)
|
|
{
|
|
this.GOFJLOCDHGL().SetTrigger(RemoteControlAnimation.MEFLHIHGIGH);
|
|
this.GGFKCGFIOGA = true;
|
|
}
|
|
int num = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? RemoteControlAnimation.LDCPLJGBPKJ : RemoteControlAnimation.KLBMIPIBEDK);
|
|
this.NLLCHHJICAI().SetFloat(num, controllerIO.MBDMMGOLDEJ);
|
|
int num2 = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Right) ? RemoteControlAnimation.EDAANKAPHNE : RemoteControlAnimation.DOEKABLICCH);
|
|
this.NLLCHHJICAI().SetBool(num2, controllerIO.NLEHDGDGJLF || controllerIO.IJBEGOMDFHM);
|
|
Transform transform = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? this.leftControlStickTransform : this.rightControlStickTransform);
|
|
Vector2 vector = this.maxControlStickAngle * controllerIO.PNKPAPGBFOC();
|
|
transform.localRotation = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? Quaternion.Euler(1763f - vector.y, -vector.x, 1525f) : Quaternion.Euler(-vector.y, -vector.x, 707f));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DAE2 RID: 121570 RVA: 0x0081730C File Offset: 0x0081550C
|
|
private void FDKFDMOANKG()
|
|
{
|
|
ControllerIO controllerIO = this.EGMAMABGLHD().EHFOKGIGIMF.JKNCHBFALCJ;
|
|
if (controllerIO != null)
|
|
{
|
|
if (this.DNFINNOFOEL)
|
|
{
|
|
this.NLLCHHJICAI().SetTrigger(RemoteControlAnimation.HLJFILKGLMN);
|
|
this.DNFINNOFOEL = true;
|
|
}
|
|
if (this.GGFKCGFIOGA)
|
|
{
|
|
this.IAFGIDKKIHH().SetTrigger(RemoteControlAnimation.MEFLHIHGIGH);
|
|
this.GGFKCGFIOGA = true;
|
|
}
|
|
int num = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? RemoteControlAnimation.LDCPLJGBPKJ : RemoteControlAnimation.KLBMIPIBEDK);
|
|
this.KBEENNBACBO().SetFloat(num, controllerIO.AHONDPAFAAH());
|
|
int num2 = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? RemoteControlAnimation.EDAANKAPHNE : RemoteControlAnimation.DOEKABLICCH);
|
|
this.DOOLOGKPCLG().SetBool(num2, controllerIO.NLEHDGDGJLF || controllerIO.IJBEGOMDFHM);
|
|
Transform transform = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Right) ? this.leftControlStickTransform : this.rightControlStickTransform);
|
|
Vector2 vector = this.maxControlStickAngle * controllerIO.PNKPAPGBFOC();
|
|
transform.localRotation = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? Quaternion.Euler(1003f - vector.y, -vector.x, 1038f) : Quaternion.Euler(-vector.y, -vector.x, 1958f));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DAE3 RID: 121571 RVA: 0x00817464 File Offset: 0x00815664
|
|
private void EKGOFMDGGAC(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = false;
|
|
}
|
|
|
|
// Token: 0x0601DAE4 RID: 121572 RVA: 0x00817470 File Offset: 0x00815670
|
|
private void GPCBKBNAGHN()
|
|
{
|
|
this.EHMOKNDLEPB().GFBCCFIMFEC += this.EEJIHFJGJLG;
|
|
this.DBKOBGEIBAC().PLPIAOHJBOB += this.EKGOFMDGGAC;
|
|
}
|
|
|
|
// Token: 0x0601DAE5 RID: 121573 RVA: 0x008174A0 File Offset: 0x008156A0
|
|
public void PressLeftVirtualButton()
|
|
{
|
|
this.DNFINNOFOEL = true;
|
|
}
|
|
|
|
// Token: 0x0601DAE6 RID: 121574 RVA: 0x008174AC File Offset: 0x008156AC
|
|
public Animator IAFGIDKKIHH()
|
|
{
|
|
return this._animator;
|
|
}
|
|
|
|
// Token: 0x0601DAE8 RID: 121576 RVA: 0x0081751C File Offset: 0x0081571C
|
|
private void CLCLAHEIJMP()
|
|
{
|
|
if (this.CAAAFEKOAAF && this.CDNMEANCEDP().CAAOEAAJAIL.HEGAPJJIPCA())
|
|
{
|
|
this.MIEILAPFDDA();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DAE9 RID: 121577 RVA: 0x00817544 File Offset: 0x00815744
|
|
private void KPFKAMEBODL(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = true;
|
|
}
|
|
|
|
// Token: 0x0601DAEA RID: 121578 RVA: 0x00817550 File Offset: 0x00815750
|
|
public void PressRightVirtualButton()
|
|
{
|
|
this.GGFKCGFIOGA = true;
|
|
}
|
|
|
|
// Token: 0x0601DAEB RID: 121579 RVA: 0x0081755C File Offset: 0x0081575C
|
|
public Tool AKKGBNFCCEO()
|
|
{
|
|
return this._tool;
|
|
}
|
|
|
|
// Token: 0x0601DAEC RID: 121580 RVA: 0x00817564 File Offset: 0x00815764
|
|
private void IKFCLMNDGPF()
|
|
{
|
|
if (this.CAAAFEKOAAF && this.FABEFDHJGHI().NAABPMOIADH().KKDEBGNKDMG())
|
|
{
|
|
this.LNFEHOKKPGP();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DAED RID: 121581 RVA: 0x0081758C File Offset: 0x0081578C
|
|
private void AFOFLODHBKG()
|
|
{
|
|
ControllerIO controllerIO = this.CDNMEANCEDP().EHFOKGIGIMF.JKNCHBFALCJ;
|
|
if (controllerIO != null)
|
|
{
|
|
if (this.DNFINNOFOEL)
|
|
{
|
|
this.DOOLOGKPCLG().SetTrigger(RemoteControlAnimation.HLJFILKGLMN);
|
|
this.DNFINNOFOEL = false;
|
|
}
|
|
if (this.GGFKCGFIOGA)
|
|
{
|
|
this.JLALCHAIAHP().SetTrigger(RemoteControlAnimation.MEFLHIHGIGH);
|
|
this.GGFKCGFIOGA = true;
|
|
}
|
|
int num = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Right) ? RemoteControlAnimation.LDCPLJGBPKJ : RemoteControlAnimation.KLBMIPIBEDK);
|
|
this.PENBIFPJDAP.SetFloat(num, controllerIO.AHONDPAFAAH());
|
|
int num2 = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Right) ? RemoteControlAnimation.EDAANKAPHNE : RemoteControlAnimation.DOEKABLICCH);
|
|
this.KBEENNBACBO().SetBool(num2, !controllerIO.NLEHDGDGJLF && controllerIO.IJBEGOMDFHM);
|
|
Transform transform = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Right) ? this.leftControlStickTransform : this.rightControlStickTransform);
|
|
Vector2 vector = this.maxControlStickAngle * controllerIO.MHDDNLIGBGA;
|
|
transform.localRotation = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? Quaternion.Euler(1050f - vector.y, -vector.x, 1548f) : Quaternion.Euler(-vector.y, -vector.x, 892f));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DAEE RID: 121582 RVA: 0x008176E4 File Offset: 0x008158E4
|
|
private void HPFFIHMJBJH(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = false;
|
|
}
|
|
|
|
// Token: 0x0601DAEF RID: 121583 RVA: 0x008176F0 File Offset: 0x008158F0
|
|
private void Awake()
|
|
{
|
|
this.BKDFLNGCINH.GFBCCFIMFEC += this.ANHBINJLGOH;
|
|
this.BKDFLNGCINH.PLPIAOHJBOB += this.EKGOFMDGGAC;
|
|
}
|
|
|
|
// Token: 0x0601DAF0 RID: 121584 RVA: 0x00817720 File Offset: 0x00815920
|
|
private void LJICNBMGDMN()
|
|
{
|
|
if (this.CAAAFEKOAAF && this.AKKGBNFCCEO().NAABPMOIADH().NMDPPKDGAJN())
|
|
{
|
|
this.HNNCFELHDKJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DAF1 RID: 121585 RVA: 0x00817748 File Offset: 0x00815948
|
|
public void NHHHFEKNEPA()
|
|
{
|
|
this.GGFKCGFIOGA = false;
|
|
}
|
|
|
|
// Token: 0x0601DAF2 RID: 121586 RVA: 0x00817754 File Offset: 0x00815954
|
|
public void GAJOJEHNMGM()
|
|
{
|
|
this.DNFINNOFOEL = false;
|
|
}
|
|
|
|
// Token: 0x0601DAF3 RID: 121587 RVA: 0x00817760 File Offset: 0x00815960
|
|
private void OEHDEPBJFAB()
|
|
{
|
|
this.FABEFDHJGHI().GFBCCFIMFEC += this.ANHBINJLGOH;
|
|
this.DBKOBGEIBAC().PLPIAOHJBOB += this.NLMLLJNBKLP;
|
|
}
|
|
|
|
// Token: 0x0601DAF4 RID: 121588 RVA: 0x00817790 File Offset: 0x00815990
|
|
private void EEJIHFJGJLG(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = false;
|
|
this.IMINMBLAAJD = ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII;
|
|
}
|
|
|
|
// Token: 0x0601DAF5 RID: 121589 RVA: 0x008177AC File Offset: 0x008159AC
|
|
private void MDGPLNDHKCI()
|
|
{
|
|
if (this.CAAAFEKOAAF && this.AKKGBNFCCEO().NAABPMOIADH().HEGAPJJIPCA())
|
|
{
|
|
this.HNNCFELHDKJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DAF6 RID: 121590 RVA: 0x008177D4 File Offset: 0x008159D4
|
|
private void PMAENFOKNNN(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = false;
|
|
this.IMINMBLAAJD = ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII;
|
|
}
|
|
|
|
// Token: 0x0601DAF7 RID: 121591 RVA: 0x008177F0 File Offset: 0x008159F0
|
|
private void GDKFBIKAMMJ(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = true;
|
|
}
|
|
|
|
// Token: 0x0601DAF8 RID: 121592 RVA: 0x008177FC File Offset: 0x008159FC
|
|
private void OEKOPBDDGCK()
|
|
{
|
|
if (this.CAAAFEKOAAF && this.EGMAMABGLHD().CAAOEAAJAIL.HLLKMNAFJOP())
|
|
{
|
|
this.HBPFGAJIDED();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DAF9 RID: 121593 RVA: 0x00817824 File Offset: 0x00815A24
|
|
public Animator KBEENNBACBO()
|
|
{
|
|
return this._animator;
|
|
}
|
|
|
|
// Token: 0x0601DAFA RID: 121594 RVA: 0x0081782C File Offset: 0x00815A2C
|
|
public void EBPMMFMMPMI()
|
|
{
|
|
this.GGFKCGFIOGA = false;
|
|
}
|
|
|
|
// Token: 0x0601DAFB RID: 121595 RVA: 0x00817838 File Offset: 0x00815A38
|
|
public Tool AGMPDKIOOJF()
|
|
{
|
|
return this._tool;
|
|
}
|
|
|
|
// Token: 0x0601DAFC RID: 121596 RVA: 0x00817840 File Offset: 0x00815A40
|
|
public void GMKCMFIIFAG()
|
|
{
|
|
this.DNFINNOFOEL = false;
|
|
}
|
|
|
|
// Token: 0x0601DAFD RID: 121597 RVA: 0x0081784C File Offset: 0x00815A4C
|
|
public Tool PPPLGEMGPPK()
|
|
{
|
|
return this._tool;
|
|
}
|
|
|
|
// Token: 0x0601DAFE RID: 121598 RVA: 0x00817854 File Offset: 0x00815A54
|
|
private void MJEHPNFIMPP()
|
|
{
|
|
if (this.CAAAFEKOAAF && this.EGMAMABGLHD().CAAOEAAJAIL.GNCAHBDHAEI())
|
|
{
|
|
this.AFOFLODHBKG();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DAFF RID: 121599 RVA: 0x0081787C File Offset: 0x00815A7C
|
|
private void JFFLHAMMGAH()
|
|
{
|
|
this.PPPLGEMGPPK().GFBCCFIMFEC += this.HOKBJPPNKKF;
|
|
this.NMKHGKIELMI().PLPIAOHJBOB += this.NLMLLJNBKLP;
|
|
}
|
|
|
|
// Token: 0x0601DB00 RID: 121600 RVA: 0x008178AC File Offset: 0x00815AAC
|
|
private void OJFPEEDMJJM()
|
|
{
|
|
ControllerIO controllerIO = this.FABEFDHJGHI().EHFOKGIGIMF.JKNCHBFALCJ;
|
|
if (controllerIO != null)
|
|
{
|
|
if (this.DNFINNOFOEL)
|
|
{
|
|
this.GOFJLOCDHGL().SetTrigger(RemoteControlAnimation.HLJFILKGLMN);
|
|
this.DNFINNOFOEL = false;
|
|
}
|
|
if (this.GGFKCGFIOGA)
|
|
{
|
|
this.IAFGIDKKIHH().SetTrigger(RemoteControlAnimation.MEFLHIHGIGH);
|
|
this.GGFKCGFIOGA = true;
|
|
}
|
|
int num = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? RemoteControlAnimation.LDCPLJGBPKJ : RemoteControlAnimation.KLBMIPIBEDK);
|
|
this.GOFJLOCDHGL().SetFloat(num, controllerIO.MBDMMGOLDEJ);
|
|
int num2 = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? RemoteControlAnimation.EDAANKAPHNE : RemoteControlAnimation.DOEKABLICCH);
|
|
this.IAFGIDKKIHH().SetBool(num2, !controllerIO.NLEHDGDGJLF && controllerIO.IJBEGOMDFHM);
|
|
Transform transform = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? this.leftControlStickTransform : this.rightControlStickTransform);
|
|
Vector2 vector = this.maxControlStickAngle * controllerIO.MHDDNLIGBGA;
|
|
transform.localRotation = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? Quaternion.Euler(85f - vector.y, -vector.x, 1915f) : Quaternion.Euler(-vector.y, -vector.x, 1392f));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB01 RID: 121601 RVA: 0x00817A04 File Offset: 0x00815C04
|
|
private void KCFCFLNJNHK()
|
|
{
|
|
if (this.CAAAFEKOAAF && this.EHMOKNDLEPB().CAAOEAAJAIL.HLLKMNAFJOP())
|
|
{
|
|
this.PGBEJMOLFMN();
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000DBC RID: 3516
|
|
// (get) Token: 0x0601DB02 RID: 121602 RVA: 0x00817A2C File Offset: 0x00815C2C
|
|
public Tool BKDFLNGCINH
|
|
{
|
|
get
|
|
{
|
|
return this._tool;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB03 RID: 121603 RVA: 0x00817A34 File Offset: 0x00815C34
|
|
public void FHFJLDAEMNF()
|
|
{
|
|
this.GGFKCGFIOGA = true;
|
|
}
|
|
|
|
// Token: 0x0601DB04 RID: 121604 RVA: 0x00817A40 File Offset: 0x00815C40
|
|
public void MJKILJPEPGA()
|
|
{
|
|
this.GGFKCGFIOGA = false;
|
|
}
|
|
|
|
// Token: 0x0601DB05 RID: 121605 RVA: 0x00817A4C File Offset: 0x00815C4C
|
|
public void HOEBNEBAKAC()
|
|
{
|
|
this.GGFKCGFIOGA = false;
|
|
}
|
|
|
|
// Token: 0x0601DB06 RID: 121606 RVA: 0x00817A58 File Offset: 0x00815C58
|
|
public Tool EGMAMABGLHD()
|
|
{
|
|
return this._tool;
|
|
}
|
|
|
|
// Token: 0x0601DB07 RID: 121607 RVA: 0x00817A60 File Offset: 0x00815C60
|
|
private void JJEIHOEOBLN(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = false;
|
|
}
|
|
|
|
// Token: 0x0601DB08 RID: 121608 RVA: 0x00817A6C File Offset: 0x00815C6C
|
|
public void DEJJOOHMNAN()
|
|
{
|
|
this.GGFKCGFIOGA = false;
|
|
}
|
|
|
|
// Token: 0x0601DB09 RID: 121609 RVA: 0x00817A78 File Offset: 0x00815C78
|
|
private void FNNCEMJECLP()
|
|
{
|
|
this.EGMAMABGLHD().GFBCCFIMFEC += this.EEJIHFJGJLG;
|
|
this.FPADLNBFEHJ().PLPIAOHJBOB += this.GDKFBIKAMMJ;
|
|
}
|
|
|
|
// Token: 0x17000DBD RID: 3517
|
|
// (get) Token: 0x0601DB0A RID: 121610 RVA: 0x00817AA8 File Offset: 0x00815CA8
|
|
public Animator PENBIFPJDAP
|
|
{
|
|
get
|
|
{
|
|
return this._animator;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB0B RID: 121611 RVA: 0x00817AB0 File Offset: 0x00815CB0
|
|
public Animator GOFJLOCDHGL()
|
|
{
|
|
return this._animator;
|
|
}
|
|
|
|
// Token: 0x0601DB0C RID: 121612 RVA: 0x00817AB8 File Offset: 0x00815CB8
|
|
private void PGBEJMOLFMN()
|
|
{
|
|
ControllerIO controllerIO = this.FPADLNBFEHJ().EHFOKGIGIMF.JKNCHBFALCJ;
|
|
if (controllerIO != null)
|
|
{
|
|
if (this.DNFINNOFOEL)
|
|
{
|
|
this.IAFGIDKKIHH().SetTrigger(RemoteControlAnimation.HLJFILKGLMN);
|
|
this.DNFINNOFOEL = false;
|
|
}
|
|
if (this.GGFKCGFIOGA)
|
|
{
|
|
this.APJGHDKAHHL().SetTrigger(RemoteControlAnimation.MEFLHIHGIGH);
|
|
this.GGFKCGFIOGA = false;
|
|
}
|
|
int num = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? RemoteControlAnimation.LDCPLJGBPKJ : RemoteControlAnimation.KLBMIPIBEDK);
|
|
this.JLALCHAIAHP().SetFloat(num, controllerIO.AHONDPAFAAH());
|
|
int num2 = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? RemoteControlAnimation.EDAANKAPHNE : RemoteControlAnimation.DOEKABLICCH);
|
|
this.KBEENNBACBO().SetBool(num2, controllerIO.NLEHDGDGJLF || controllerIO.IJBEGOMDFHM);
|
|
Transform transform = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? this.leftControlStickTransform : this.rightControlStickTransform);
|
|
Vector2 vector = this.maxControlStickAngle * controllerIO.MHDDNLIGBGA;
|
|
transform.localRotation = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? Quaternion.Euler(1419f - vector.y, -vector.x, 442f) : Quaternion.Euler(-vector.y, -vector.x, 647f));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB0D RID: 121613 RVA: 0x00817C10 File Offset: 0x00815E10
|
|
private void HBPFGAJIDED()
|
|
{
|
|
ControllerIO controllerIO = this.DBKOBGEIBAC().EHFOKGIGIMF.JKNCHBFALCJ;
|
|
if (controllerIO != null)
|
|
{
|
|
if (this.DNFINNOFOEL)
|
|
{
|
|
this.APFHILMCJEB().SetTrigger(RemoteControlAnimation.HLJFILKGLMN);
|
|
this.DNFINNOFOEL = false;
|
|
}
|
|
if (this.GGFKCGFIOGA)
|
|
{
|
|
this.OHIIHNAALLE().SetTrigger(RemoteControlAnimation.MEFLHIHGIGH);
|
|
this.GGFKCGFIOGA = false;
|
|
}
|
|
int num = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? RemoteControlAnimation.LDCPLJGBPKJ : RemoteControlAnimation.KLBMIPIBEDK);
|
|
this.PENBIFPJDAP.SetFloat(num, controllerIO.AHONDPAFAAH());
|
|
int num2 = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Right) ? RemoteControlAnimation.EDAANKAPHNE : RemoteControlAnimation.DOEKABLICCH);
|
|
this.KBEENNBACBO().SetBool(num2, !controllerIO.NLEHDGDGJLF && controllerIO.IJBEGOMDFHM);
|
|
Transform transform = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? this.leftControlStickTransform : this.rightControlStickTransform);
|
|
Vector2 vector = this.maxControlStickAngle * controllerIO.PNKPAPGBFOC();
|
|
transform.localRotation = ((this.IMINMBLAAJD != PlayerHand.HMMEBFHABKA.Left) ? Quaternion.Euler(389f - vector.y, -vector.x, 872f) : Quaternion.Euler(-vector.y, -vector.x, 754f));
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB0E RID: 121614 RVA: 0x00817D68 File Offset: 0x00815F68
|
|
public Animator JLALCHAIAHP()
|
|
{
|
|
return this._animator;
|
|
}
|
|
|
|
// Token: 0x0601DB0F RID: 121615 RVA: 0x00817D70 File Offset: 0x00815F70
|
|
public Tool NLOMPLJPHNP()
|
|
{
|
|
return this._tool;
|
|
}
|
|
|
|
// Token: 0x0601DB10 RID: 121616 RVA: 0x00817D78 File Offset: 0x00815F78
|
|
public Tool FABEFDHJGHI()
|
|
{
|
|
return this._tool;
|
|
}
|
|
|
|
// Token: 0x0601DB11 RID: 121617 RVA: 0x00817D80 File Offset: 0x00815F80
|
|
private void FJJDODOGBEO(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = true;
|
|
this.IMINMBLAAJD = ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII;
|
|
}
|
|
|
|
// Token: 0x0601DB12 RID: 121618 RVA: 0x00817D9C File Offset: 0x00815F9C
|
|
public Tool AFBAJADCIJC()
|
|
{
|
|
return this._tool;
|
|
}
|
|
|
|
// Token: 0x0601DB13 RID: 121619 RVA: 0x00817DA4 File Offset: 0x00815FA4
|
|
public void MKKLHJJNABP()
|
|
{
|
|
this.DNFINNOFOEL = true;
|
|
}
|
|
|
|
// Token: 0x0601DB14 RID: 121620 RVA: 0x00817DB0 File Offset: 0x00815FB0
|
|
private void EEFJBLAIGBP()
|
|
{
|
|
this.BKDFLNGCINH.GFBCCFIMFEC += this.HOKBJPPNKKF;
|
|
this.NLOMPLJPHNP().PLPIAOHJBOB += this.EKGOFMDGGAC;
|
|
}
|
|
|
|
// Token: 0x0601DB15 RID: 121621 RVA: 0x00817DE0 File Offset: 0x00815FE0
|
|
private void GLBKBCBIOFJ()
|
|
{
|
|
this.EHMOKNDLEPB().GFBCCFIMFEC += this.PMAENFOKNNN;
|
|
this.CDNMEANCEDP().PLPIAOHJBOB += this.EKGOFMDGGAC;
|
|
}
|
|
|
|
// Token: 0x0601DB16 RID: 121622 RVA: 0x00817E10 File Offset: 0x00816010
|
|
public Animator APFHILMCJEB()
|
|
{
|
|
return this._animator;
|
|
}
|
|
|
|
// Token: 0x0601DB17 RID: 121623 RVA: 0x00817E18 File Offset: 0x00816018
|
|
private void LGCNFLACIIH()
|
|
{
|
|
this.CDNMEANCEDP().GFBCCFIMFEC += this.EEJIHFJGJLG;
|
|
this.FABEFDHJGHI().PLPIAOHJBOB += this.EKGOFMDGGAC;
|
|
}
|
|
|
|
// Token: 0x0601DB18 RID: 121624 RVA: 0x00817E48 File Offset: 0x00816048
|
|
public Animator APJGHDKAHHL()
|
|
{
|
|
return this._animator;
|
|
}
|
|
|
|
// Token: 0x0601DB19 RID: 121625 RVA: 0x00817E50 File Offset: 0x00816050
|
|
private void HNLKHICJJHC(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = false;
|
|
}
|
|
|
|
// Token: 0x0601DB1A RID: 121626 RVA: 0x00817E5C File Offset: 0x0081605C
|
|
private void Update()
|
|
{
|
|
if (this.CAAAFEKOAAF && this.BKDFLNGCINH.CAAOEAAJAIL.NHDDPGADJPJ)
|
|
{
|
|
this.HNNCFELHDKJ();
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601DB1B RID: 121627 RVA: 0x00817E84 File Offset: 0x00816084
|
|
public void HHDEEJENDCD()
|
|
{
|
|
this.DNFINNOFOEL = true;
|
|
}
|
|
|
|
// Token: 0x0601DB1C RID: 121628 RVA: 0x00817E90 File Offset: 0x00816090
|
|
private void NBOKPDLLKLO()
|
|
{
|
|
this.FABEFDHJGHI().GFBCCFIMFEC += this.FJJDODOGBEO;
|
|
this.AKKGBNFCCEO().PLPIAOHJBOB += this.EKGOFMDGGAC;
|
|
}
|
|
|
|
// Token: 0x0601DB1D RID: 121629 RVA: 0x00817EC0 File Offset: 0x008160C0
|
|
public Animator OHIIHNAALLE()
|
|
{
|
|
return this._animator;
|
|
}
|
|
|
|
// Token: 0x0601DB1E RID: 121630 RVA: 0x00817EC8 File Offset: 0x008160C8
|
|
public Tool DBKOBGEIBAC()
|
|
{
|
|
return this._tool;
|
|
}
|
|
|
|
// Token: 0x0601DB1F RID: 121631 RVA: 0x00817ED0 File Offset: 0x008160D0
|
|
public Animator NLLCHHJICAI()
|
|
{
|
|
return this._animator;
|
|
}
|
|
|
|
// Token: 0x0601DB20 RID: 121632 RVA: 0x00817ED8 File Offset: 0x008160D8
|
|
public void JNMAPEPLJNB()
|
|
{
|
|
this.GGFKCGFIOGA = true;
|
|
}
|
|
|
|
// Token: 0x0601DB21 RID: 121633 RVA: 0x00817EE4 File Offset: 0x008160E4
|
|
private void KLBGNFJDLPL(Tool ENBMEDIFBLM)
|
|
{
|
|
this.CAAAFEKOAAF = true;
|
|
this.IMINMBLAAJD = ENBMEDIFBLM.EHFOKGIGIMF.EEAOGJHMFII;
|
|
}
|
|
|
|
// Token: 0x04004D97 RID: 19863
|
|
[SerializeField]
|
|
private Transform leftControlStickTransform;
|
|
|
|
// Token: 0x04004D98 RID: 19864
|
|
[SerializeField]
|
|
private Transform rightControlStickTransform;
|
|
|
|
// Token: 0x04004D99 RID: 19865
|
|
[SerializeField]
|
|
private float maxControlStickAngle = 30f;
|
|
|
|
// Token: 0x04004D9A RID: 19866
|
|
[ENMFCLPAKBJ(FOGKDGELKHN.Self, false)]
|
|
[SerializeField]
|
|
private Tool _tool;
|
|
|
|
// Token: 0x04004D9B RID: 19867
|
|
[ENMFCLPAKBJ(FOGKDGELKHN.SelfAndChildren, false)]
|
|
[SerializeField]
|
|
private Animator _animator;
|
|
|
|
// Token: 0x04004D9C RID: 19868
|
|
private static readonly int LDCPLJGBPKJ = Animator.StringToHash("TriggerPressAmount");
|
|
|
|
// Token: 0x04004D9D RID: 19869
|
|
private static readonly int EDAANKAPHNE = Animator.StringToHash("MainButtonPressed");
|
|
|
|
// Token: 0x04004D9E RID: 19870
|
|
private static readonly int HLJFILKGLMN = Animator.StringToHash("VirtualButtonPressed");
|
|
|
|
// Token: 0x04004D9F RID: 19871
|
|
private static readonly int KLBMIPIBEDK = Animator.StringToHash("TriggerPressAmountRight");
|
|
|
|
// Token: 0x04004DA0 RID: 19872
|
|
private static readonly int DOEKABLICCH = Animator.StringToHash("MainButtonPressedRight");
|
|
|
|
// Token: 0x04004DA1 RID: 19873
|
|
private static readonly int MEFLHIHGIGH = Animator.StringToHash("VirtualButtonPressedRight");
|
|
|
|
// Token: 0x04004DA2 RID: 19874
|
|
private bool CAAAFEKOAAF;
|
|
|
|
// Token: 0x04004DA3 RID: 19875
|
|
private bool DNFINNOFOEL;
|
|
|
|
// Token: 0x04004DA4 RID: 19876
|
|
private bool GGFKCGFIOGA;
|
|
|
|
// Token: 0x04004DA5 RID: 19877
|
|
private PlayerHand.HMMEBFHABKA IMINMBLAAJD;
|
|
}
|
|
}
|