454 lines
12 KiB
C#
454 lines
12 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x02000CA1 RID: 3233
|
|
public class HandCollisionTransformUpdater : MonoBehaviour
|
|
{
|
|
// Token: 0x06019ADF RID: 105183 RVA: 0x00724D0C File Offset: 0x00722F0C
|
|
private void BACNJJKPEOO()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AE0 RID: 105184 RVA: 0x00724D58 File Offset: 0x00722F58
|
|
private void ADIOFMMMFNL()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AE1 RID: 105185 RVA: 0x00724DA4 File Offset: 0x00722FA4
|
|
private void MHDFIOMCCMO()
|
|
{
|
|
bool flag = this.LCNBFBECONF.CCCHAKNFKNH > 521f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019AE2 RID: 105186 RVA: 0x00724E28 File Offset: 0x00723028
|
|
private void PBCNFAEFEEO()
|
|
{
|
|
bool flag = this.LCNBFBECONF.PBECMBCGFIE() > 1753f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019AE3 RID: 105187 RVA: 0x00724EAC File Offset: 0x007230AC
|
|
private void NGHJFABFAOA()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AE4 RID: 105188 RVA: 0x00724EF8 File Offset: 0x007230F8
|
|
private void IABDGAJLFNK()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AE5 RID: 105189 RVA: 0x00724F44 File Offset: 0x00723144
|
|
private void OLEBPMMFNIF()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AE6 RID: 105190 RVA: 0x00724F90 File Offset: 0x00723190
|
|
private void NIBGLHFHJLJ()
|
|
{
|
|
bool flag = this.LCNBFBECONF.PBECMBCGFIE() > 880f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019AE7 RID: 105191 RVA: 0x00725014 File Offset: 0x00723214
|
|
private void NMOBMJGJCCC()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AE8 RID: 105192 RVA: 0x00725060 File Offset: 0x00723260
|
|
private void Awake()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AE9 RID: 105193 RVA: 0x007250AC File Offset: 0x007232AC
|
|
private void MJGFPAHIHGG()
|
|
{
|
|
bool flag = this.LCNBFBECONF.PBECMBCGFIE() > 574f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019AEA RID: 105194 RVA: 0x00725130 File Offset: 0x00723330
|
|
private void MJANJBNFEGG()
|
|
{
|
|
bool flag = this.LCNBFBECONF.CCCHAKNFKNH > 1472f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019AEB RID: 105195 RVA: 0x007251B4 File Offset: 0x007233B4
|
|
private void OFOPHGFIAJM()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AEC RID: 105196 RVA: 0x00725200 File Offset: 0x00723400
|
|
private void BBOIJKLPABP()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AED RID: 105197 RVA: 0x0072524C File Offset: 0x0072344C
|
|
private void NEFFCEJLOCD()
|
|
{
|
|
bool flag = this.LCNBFBECONF.PBECMBCGFIE() > 1036f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019AEE RID: 105198 RVA: 0x007252D0 File Offset: 0x007234D0
|
|
private void AHLMADACOLB()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AEF RID: 105199 RVA: 0x0072531C File Offset: 0x0072351C
|
|
private void DLIIOFOCPHG()
|
|
{
|
|
bool flag = this.LCNBFBECONF.CCCHAKNFKNH > 1088f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019AF0 RID: 105200 RVA: 0x007253A0 File Offset: 0x007235A0
|
|
private void DHAEEPCMCMI()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AF1 RID: 105201 RVA: 0x007253EC File Offset: 0x007235EC
|
|
private void BBKPAKKLOGB()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AF2 RID: 105202 RVA: 0x00725438 File Offset: 0x00723638
|
|
private void DLCHNOFPONJ()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AF3 RID: 105203 RVA: 0x00725484 File Offset: 0x00723684
|
|
private void LHMGNEDHIHI()
|
|
{
|
|
bool flag = this.LCNBFBECONF.PBECMBCGFIE() > 1097f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019AF4 RID: 105204 RVA: 0x00725508 File Offset: 0x00723708
|
|
private void IJPDEJFNCNH()
|
|
{
|
|
bool flag = this.LCNBFBECONF.PBECMBCGFIE() > 1678f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019AF5 RID: 105205 RVA: 0x0072558C File Offset: 0x0072378C
|
|
private void HKBNFKNLICF()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AF6 RID: 105206 RVA: 0x007255D8 File Offset: 0x007237D8
|
|
private void AANDHGOIAIC()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AF7 RID: 105207 RVA: 0x00725624 File Offset: 0x00723824
|
|
private void LJFJILFBKHF()
|
|
{
|
|
bool flag = this.LCNBFBECONF.CCCHAKNFKNH > 219f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019AF8 RID: 105208 RVA: 0x007256A8 File Offset: 0x007238A8
|
|
private void OPJLBOGKPPI()
|
|
{
|
|
bool flag = this.LCNBFBECONF.PBECMBCGFIE() > 731f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019AF9 RID: 105209 RVA: 0x0072572C File Offset: 0x0072392C
|
|
private void Update()
|
|
{
|
|
bool flag = this.LCNBFBECONF.CCCHAKNFKNH > 0.5f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019AFA RID: 105210 RVA: 0x007257B0 File Offset: 0x007239B0
|
|
private void JINABDGLFOB()
|
|
{
|
|
bool flag = this.LCNBFBECONF.CCCHAKNFKNH > 414f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019AFB RID: 105211 RVA: 0x00725834 File Offset: 0x00723A34
|
|
private void JLOMELEDCLK()
|
|
{
|
|
this.IGEHHGJNOOB = base.transform.localRotation;
|
|
this.PMCLAMNBGAO = base.transform.localScale;
|
|
this.NDLCHKFGCLF = Quaternion.Euler(this.rotationWhenClosedEuler);
|
|
this.LCNBFBECONF = base.GetComponentInParent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019AFC RID: 105212 RVA: 0x00725880 File Offset: 0x00723A80
|
|
private void ENGNDJADBDF()
|
|
{
|
|
bool flag = this.LCNBFBECONF.CCCHAKNFKNH > 865f;
|
|
if (flag != this.PAIHDJDFKOP)
|
|
{
|
|
if (flag)
|
|
{
|
|
base.transform.localRotation = this.NDLCHKFGCLF;
|
|
base.transform.localScale = this.scaleWhenClosed;
|
|
}
|
|
else
|
|
{
|
|
base.transform.localRotation = this.IGEHHGJNOOB;
|
|
base.transform.localScale = this.PMCLAMNBGAO;
|
|
}
|
|
this.PAIHDJDFKOP = flag;
|
|
}
|
|
}
|
|
|
|
// Token: 0x040045C2 RID: 17858
|
|
[SerializeField]
|
|
private Vector3 rotationWhenClosedEuler;
|
|
|
|
// Token: 0x040045C3 RID: 17859
|
|
[SerializeField]
|
|
private Vector3 scaleWhenClosed;
|
|
|
|
// Token: 0x040045C4 RID: 17860
|
|
private Quaternion NDLCHKFGCLF;
|
|
|
|
// Token: 0x040045C5 RID: 17861
|
|
private Quaternion IGEHHGJNOOB;
|
|
|
|
// Token: 0x040045C6 RID: 17862
|
|
private Vector3 PMCLAMNBGAO;
|
|
|
|
// Token: 0x040045C7 RID: 17863
|
|
private bool PAIHDJDFKOP;
|
|
|
|
// Token: 0x040045C8 RID: 17864
|
|
private PlayerHand LCNBFBECONF;
|
|
}
|