1039 lines
30 KiB
C#
1039 lines
30 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core.Gestures
|
|
{
|
|
// Token: 0x02000C8E RID: 3214
|
|
public class HandshakeGesture : HandGestureBase
|
|
{
|
|
// Token: 0x060197A3 RID: 104355 RVA: 0x007175D0 File Offset: 0x007157D0
|
|
private void KFENNFIDLEP(PlayerHand NOBAPCOKFIL)
|
|
{
|
|
if (this.PBBMHJJNACP != NOBAPCOKFIL)
|
|
{
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.BreakHandshake(base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
this.PBBMHJJNACP = NOBAPCOKFIL;
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.ConnectHandshake(base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B40 RID: 2880
|
|
// (get) Token: 0x060197A4 RID: 104356 RVA: 0x0071763C File Offset: 0x0071583C
|
|
private bool BDEKCIBEPIP
|
|
{
|
|
get
|
|
{
|
|
return !this.CIPKKPPJOJL || (base.AKCKNCDOPLE.transform.position - this.MOKPGNBMGAM).sqrMagnitude > this.maxHoldDriftDistance * this.maxHoldDriftDistance;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197A5 RID: 104357 RVA: 0x0071768C File Offset: 0x0071588C
|
|
private void DMAIBIKEMNO()
|
|
{
|
|
if (base.DGLKKANNBPD())
|
|
{
|
|
if (!this.KFKEMMHPIHO())
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(1);
|
|
}
|
|
else if (!this.CIPKKPPJOJL)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
else if (this.IKOJHOPJEEA)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(6);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197A6 RID: 104358 RVA: 0x007176F4 File Offset: 0x007158F4
|
|
private bool ABOAHMKAINL()
|
|
{
|
|
return (this.CMNMPJLIJJC == null && this.PAFNFHOPKAH == null) || this.CFMEIONBDHL() == HandshakeGesture.CPLLKAEAEJL.Inactive;
|
|
}
|
|
|
|
// Token: 0x060197A7 RID: 104359 RVA: 0x00717724 File Offset: 0x00715924
|
|
public virtual void LBEFDGOLNOD(PlayerHand FNIKCKFJCKH)
|
|
{
|
|
base.ProcessHandCollision(FNIKCKFJCKH);
|
|
if (base.DGLOKLCEMLH() && FNIKCKFJCKH != null && this.MLENOIEKEMM())
|
|
{
|
|
this.KDFIHAMBNDD(FNIKCKFJCKH);
|
|
if (this.NMAHLHMEHMA)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197A8 RID: 104360 RVA: 0x00717778 File Offset: 0x00715978
|
|
private HandshakeGesture.CPLLKAEAEJL JIIHIOEPONP()
|
|
{
|
|
return (!(this.JLLIEHIMFLK() == null)) ? this.BOKIMMIGCJM.JLABKCMPKBI() : this.PAFNFHOPKAH.JOJFCBEFCJK;
|
|
}
|
|
|
|
// Token: 0x17000B38 RID: 2872
|
|
// (get) Token: 0x060197BC RID: 104380 RVA: 0x00717D90 File Offset: 0x00715F90
|
|
// (set) Token: 0x060197A9 RID: 104361 RVA: 0x007177A8 File Offset: 0x007159A8
|
|
private PlayerHand CMNMPJLIJJC
|
|
{
|
|
get
|
|
{
|
|
PhotonView photonView = PhotonView.Find(this.EENEIGEOODA.CPIBGJLHLBL());
|
|
return (!(photonView != null)) ? null : photonView.GetComponent<PlayerHand>();
|
|
}
|
|
set
|
|
{
|
|
this.EENEIGEOODA.MEAINJPIECA((!(value != null)) ? (-1) : value.OMNGGJICBBI.ADMBCINHJOG);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B3C RID: 2876
|
|
// (get) Token: 0x060197AA RID: 104362 RVA: 0x007177D4 File Offset: 0x007159D4
|
|
private bool FKCNEFICOJL
|
|
{
|
|
get
|
|
{
|
|
return this.KGJBJGFKEGA.BHMLLHLEAFF == 0 && Time.time <= this.LIIAHFKOIOO + this.handOpenBufferDuration;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197AB RID: 104363 RVA: 0x00717800 File Offset: 0x00715A00
|
|
private void PFNBNIIPMLA(PlayerHand NOBAPCOKFIL)
|
|
{
|
|
if (this.PBBMHJJNACP != NOBAPCOKFIL)
|
|
{
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.BreakHandshake(base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
this.PBBMHJJNACP = NOBAPCOKFIL;
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.ConnectHandshake(base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197AC RID: 104364 RVA: 0x0071786C File Offset: 0x00715A6C
|
|
private HandshakeGesture.CPLLKAEAEJL BODLFPJHBEN()
|
|
{
|
|
return (!(this.JLLIEHIMFLK() == null)) ? this.JLLIEHIMFLK().JLABKCMPKBI() : this.PAFNFHOPKAH.CMLEBBOCEAD();
|
|
}
|
|
|
|
// Token: 0x060197AD RID: 104365 RVA: 0x0071789C File Offset: 0x00715A9C
|
|
private void PLGBJHILMHH()
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
if (!this.KFKEMMHPIHO())
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(1);
|
|
}
|
|
else if (!this.CIPKKPPJOJL)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(1);
|
|
}
|
|
else if (this.IKOJHOPJEEA)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(8);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197AE RID: 104366 RVA: 0x00717904 File Offset: 0x00715B04
|
|
private void KCKPOOJHBNO()
|
|
{
|
|
this.KGJBJGFKEGA.PGELJEHELFN(this, 1);
|
|
base.enabled = base.BHCCHBHNHCG;
|
|
}
|
|
|
|
// Token: 0x060197AF RID: 104367 RVA: 0x00717920 File Offset: 0x00715B20
|
|
private void KDFIHAMBNDD(PlayerHand NOBAPCOKFIL)
|
|
{
|
|
this.EENEIGEOODA.MEAINJPIECA((!(NOBAPCOKFIL != null)) ? (-1) : NOBAPCOKFIL.EKPBHKFHMON().OMNKKJNHJHD());
|
|
}
|
|
|
|
// Token: 0x060197B0 RID: 104368 RVA: 0x0071794C File Offset: 0x00715B4C
|
|
private bool MOODNKBFIKL()
|
|
{
|
|
return !this.CIPKKPPJOJL || (base.AKCKNCDOPLE.transform.position - this.MOKPGNBMGAM).sqrMagnitude > this.maxHoldDriftDistance * this.maxHoldDriftDistance;
|
|
}
|
|
|
|
// Token: 0x17000B43 RID: 2883
|
|
// (get) Token: 0x060197B1 RID: 104369 RVA: 0x0071799C File Offset: 0x00715B9C
|
|
private bool BPGFDFCGEDA
|
|
{
|
|
get
|
|
{
|
|
return (this.CMNMPJLIJJC != null || this.PAFNFHOPKAH != null) && (this.KNILPGLOFGO == HandshakeGesture.CPLLKAEAEJL.Finished || this.KNILPGLOFGO == HandshakeGesture.CPLLKAEAEJL.Inactive);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197B2 RID: 104370 RVA: 0x007179DC File Offset: 0x00715BDC
|
|
private PlayerHand FPDHOEJNANK()
|
|
{
|
|
return this.PBBMHJJNACP;
|
|
}
|
|
|
|
// Token: 0x060197B3 RID: 104371 RVA: 0x007179E4 File Offset: 0x00715BE4
|
|
private void CGBLBDLNLBN(ushort NPGJBFOHMPA, ushort ALPCHDHJEBG)
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
this.KDFIHAMBNDD(null);
|
|
if (this.PAFNFHOPKAH != null)
|
|
{
|
|
this.PAFNFHOPKAH.UpdateHandshakeState(HandshakeGesture.CPLLKAEAEJL.Ready_Open);
|
|
this.PAFNFHOPKAH = null;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B37 RID: 2871
|
|
// (get) Token: 0x060197B4 RID: 104372 RVA: 0x00717A1C File Offset: 0x00715C1C
|
|
// (set) Token: 0x060197C2 RID: 104386 RVA: 0x00717F7C File Offset: 0x0071617C
|
|
private NonPlayerGestureTarget GMDHMCLBDAL
|
|
{
|
|
get
|
|
{
|
|
return this.ALHMLCAMMGM;
|
|
}
|
|
set
|
|
{
|
|
if (this.ALHMLCAMMGM != value)
|
|
{
|
|
if (this.ALHMLCAMMGM != null)
|
|
{
|
|
PlayerHand.BreakNonPlayerGesture((this.HPCKCOBKJLK != HandshakeGesture.CPLLKAEAEJL.Broken) ? PlayerHandGestures.DMPPGHHPHGO.HandshakeSuccess : PlayerHandGestures.DMPPGHHPHGO.HandshakeCancel, base.AKCKNCDOPLE, this.ALHMLCAMMGM);
|
|
}
|
|
this.ALHMLCAMMGM = value;
|
|
if (this.ALHMLCAMMGM != null)
|
|
{
|
|
PlayerHand.ConnectNonPlayerGesture(PlayerHandGestures.DMPPGHHPHGO.HandshakeStart, base.AKCKNCDOPLE, this.ALHMLCAMMGM);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197B5 RID: 104373 RVA: 0x00717A24 File Offset: 0x00715C24
|
|
public virtual void ENNNIEGONLM(NonPlayerGestureTarget MMEBLCBANIL)
|
|
{
|
|
base.ProcessNonPlayerHandCollision(MMEBLCBANIL);
|
|
if (base.GANDPDNCOKF() && MMEBLCBANIL.HCAPGCABLOK() == PlayerHandGestures.DMPPGHHPHGO.Fistbump && this.MLENOIEKEMM())
|
|
{
|
|
this.PAFNFHOPKAH = MMEBLCBANIL;
|
|
if (this.NMAHLHMEHMA)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B3B RID: 2875
|
|
// (get) Token: 0x060197B6 RID: 104374 RVA: 0x00717A78 File Offset: 0x00715C78
|
|
private HandshakeGesture.CPLLKAEAEJL KNILPGLOFGO
|
|
{
|
|
get
|
|
{
|
|
return (!(this.BOKIMMIGCJM == null)) ? this.BOKIMMIGCJM.HPCKCOBKJLK : this.PAFNFHOPKAH.JOJFCBEFCJK;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B3E RID: 2878
|
|
// (get) Token: 0x060197B7 RID: 104375 RVA: 0x00717AA8 File Offset: 0x00715CA8
|
|
private bool FLAIGCLBDFO
|
|
{
|
|
get
|
|
{
|
|
if (this.CMNMPJLIJJC == null && this.PAFNFHOPKAH == null)
|
|
{
|
|
return false;
|
|
}
|
|
float num = Vector3.Dot(base.AKCKNCDOPLE.CDNCEOOIOHP, (!(this.CMNMPJLIJJC == null)) ? this.CMNMPJLIJJC.CDNCEOOIOHP : this.PAFNFHOPKAH.CDNCEOOIOHP);
|
|
float num2 = Vector3.Dot(base.AKCKNCDOPLE.HJIOPIFJEOE, (!(this.CMNMPJLIJJC == null)) ? this.CMNMPJLIJJC.HJIOPIFJEOE : this.PAFNFHOPKAH.HJIOPIFJEOE);
|
|
float sqrMagnitude = (base.AKCKNCDOPLE.transform.position - ((!(this.CMNMPJLIJJC == null)) ? this.CMNMPJLIJJC.transform.position : this.PAFNFHOPKAH.transform.position)).sqrMagnitude;
|
|
return sqrMagnitude <= this.maxStartDistance * this.maxStartDistance && num2 < this.fingerDotThreshold && num < this.palmsTogetherDotThreshold;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197B8 RID: 104376 RVA: 0x00717BD4 File Offset: 0x00715DD4
|
|
private void GNALOJKONCC(PlayerHand NOBAPCOKFIL)
|
|
{
|
|
if (this.PBBMHJJNACP != NOBAPCOKFIL)
|
|
{
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.BreakHandshake(base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
this.PBBMHJJNACP = NOBAPCOKFIL;
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.ConnectHandshake(base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197B9 RID: 104377 RVA: 0x00717C40 File Offset: 0x00715E40
|
|
private HandshakeGesture JLLIEHIMFLK()
|
|
{
|
|
PlayerHand playerHand = this.LBNDFKJDMIL();
|
|
if (playerHand != null)
|
|
{
|
|
return playerHand.IIJAOBHBHLI.GetComponent<HandshakeGesture>();
|
|
}
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x060197BA RID: 104378 RVA: 0x00717C70 File Offset: 0x00715E70
|
|
private void JJHPPFMOEGM()
|
|
{
|
|
this.KGJBJGFKEGA.PGELJEHELFN(this, 1);
|
|
base.enabled = base.GANDPDNCOKF();
|
|
}
|
|
|
|
// Token: 0x060197BB RID: 104379 RVA: 0x00717C8C File Offset: 0x00715E8C
|
|
protected virtual void JHCLJIABPPJ()
|
|
{
|
|
base.FNNCEMJECLP();
|
|
this.EENEIGEOODA = new LHLLJPPCDKA<int>(this, "<b>WallHack Detector</b>", -1, IKCAJLLAFML.MASTER, null);
|
|
this.KGJBJGFKEGA = new PNONBEAIBHA("load", IKCAJLLAFML.AUTHORITY);
|
|
this.KGJBJGFKEGA.AGLMMKOFICI(0, new ANMJLCILKDJ.NCMAEMHOHDG(this.PMOCBGDHNFN), null, null);
|
|
this.KGJBJGFKEGA.AGLMMKOFICI(1, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.EIOMCKIJKCB));
|
|
this.KGJBJGFKEGA.AGLMMKOFICI(4, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.NDIPHENCLPD));
|
|
this.KGJBJGFKEGA.AGLMMKOFICI(1, new ANMJLCILKDJ.NCMAEMHOHDG(this.KOGLDBKDHHE), null, new ANMJLCILKDJ.PLBLFEEANOO(this.DDGKEJLAICI));
|
|
this.KGJBJGFKEGA.AGLMMKOFICI(0, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.PAHDJOHEPBO));
|
|
this.KGJBJGFKEGA.AGLMMKOFICI(6, new ANMJLCILKDJ.NCMAEMHOHDG(this.PLMGFGKHGAP), null, new ANMJLCILKDJ.PLBLFEEANOO(this.PJEKPLLPHMP));
|
|
this.KGJBJGFKEGA.NDKFCMNIHJJ += this.OIODDBOHDHO;
|
|
}
|
|
|
|
// Token: 0x060197BD RID: 104381 RVA: 0x00717DC8 File Offset: 0x00715FC8
|
|
private void HCJDDADCGGJ()
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
if (this.BPGFDFCGEDA || Time.time - this.KAOMHODKPEO >= this.requiredHoldDuration)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(4);
|
|
}
|
|
else if (this.HMNMLIHFJLK || this.BDEKCIBEPIP)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(5);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197BE RID: 104382 RVA: 0x00717E38 File Offset: 0x00716038
|
|
private void DLIIOFOCPHG()
|
|
{
|
|
this.KGJBJGFKEGA.DLBPEOILIFL();
|
|
if (base.IGIPCHFCFNN() && base.AKCKNCDOPLE.CCCHAKNFKNH <= 1699f)
|
|
{
|
|
this.LIIAHFKOIOO = Time.time;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B3A RID: 2874
|
|
// (get) Token: 0x060197D5 RID: 104405 RVA: 0x007186D0 File Offset: 0x007168D0
|
|
// (set) Token: 0x060197BF RID: 104383 RVA: 0x00717E70 File Offset: 0x00716070
|
|
private PlayerHand IPDBEGMIJPH
|
|
{
|
|
get
|
|
{
|
|
return this.PBBMHJJNACP;
|
|
}
|
|
set
|
|
{
|
|
if (this.PBBMHJJNACP != value)
|
|
{
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.BreakHandshake(base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
this.PBBMHJJNACP = value;
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.ConnectHandshake(base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197C0 RID: 104384 RVA: 0x00717EDC File Offset: 0x007160DC
|
|
private void EIEOMMFGDLN(ushort PPJIGDPOGFH, ushort CHJBIHILBFO, ushort IHHBJKECADP, ushort BNCBHHCPCLE)
|
|
{
|
|
if (PPJIGDPOGFH == 4 || PPJIGDPOGFH == 8)
|
|
{
|
|
this.GNALOJKONCC(this.LBNDFKJDMIL());
|
|
this.JDDAFODMCPE(this.PAFNFHOPKAH);
|
|
}
|
|
else
|
|
{
|
|
this.PFNBNIIPMLA(null);
|
|
this.JDDAFODMCPE(null);
|
|
}
|
|
if (this.PAFNFHOPKAH != null)
|
|
{
|
|
this.PAFNFHOPKAH.LOEPNCCBBHK(this.HPCKCOBKJLK);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197C1 RID: 104385 RVA: 0x00717F44 File Offset: 0x00716144
|
|
private void Update()
|
|
{
|
|
this.KGJBJGFKEGA.DLBPEOILIFL();
|
|
if (base.BHCCHBHNHCG && base.AKCKNCDOPLE.CCCHAKNFKNH <= 0.01f)
|
|
{
|
|
this.LIIAHFKOIOO = Time.time;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197C3 RID: 104387 RVA: 0x00717FFC File Offset: 0x007161FC
|
|
public override void ProcessNonPlayerHandCollision(NonPlayerGestureTarget MMEBLCBANIL)
|
|
{
|
|
base.ProcessNonPlayerHandCollision(MMEBLCBANIL);
|
|
if (base.BHCCHBHNHCG && MMEBLCBANIL.JPOGCIFIHEB == PlayerHandGestures.DMPPGHHPHGO.HandshakeStart && this.FKCNEFICOJL)
|
|
{
|
|
this.PAFNFHOPKAH = MMEBLCBANIL;
|
|
if (this.NMAHLHMEHMA)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(1);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197C4 RID: 104388 RVA: 0x00718050 File Offset: 0x00716250
|
|
private void NHIEONADEEI()
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
if (!this.FLAIGCLBDFO)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
else if (!this.CIPKKPPJOJL)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
else if (this.IKOJHOPJEEA)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(2);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B39 RID: 2873
|
|
// (get) Token: 0x060197C5 RID: 104389 RVA: 0x007180B8 File Offset: 0x007162B8
|
|
private HandshakeGesture BOKIMMIGCJM
|
|
{
|
|
get
|
|
{
|
|
PlayerHand playerHand = this.CMNMPJLIJJC;
|
|
if (playerHand != null)
|
|
{
|
|
return playerHand.IIJAOBHBHLI.GetComponent<HandshakeGesture>();
|
|
}
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197C6 RID: 104390 RVA: 0x007180E8 File Offset: 0x007162E8
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
this.EENEIGEOODA = new LHLLJPPCDKA<int>(this, "SHAKE_HID", -1, IKCAJLLAFML.AUTHORITY, null);
|
|
this.KGJBJGFKEGA = new PNONBEAIBHA("SHAKE_S", IKCAJLLAFML.AUTHORITY);
|
|
this.KGJBJGFKEGA.AGLMMKOFICI(0, new ANMJLCILKDJ.NCMAEMHOHDG(this.PMOCBGDHNFN), null, null);
|
|
this.KGJBJGFKEGA.AGLMMKOFICI(1, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.EIOMCKIJKCB));
|
|
this.KGJBJGFKEGA.AGLMMKOFICI(2, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.PIKCEDDJKDD));
|
|
this.KGJBJGFKEGA.AGLMMKOFICI(3, new ANMJLCILKDJ.NCMAEMHOHDG(this.KOGLDBKDHHE), null, new ANMJLCILKDJ.PLBLFEEANOO(this.HCJDDADCGGJ));
|
|
this.KGJBJGFKEGA.AGLMMKOFICI(4, null, null, new ANMJLCILKDJ.PLBLFEEANOO(this.PAHDJOHEPBO));
|
|
this.KGJBJGFKEGA.AGLMMKOFICI(5, new ANMJLCILKDJ.NCMAEMHOHDG(this.PLMGFGKHGAP), null, new ANMJLCILKDJ.PLBLFEEANOO(this.PHOIMKOBDKK));
|
|
this.KGJBJGFKEGA.NDKFCMNIHJJ += this.OIODDBOHDHO;
|
|
}
|
|
|
|
// Token: 0x060197C7 RID: 104391 RVA: 0x007181EC File Offset: 0x007163EC
|
|
private void DDGKEJLAICI()
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
if (this.BPGFDFCGEDA || Time.time - this.KAOMHODKPEO >= this.requiredHoldDuration)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(2);
|
|
}
|
|
else if (this.ABOAHMKAINL() || this.MOODNKBFIKL())
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(3);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197C8 RID: 104392 RVA: 0x0071825C File Offset: 0x0071645C
|
|
public virtual bool CLPGNJLIPJA()
|
|
{
|
|
return this.HPCKCOBKJLK == HandshakeGesture.CPLLKAEAEJL.Ready_Open || this.HPCKCOBKJLK == HandshakeGesture.CPLLKAEAEJL.Ready_Gripped || this.HPCKCOBKJLK == (HandshakeGesture.CPLLKAEAEJL)6;
|
|
}
|
|
|
|
// Token: 0x060197C9 RID: 104393 RVA: 0x00718284 File Offset: 0x00716484
|
|
public virtual bool LIFIANBAKMI()
|
|
{
|
|
return this.HPCKCOBKJLK == (HandshakeGesture.CPLLKAEAEJL)6 || this.HPCKCOBKJLK == HandshakeGesture.CPLLKAEAEJL.Ready_Open || this.HPCKCOBKJLK == HandshakeGesture.CPLLKAEAEJL.Ready_Gripped;
|
|
}
|
|
|
|
// Token: 0x060197CA RID: 104394 RVA: 0x007182AC File Offset: 0x007164AC
|
|
private NonPlayerGestureTarget FEEKMLMMLFL()
|
|
{
|
|
return this.ALHMLCAMMGM;
|
|
}
|
|
|
|
// Token: 0x060197CB RID: 104395 RVA: 0x007182B4 File Offset: 0x007164B4
|
|
private bool KFKEMMHPIHO()
|
|
{
|
|
if (this.CMNMPJLIJJC == null && this.PAFNFHOPKAH == null)
|
|
{
|
|
return true;
|
|
}
|
|
float num = Vector3.Dot(base.AKCKNCDOPLE.CDNCEOOIOHP, (!(this.LBNDFKJDMIL() == null)) ? this.LBNDFKJDMIL().CDNCEOOIOHP : this.PAFNFHOPKAH.APDKELCFHIA());
|
|
float num2 = Vector3.Dot(base.AKCKNCDOPLE.HJIOPIFJEOE, (!(this.CMNMPJLIJJC == null)) ? this.LBNDFKJDMIL().HJIOPIFJEOE : this.PAFNFHOPKAH.HJIOPIFJEOE);
|
|
float sqrMagnitude = (base.AKCKNCDOPLE.transform.position - ((!(this.CMNMPJLIJJC == null)) ? this.LBNDFKJDMIL().transform.position : this.PAFNFHOPKAH.transform.position)).sqrMagnitude;
|
|
return sqrMagnitude > this.maxStartDistance * this.maxStartDistance || num2 >= this.fingerDotThreshold || num < this.palmsTogetherDotThreshold;
|
|
}
|
|
|
|
// Token: 0x060197CC RID: 104396 RVA: 0x007183E0 File Offset: 0x007165E0
|
|
public override void ProcessHandCollision(PlayerHand FNIKCKFJCKH)
|
|
{
|
|
base.ProcessHandCollision(FNIKCKFJCKH);
|
|
if (base.BHCCHBHNHCG && FNIKCKFJCKH != null && this.FKCNEFICOJL)
|
|
{
|
|
this.CMNMPJLIJJC = FNIKCKFJCKH;
|
|
if (this.NMAHLHMEHMA)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(1);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197CD RID: 104397 RVA: 0x00718434 File Offset: 0x00716634
|
|
private void PIKCEDDJKDD()
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
if (!this.FLAIGCLBDFO)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
else if (!this.CIPKKPPJOJL)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(1);
|
|
}
|
|
else if (this.IKOJHOPJEEA)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(3);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197CE RID: 104398 RVA: 0x0071849C File Offset: 0x0071669C
|
|
private void OAHOMFAJNJE(NonPlayerGestureTarget NOBAPCOKFIL)
|
|
{
|
|
if (this.ALHMLCAMMGM != NOBAPCOKFIL)
|
|
{
|
|
if (this.ALHMLCAMMGM != null)
|
|
{
|
|
PlayerHand.FCIBDHOBNJH((this.HPCKCOBKJLK != HandshakeGesture.CPLLKAEAEJL.Inactive) ? PlayerHandGestures.DMPPGHHPHGO.Highfive : PlayerHandGestures.DMPPGHHPHGO.StopGestureCharging, base.AKCKNCDOPLE, this.ALHMLCAMMGM);
|
|
}
|
|
this.ALHMLCAMMGM = NOBAPCOKFIL;
|
|
if (this.ALHMLCAMMGM != null)
|
|
{
|
|
PlayerHand.LIKCLENCPGA(PlayerHandGestures.DMPPGHHPHGO.CheerGestureCharging, base.AKCKNCDOPLE, this.ALHMLCAMMGM);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197CF RID: 104399 RVA: 0x0071851C File Offset: 0x0071671C
|
|
private void BDLLMCLGNLJ(ushort NPGJBFOHMPA, ushort ALPCHDHJEBG)
|
|
{
|
|
if (base.DFJFKOLLEMK())
|
|
{
|
|
this.CMNMPJLIJJC = null;
|
|
if (this.PAFNFHOPKAH != null)
|
|
{
|
|
this.PAFNFHOPKAH.UpdateHandshakeState(HandshakeGesture.CPLLKAEAEJL.Ready_Open);
|
|
this.PAFNFHOPKAH = null;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197D0 RID: 104400 RVA: 0x00718554 File Offset: 0x00716754
|
|
private void JKEEDECFLLC()
|
|
{
|
|
if (base.DGLOKLCEMLH())
|
|
{
|
|
if (this.BPGFDFCGEDA || Time.time - this.KAOMHODKPEO >= this.requiredHoldDuration)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(7);
|
|
}
|
|
else if (this.ABOAHMKAINL() || this.BDEKCIBEPIP)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(8);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197D1 RID: 104401 RVA: 0x007185C4 File Offset: 0x007167C4
|
|
private void PAHDJOHEPBO()
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
if (this.HMNMLIHFJLK)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(5);
|
|
}
|
|
else if (this.BPGFDFCGEDA)
|
|
{
|
|
this.playerHandGestures.AuthorityTriggerGesture(PlayerHandGestures.DMPPGHHPHGO.HandshakeSuccess, this.CMNMPJLIJJC, true);
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197D2 RID: 104402 RVA: 0x00718624 File Offset: 0x00716824
|
|
private void KOGLDBKDHHE(ushort NPGJBFOHMPA, ushort ALPCHDHJEBG)
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
this.KAOMHODKPEO = Time.time;
|
|
this.MOKPGNBMGAM = base.AKCKNCDOPLE.transform.position;
|
|
if (this.CMNMPJLIJJC != null || this.PAFNFHOPKAH != null)
|
|
{
|
|
this.playerHandGestures.AuthorityTriggerGesture(PlayerHandGestures.DMPPGHHPHGO.HandshakeStart, this.CMNMPJLIJJC, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197D3 RID: 104403 RVA: 0x00718694 File Offset: 0x00716894
|
|
private void EPPPIKJEDCO(ushort NPGJBFOHMPA, ushort ALPCHDHJEBG)
|
|
{
|
|
if (base.DFJFKOLLEMK())
|
|
{
|
|
this.KDFIHAMBNDD(null);
|
|
if (this.PAFNFHOPKAH != null)
|
|
{
|
|
this.PAFNFHOPKAH.UpdateHandshakeState(HandshakeGesture.CPLLKAEAEJL.Ready_Open);
|
|
this.PAFNFHOPKAH = null;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197D4 RID: 104404 RVA: 0x007186CC File Offset: 0x007168CC
|
|
public virtual bool BCGOJEDFJGD()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
// Token: 0x060197D6 RID: 104406 RVA: 0x007186D8 File Offset: 0x007168D8
|
|
private void Start()
|
|
{
|
|
this.KGJBJGFKEGA.FLHFCMCNLEK(this, 0);
|
|
base.enabled = base.BHCCHBHNHCG;
|
|
}
|
|
|
|
// Token: 0x060197D7 RID: 104407 RVA: 0x007186F4 File Offset: 0x007168F4
|
|
public virtual bool EPIAMIFLGEF()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
// Token: 0x060197D8 RID: 104408 RVA: 0x007186F8 File Offset: 0x007168F8
|
|
public virtual bool IFDEONDJPBH()
|
|
{
|
|
return this.JLABKCMPKBI() == HandshakeGesture.CPLLKAEAEJL.Finished || this.JLABKCMPKBI() == HandshakeGesture.CPLLKAEAEJL.Ready_Open || this.HPCKCOBKJLK == HandshakeGesture.CPLLKAEAEJL.Running;
|
|
}
|
|
|
|
// Token: 0x17000B34 RID: 2868
|
|
// (get) Token: 0x060197D9 RID: 104409 RVA: 0x00718720 File Offset: 0x00716920
|
|
public override bool HIFJHKJFHFG
|
|
{
|
|
get
|
|
{
|
|
return this.HPCKCOBKJLK == HandshakeGesture.CPLLKAEAEJL.Ready_Gripped || this.HPCKCOBKJLK == HandshakeGesture.CPLLKAEAEJL.Running || this.HPCKCOBKJLK == HandshakeGesture.CPLLKAEAEJL.Finished;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197DA RID: 104410 RVA: 0x00718748 File Offset: 0x00716948
|
|
private PlayerHand LBNDFKJDMIL()
|
|
{
|
|
PhotonView photonView = PhotonView.KAKDEOHCKBM(this.EENEIGEOODA.CPIBGJLHLBL());
|
|
return (!(photonView != null)) ? null : photonView.GetComponent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x060197DB RID: 104411 RVA: 0x00718780 File Offset: 0x00716980
|
|
private void ILEEMLGKELE(PlayerHand NOBAPCOKFIL)
|
|
{
|
|
this.EENEIGEOODA.MEAINJPIECA((!(NOBAPCOKFIL != null)) ? (-1) : NOBAPCOKFIL.ACEAACJNNAF().HNPFGGAKNPI());
|
|
}
|
|
|
|
// Token: 0x060197DC RID: 104412 RVA: 0x007187AC File Offset: 0x007169AC
|
|
private bool MLENOIEKEMM()
|
|
{
|
|
return this.KGJBJGFKEGA.BHMLLHLEAFF == 0 && Time.time <= this.LIIAHFKOIOO + this.handOpenBufferDuration;
|
|
}
|
|
|
|
// Token: 0x060197DD RID: 104413 RVA: 0x007187D8 File Offset: 0x007169D8
|
|
private void PMOCBGDHNFN(ushort NPGJBFOHMPA, ushort ALPCHDHJEBG)
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
this.CMNMPJLIJJC = null;
|
|
if (this.PAFNFHOPKAH != null)
|
|
{
|
|
this.PAFNFHOPKAH.UpdateHandshakeState(HandshakeGesture.CPLLKAEAEJL.Inactive);
|
|
this.PAFNFHOPKAH = null;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197DE RID: 104414 RVA: 0x00718810 File Offset: 0x00716A10
|
|
private void EIOMCKIJKCB()
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
if (!this.FLAIGCLBDFO)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
else if (this.CIPKKPPJOJL)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(2);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197DF RID: 104415 RVA: 0x00718850 File Offset: 0x00716A50
|
|
private void PLMGFGKHGAP(ushort NPGJBFOHMPA, ushort ALPCHDHJEBG)
|
|
{
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
this.IOIKJFBIEHF = Time.time;
|
|
if (this.CMNMPJLIJJC != null || this.PAFNFHOPKAH != null)
|
|
{
|
|
this.playerHandGestures.AuthorityTriggerGesture(PlayerHandGestures.DMPPGHHPHGO.HandshakeCancel, this.CMNMPJLIJJC, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197E0 RID: 104416 RVA: 0x007188A8 File Offset: 0x00716AA8
|
|
private void BGINDEHONNN()
|
|
{
|
|
if (base.IGIPCHFCFNN())
|
|
{
|
|
if (!this.KFKEMMHPIHO())
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(1);
|
|
}
|
|
else if (!this.CIPKKPPJOJL)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
else if (this.IKOJHOPJEEA)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(7);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197E1 RID: 104417 RVA: 0x00718910 File Offset: 0x00716B10
|
|
private HandshakeGesture.CPLLKAEAEJL JLABKCMPKBI()
|
|
{
|
|
return (HandshakeGesture.CPLLKAEAEJL)this.KGJBJGFKEGA.BHMLLHLEAFF;
|
|
}
|
|
|
|
// Token: 0x17000B35 RID: 2869
|
|
// (get) Token: 0x060197E2 RID: 104418 RVA: 0x00718920 File Offset: 0x00716B20
|
|
public override bool CMIPLLAHEEB
|
|
{
|
|
get
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197E3 RID: 104419 RVA: 0x00718924 File Offset: 0x00716B24
|
|
private void HJEFIHPKHFJ(ushort NPGJBFOHMPA, ushort ALPCHDHJEBG)
|
|
{
|
|
if (base.DGLOKLCEMLH())
|
|
{
|
|
this.KAOMHODKPEO = Time.time;
|
|
this.MOKPGNBMGAM = base.AKCKNCDOPLE.transform.position;
|
|
if (this.LBNDFKJDMIL() != null || this.PAFNFHOPKAH != null)
|
|
{
|
|
this.playerHandGestures.AuthorityTriggerGesture(PlayerHandGestures.DMPPGHHPHGO.CheerGestureCharging, this.LBNDFKJDMIL(), true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197E4 RID: 104420 RVA: 0x00718994 File Offset: 0x00716B94
|
|
private void OIODDBOHDHO(ushort PPJIGDPOGFH, ushort CHJBIHILBFO, ushort IHHBJKECADP, ushort BNCBHHCPCLE)
|
|
{
|
|
if (PPJIGDPOGFH == 3 || PPJIGDPOGFH == 4)
|
|
{
|
|
this.IPDBEGMIJPH = this.CMNMPJLIJJC;
|
|
this.GMDHMCLBDAL = this.PAFNFHOPKAH;
|
|
}
|
|
else
|
|
{
|
|
this.IPDBEGMIJPH = null;
|
|
this.GMDHMCLBDAL = null;
|
|
}
|
|
if (this.PAFNFHOPKAH != null)
|
|
{
|
|
this.PAFNFHOPKAH.UpdateHandshakeState(this.HPCKCOBKJLK);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197E5 RID: 104421 RVA: 0x007189FC File Offset: 0x00716BFC
|
|
private void EPKIAINIPCG()
|
|
{
|
|
if (base.DGLOKLCEMLH())
|
|
{
|
|
if (!this.FLAIGCLBDFO)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
else if (!this.CIPKKPPJOJL)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
else if (this.IKOJHOPJEEA)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197E6 RID: 104422 RVA: 0x00718A64 File Offset: 0x00716C64
|
|
private void FICJMLKLBLF()
|
|
{
|
|
if (base.JNOCCMDBMIO() && Time.time - this.IOIKJFBIEHF >= this.cooldown)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(1);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197E7 RID: 104423 RVA: 0x00718A94 File Offset: 0x00716C94
|
|
private void JDDAFODMCPE(NonPlayerGestureTarget NOBAPCOKFIL)
|
|
{
|
|
if (this.ALHMLCAMMGM != NOBAPCOKFIL)
|
|
{
|
|
if (this.ALHMLCAMMGM != null)
|
|
{
|
|
PlayerHand.FCIBDHOBNJH((this.HPCKCOBKJLK != HandshakeGesture.CPLLKAEAEJL.Finished) ? PlayerHandGestures.DMPPGHHPHGO.StopGestureSuccess : PlayerHandGestures.DMPPGHHPHGO.HandshakeStart, base.AKCKNCDOPLE, this.ALHMLCAMMGM);
|
|
}
|
|
this.ALHMLCAMMGM = NOBAPCOKFIL;
|
|
if (this.ALHMLCAMMGM != null)
|
|
{
|
|
PlayerHand.ConnectNonPlayerGesture(PlayerHandGestures.DMPPGHHPHGO.HandshakeStart, base.AKCKNCDOPLE, this.ALHMLCAMMGM);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B42 RID: 2882
|
|
// (get) Token: 0x060197E8 RID: 104424 RVA: 0x00718B14 File Offset: 0x00716D14
|
|
private bool HMNMLIHFJLK
|
|
{
|
|
get
|
|
{
|
|
return (this.CMNMPJLIJJC == null && this.PAFNFHOPKAH == null) || this.KNILPGLOFGO == HandshakeGesture.CPLLKAEAEJL.Broken;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197E9 RID: 104425 RVA: 0x00718B44 File Offset: 0x00716D44
|
|
private void BMDCJJJDALD(ushort NPGJBFOHMPA, ushort ALPCHDHJEBG)
|
|
{
|
|
if (base.DFJFKOLLEMK())
|
|
{
|
|
this.ILEEMLGKELE(null);
|
|
if (this.PAFNFHOPKAH != null)
|
|
{
|
|
this.PAFNFHOPKAH.LOEPNCCBBHK(HandshakeGesture.CPLLKAEAEJL.Ready_Open);
|
|
this.PAFNFHOPKAH = null;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B3D RID: 2877
|
|
// (get) Token: 0x060197EA RID: 104426 RVA: 0x00718B7C File Offset: 0x00716D7C
|
|
private bool NMAHLHMEHMA
|
|
{
|
|
get
|
|
{
|
|
if (this.CMNMPJLIJJC == null && this.PAFNFHOPKAH == null)
|
|
{
|
|
return false;
|
|
}
|
|
float num = Vector3.Dot(base.AKCKNCDOPLE.HJIOPIFJEOE, (!(this.CMNMPJLIJJC == null)) ? this.CMNMPJLIJJC.HJIOPIFJEOE : this.PAFNFHOPKAH.HJIOPIFJEOE);
|
|
return num < this.fingerDotThreshold && base.AKCKNCDOPLE.EEAOGJHMFII == ((!(this.CMNMPJLIJJC == null)) ? this.CMNMPJLIJJC.EEAOGJHMFII : this.PAFNFHOPKAH.HMMEBFHABKA) && (this.KNILPGLOFGO == HandshakeGesture.CPLLKAEAEJL.Inactive || this.KNILPGLOFGO == HandshakeGesture.CPLLKAEAEJL.Ready_Open || this.KNILPGLOFGO == HandshakeGesture.CPLLKAEAEJL.Ready_Gripped);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B41 RID: 2881
|
|
// (get) Token: 0x060197EB RID: 104427 RVA: 0x00718C58 File Offset: 0x00716E58
|
|
private bool IKOJHOPJEEA
|
|
{
|
|
get
|
|
{
|
|
return (this.CMNMPJLIJJC != null || this.PAFNFHOPKAH != null) && (this.KNILPGLOFGO == HandshakeGesture.CPLLKAEAEJL.Ready_Gripped || this.KNILPGLOFGO == HandshakeGesture.CPLLKAEAEJL.Running);
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B3F RID: 2879
|
|
// (get) Token: 0x060197EC RID: 104428 RVA: 0x00718C98 File Offset: 0x00716E98
|
|
private bool CIPKKPPJOJL
|
|
{
|
|
get
|
|
{
|
|
return base.AKCKNCDOPLE != null && base.AKCKNCDOPLE.CCCHAKNFKNH > 0.01f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197EE RID: 104430 RVA: 0x00718D2C File Offset: 0x00716F2C
|
|
private void NDIPHENCLPD()
|
|
{
|
|
if (base.JNOCCMDBMIO())
|
|
{
|
|
if (!this.FLAIGCLBDFO)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(1);
|
|
}
|
|
else if (!this.CIPKKPPJOJL)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
else if (this.IKOJHOPJEEA)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(2);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197EF RID: 104431 RVA: 0x00718D94 File Offset: 0x00716F94
|
|
private void PHOIMKOBDKK()
|
|
{
|
|
if (base.BHCCHBHNHCG && Time.time - this.IOIKJFBIEHF >= this.cooldown)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197F0 RID: 104432 RVA: 0x00718DC4 File Offset: 0x00716FC4
|
|
private void PJEKPLLPHMP()
|
|
{
|
|
if (base.DGLOKLCEMLH() && Time.time - this.IOIKJFBIEHF >= this.cooldown)
|
|
{
|
|
this.KGJBJGFKEGA.BKBFIGCPIMI(0);
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197F1 RID: 104433 RVA: 0x00718DF4 File Offset: 0x00716FF4
|
|
private HandshakeGesture.CPLLKAEAEJL CFMEIONBDHL()
|
|
{
|
|
return (!(this.BOKIMMIGCJM == null)) ? this.JLLIEHIMFLK().JLABKCMPKBI() : this.PAFNFHOPKAH.JOJFCBEFCJK;
|
|
}
|
|
|
|
// Token: 0x17000B36 RID: 2870
|
|
// (get) Token: 0x060197F2 RID: 104434 RVA: 0x00718E24 File Offset: 0x00717024
|
|
private HandshakeGesture.CPLLKAEAEJL HPCKCOBKJLK
|
|
{
|
|
get
|
|
{
|
|
return (HandshakeGesture.CPLLKAEAEJL)this.KGJBJGFKEGA.BHMLLHLEAFF;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060197F3 RID: 104435 RVA: 0x00718E34 File Offset: 0x00717034
|
|
private PlayerHand MPGECPDMICN()
|
|
{
|
|
return this.PBBMHJJNACP;
|
|
}
|
|
|
|
// Token: 0x04004524 RID: 17700
|
|
[SerializeField]
|
|
private float cooldown = 1f;
|
|
|
|
// Token: 0x04004525 RID: 17701
|
|
[SerializeField]
|
|
private float handOpenBufferDuration = 0.2f;
|
|
|
|
// Token: 0x04004526 RID: 17702
|
|
[SerializeField]
|
|
private float palmsTogetherDotThreshold = -0.6f;
|
|
|
|
// Token: 0x04004527 RID: 17703
|
|
[SerializeField]
|
|
private float fingerDotThreshold = -0.1f;
|
|
|
|
// Token: 0x04004528 RID: 17704
|
|
[SerializeField]
|
|
private float maxStartDistance = 0.36f;
|
|
|
|
// Token: 0x04004529 RID: 17705
|
|
[SerializeField]
|
|
private float requiredHoldDuration = 2f;
|
|
|
|
// Token: 0x0400452A RID: 17706
|
|
[SerializeField]
|
|
private float maxHoldDriftDistance = 0.26f;
|
|
|
|
// Token: 0x0400452B RID: 17707
|
|
private float KAOMHODKPEO;
|
|
|
|
// Token: 0x0400452C RID: 17708
|
|
private float IOIKJFBIEHF;
|
|
|
|
// Token: 0x0400452D RID: 17709
|
|
private Vector3 MOKPGNBMGAM = Vector3.zero;
|
|
|
|
// Token: 0x0400452E RID: 17710
|
|
private PNONBEAIBHA KGJBJGFKEGA;
|
|
|
|
// Token: 0x0400452F RID: 17711
|
|
private float LIIAHFKOIOO;
|
|
|
|
// Token: 0x04004530 RID: 17712
|
|
private NonPlayerGestureTarget PAFNFHOPKAH;
|
|
|
|
// Token: 0x04004531 RID: 17713
|
|
private NonPlayerGestureTarget ALHMLCAMMGM;
|
|
|
|
// Token: 0x04004532 RID: 17714
|
|
private LHLLJPPCDKA<int> EENEIGEOODA;
|
|
|
|
// Token: 0x04004533 RID: 17715
|
|
private PlayerHand PBBMHJJNACP;
|
|
|
|
// Token: 0x02000C8F RID: 3215
|
|
public enum CPLLKAEAEJL
|
|
{
|
|
// Token: 0x04004535 RID: 17717
|
|
Inactive,
|
|
// Token: 0x04004536 RID: 17718
|
|
Ready_Open,
|
|
// Token: 0x04004537 RID: 17719
|
|
Ready_Gripped,
|
|
// Token: 0x04004538 RID: 17720
|
|
Running,
|
|
// Token: 0x04004539 RID: 17721
|
|
Finished,
|
|
// Token: 0x0400453A RID: 17722
|
|
Broken
|
|
}
|
|
}
|
|
}
|