1015 lines
34 KiB
C#
1015 lines
34 KiB
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core.Gestures
|
|
{
|
|
// Token: 0x02000C8B RID: 3211
|
|
public class CollisionGesture : HandGestureBase
|
|
{
|
|
// Token: 0x06019752 RID: 104274 RVA: 0x0071592C File Offset: 0x00713B2C
|
|
private void PLHOEFFPCIH(ushort NPGJBFOHMPA, ushort FPHFLDLBNFN)
|
|
{
|
|
this.HHKGLDLAOEP(null);
|
|
this.BABGLBJADOG(null);
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
this.FKMLLMGLMPN(null);
|
|
this.PAFNFHOPKAH = null;
|
|
this.PMCOGCCEOCP = PlayerHandGestures.DMPPGHHPHGO.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019753 RID: 104275 RVA: 0x0071595C File Offset: 0x00713B5C
|
|
public virtual void HBAKKCNNENN(PlayerHand FNIKCKFJCKH)
|
|
{
|
|
base.ProcessHandCollision(FNIKCKFJCKH);
|
|
if (base.DGLOKLCEMLH() && this.JPDEKBKGFGP())
|
|
{
|
|
this.CMNMPJLIJJC = FNIKCKFJCKH;
|
|
bool flag = base.AKCKNCDOPLE.CCCHAKNFKNH <= 244f && FNIKCKFJCKH.CCCHAKNFKNH <= 1229f;
|
|
bool flag2 = base.AKCKNCDOPLE.PBECMBCGFIE() < 998f || FNIKCKFJCKH.CCCHAKNFKNH >= 514f;
|
|
if (flag2 && this.ELMBLPIJNNL)
|
|
{
|
|
this.LLOHKEONOJE(PlayerHandGestures.DMPPGHHPHGO.Highfive);
|
|
}
|
|
else if (flag && this.FKFBBHNAKMH())
|
|
{
|
|
this.LLOHKEONOJE(PlayerHandGestures.DMPPGHHPHGO.Highfive);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019754 RID: 104276 RVA: 0x00715A14 File Offset: 0x00713C14
|
|
private void Update()
|
|
{
|
|
this.MPBOONGEHDM.DLBPEOILIFL();
|
|
}
|
|
|
|
// Token: 0x06019755 RID: 104277 RVA: 0x00715A24 File Offset: 0x00713C24
|
|
private PlayerHand CHKDDFIAIGO()
|
|
{
|
|
PhotonView photonView = PhotonView.NMBFNIJMFOO(this.EENEIGEOODA.CPIBGJLHLBL());
|
|
return (!(photonView != null)) ? null : photonView.GetComponent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019756 RID: 104278 RVA: 0x00715A5C File Offset: 0x00713C5C
|
|
private void HEEMADLBFLH(ushort NPGJBFOHMPA, ushort FPHFLDLBNFN)
|
|
{
|
|
this.IPDBEGMIJPH = null;
|
|
this.BABGLBJADOG(null);
|
|
if (base.DGLKKANNBPD())
|
|
{
|
|
this.CMNMPJLIJJC = null;
|
|
this.PAFNFHOPKAH = null;
|
|
this.PMCOGCCEOCP = PlayerHandGestures.DMPPGHHPHGO.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B2D RID: 2861
|
|
// (get) Token: 0x0601976C RID: 104300 RVA: 0x00716098 File Offset: 0x00714298
|
|
// (set) Token: 0x06019757 RID: 104279 RVA: 0x00715A8C File Offset: 0x00713C8C
|
|
private CollisionGesture.ALHBNPBPHHB HPCKCOBKJLK
|
|
{
|
|
get
|
|
{
|
|
return (CollisionGesture.ALHBNPBPHHB)this.MPBOONGEHDM.BHMLLHLEAFF;
|
|
}
|
|
set
|
|
{
|
|
this.MPBOONGEHDM.BKBFIGCPIMI((ushort)value);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019758 RID: 104280 RVA: 0x00715A9C File Offset: 0x00713C9C
|
|
private PlayerHand CPLNNGAFEFM()
|
|
{
|
|
return this.PBBMHJJNACP;
|
|
}
|
|
|
|
// Token: 0x06019759 RID: 104281 RVA: 0x00715AA4 File Offset: 0x00713CA4
|
|
private void GDGBCNGNGHM()
|
|
{
|
|
if (base.DGLOKLCEMLH() && (this.playerHandGestures.LOBKPFOOHLB(this) || Time.time - this.collisionGestureStartTime > this.collisionGestureDuration || !this.HCJNLINHPGC() || !this.EOFJKCFPKEE()))
|
|
{
|
|
this.PGHMGAOGFPF(CollisionGesture.ALHBNPBPHHB.Inactive);
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601975A RID: 104282 RVA: 0x00715B04 File Offset: 0x00713D04
|
|
private bool EOFJKCFPKEE()
|
|
{
|
|
bool flag = true;
|
|
PlayerHandGestures.DMPPGHHPHGO pmcogcceocp = this.PMCOGCCEOCP;
|
|
if (pmcogcceocp != PlayerHandGestures.DMPPGHHPHGO.Fistbump)
|
|
{
|
|
if (pmcogcceocp == PlayerHandGestures.DMPPGHHPHGO.Highfive)
|
|
{
|
|
flag = base.AKCKNCDOPLE.PBECMBCGFIE() > 475f;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
flag = base.AKCKNCDOPLE.CCCHAKNFKNH < 1091f;
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x0601975B RID: 104283 RVA: 0x00715B64 File Offset: 0x00713D64
|
|
private CollisionGesture.ALHBNPBPHHB EHKPOHHCKEK()
|
|
{
|
|
return (CollisionGesture.ALHBNPBPHHB)this.MPBOONGEHDM.BHMLLHLEAFF;
|
|
}
|
|
|
|
// Token: 0x0601975C RID: 104284 RVA: 0x00715B74 File Offset: 0x00713D74
|
|
private void GABFADNNMOH(PlayerHand NOBAPCOKFIL)
|
|
{
|
|
if (this.PBBMHJJNACP != NOBAPCOKFIL)
|
|
{
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.BreakCollisionGesture(this.PMCOGCCEOCP, base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
this.PBBMHJJNACP = NOBAPCOKFIL;
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.ConnectCollisionGesture(this.PMCOGCCEOCP, base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601975D RID: 104285 RVA: 0x00715BEC File Offset: 0x00713DEC
|
|
protected virtual void LPBGGKDFLLN()
|
|
{
|
|
base.MICFHMAIGIB();
|
|
this.EENEIGEOODA = new LHLLJPPCDKA<int>(this, "SubExtrusion", -1, IKCAJLLAFML.MASTER, null);
|
|
this.MPBOONGEHDM = new PNONBEAIBHA("enablerectmask2d", IKCAJLLAFML.AUTHORITY);
|
|
this.MPBOONGEHDM.AGLMMKOFICI(1, null, null, null);
|
|
this.MPBOONGEHDM.AGLMMKOFICI(1, new ANMJLCILKDJ.NCMAEMHOHDG(this.AKDGOBIMJJN), new ANMJLCILKDJ.NCMAEMHOHDG(this.HEEMADLBFLH), new ANMJLCILKDJ.PLBLFEEANOO(this.PGPIMHBLLPG));
|
|
}
|
|
|
|
// Token: 0x17000B29 RID: 2857
|
|
// (get) Token: 0x0601975E RID: 104286 RVA: 0x00715C64 File Offset: 0x00713E64
|
|
// (set) Token: 0x06019792 RID: 104338 RVA: 0x00717300 File Offset: 0x00715500
|
|
private NonPlayerGestureTarget GMDHMCLBDAL
|
|
{
|
|
get
|
|
{
|
|
return this.ALHMLCAMMGM;
|
|
}
|
|
set
|
|
{
|
|
if (this.ALHMLCAMMGM != value)
|
|
{
|
|
if (this.ALHMLCAMMGM != null)
|
|
{
|
|
PlayerHand.BreakNonPlayerGesture(this.PMCOGCCEOCP, base.AKCKNCDOPLE, this.ALHMLCAMMGM);
|
|
}
|
|
this.ALHMLCAMMGM = value;
|
|
if (this.ALHMLCAMMGM != null)
|
|
{
|
|
PlayerHand.ConnectNonPlayerGesture(this.PMCOGCCEOCP, base.AKCKNCDOPLE, this.ALHMLCAMMGM);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601975F RID: 104287 RVA: 0x00715C6C File Offset: 0x00713E6C
|
|
private void FIEKGBCKKGL(ushort NPGJBFOHMPA, ushort FPHFLDLBNFN)
|
|
{
|
|
this.HHKGLDLAOEP(this.CHKDDFIAIGO());
|
|
this.BABGLBJADOG(this.PAFNFHOPKAH);
|
|
if (base.DGLKKANNBPD())
|
|
{
|
|
this.collisionGestureStartTime = Time.time;
|
|
this.MKFEFOFMMMF = base.AKCKNCDOPLE.transform.position;
|
|
if (this.PMCOGCCEOCP == PlayerHandGestures.DMPPGHHPHGO.Fistbump)
|
|
{
|
|
this.AKMILAMHMHH = base.AKCKNCDOPLE.HJIOPIFJEOE;
|
|
this.collisionGestureDuration = this.fistbumpDuration;
|
|
this.collisionGestureDistanceThreshold = this.fistbumpDistanceThreshold;
|
|
this.collisionGesturePullBackDistance = this.fistbumpPullbackDistance;
|
|
}
|
|
else
|
|
{
|
|
this.AKMILAMHMHH = base.AKCKNCDOPLE.CDNCEOOIOHP;
|
|
this.collisionGestureDuration = this.highFiveDuration;
|
|
this.collisionGestureDistanceThreshold = this.highFiveDistanceThreshold;
|
|
this.collisionGesturePullBackDistance = this.highFivePullbackDistance;
|
|
}
|
|
if (this.PNOPBIMMLAD() != null)
|
|
{
|
|
this.playerHandGestures.PIEGNONDONF(this.PMCOGCCEOCP, this.CMNMPJLIJJC, false);
|
|
}
|
|
else if (this.PAFNFHOPKAH != null)
|
|
{
|
|
this.playerHandGestures.AuthorityTriggerGesture(this.PMCOGCCEOCP, null, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019760 RID: 104288 RVA: 0x00715D8C File Offset: 0x00713F8C
|
|
private PlayerHand CAKHFFKKCAL()
|
|
{
|
|
PhotonView photonView = PhotonView.KAKDEOHCKBM(this.EENEIGEOODA.CPIBGJLHLBL());
|
|
return (!(photonView != null)) ? null : photonView.GetComponent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x06019761 RID: 104289 RVA: 0x00715DC4 File Offset: 0x00713FC4
|
|
private void LIFBOLKNLCE(CollisionGesture.ALHBNPBPHHB NOBAPCOKFIL)
|
|
{
|
|
this.MPBOONGEHDM.BKBFIGCPIMI((ushort)NOBAPCOKFIL);
|
|
}
|
|
|
|
// Token: 0x06019762 RID: 104290 RVA: 0x00715DD4 File Offset: 0x00713FD4
|
|
private CollisionGesture.ALHBNPBPHHB JPJLAGCIIKH()
|
|
{
|
|
return (CollisionGesture.ALHBNPBPHHB)this.MPBOONGEHDM.BHMLLHLEAFF;
|
|
}
|
|
|
|
// Token: 0x06019763 RID: 104291 RVA: 0x00715DE4 File Offset: 0x00713FE4
|
|
private void LLOHKEONOJE(PlayerHandGestures.DMPPGHHPHGO KKCMIFEJPAM)
|
|
{
|
|
this.PMCOGCCEOCP = KKCMIFEJPAM;
|
|
this.MPBOONGEHDM.BKBFIGCPIMI(0);
|
|
}
|
|
|
|
// Token: 0x06019764 RID: 104292 RVA: 0x00715DFC File Offset: 0x00713FFC
|
|
private void JCDJNJAIEJC()
|
|
{
|
|
this.MPBOONGEHDM.DLBPEOILIFL();
|
|
}
|
|
|
|
// Token: 0x06019765 RID: 104293 RVA: 0x00715E0C File Offset: 0x0071400C
|
|
public virtual void MHCEHGACPPB(PlayerHand FNIKCKFJCKH)
|
|
{
|
|
base.ProcessHandCollision(FNIKCKFJCKH);
|
|
if (base.DFJFKOLLEMK() && this.JPDEKBKGFGP())
|
|
{
|
|
this.FJCKEHFIKHA(FNIKCKFJCKH);
|
|
bool flag = base.AKCKNCDOPLE.CCCHAKNFKNH > 466f || FNIKCKFJCKH.PBECMBCGFIE() <= 79f;
|
|
bool flag2 = base.AKCKNCDOPLE.PBECMBCGFIE() < 1654f || FNIKCKFJCKH.CCCHAKNFKNH < 1364f;
|
|
if (flag2 && this.ELMBLPIJNNL)
|
|
{
|
|
this.LLOHKEONOJE(PlayerHandGestures.DMPPGHHPHGO.Fistbump);
|
|
}
|
|
else if (flag && this.FKFBBHNAKMH())
|
|
{
|
|
this.MHCJIPCIPNL(PlayerHandGestures.DMPPGHHPHGO.Highfive);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019766 RID: 104294 RVA: 0x00715EC4 File Offset: 0x007140C4
|
|
private void ACNKPEFNLFO()
|
|
{
|
|
this.MPBOONGEHDM.PGELJEHELFN(this, 1);
|
|
base.enabled = base.BHCCHBHNHCG;
|
|
}
|
|
|
|
// Token: 0x06019767 RID: 104295 RVA: 0x00715EE0 File Offset: 0x007140E0
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
this.EENEIGEOODA = new LHLLJPPCDKA<int>(this, "COLL_HID", -1, IKCAJLLAFML.AUTHORITY, null);
|
|
this.MPBOONGEHDM = new PNONBEAIBHA("COLL_S", IKCAJLLAFML.AUTHORITY);
|
|
this.MPBOONGEHDM.AGLMMKOFICI(0, null, null, null);
|
|
this.MPBOONGEHDM.AGLMMKOFICI(1, new ANMJLCILKDJ.NCMAEMHOHDG(this.IFFFCBGOFPC), new ANMJLCILKDJ.NCMAEMHOHDG(this.HILHLFLGGBA), new ANMJLCILKDJ.PLBLFEEANOO(this.ICNKOAJFADP));
|
|
}
|
|
|
|
// Token: 0x06019768 RID: 104296 RVA: 0x00715F58 File Offset: 0x00714158
|
|
private bool NFDLJDOJOIK()
|
|
{
|
|
bool flag = true;
|
|
PlayerHandGestures.DMPPGHHPHGO pmcogcceocp = this.PMCOGCCEOCP;
|
|
if (pmcogcceocp != PlayerHandGestures.DMPPGHHPHGO.Fistbump)
|
|
{
|
|
if (pmcogcceocp == PlayerHandGestures.DMPPGHHPHGO.Highfive)
|
|
{
|
|
flag = base.AKCKNCDOPLE.CCCHAKNFKNH > 1591f;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
flag = base.AKCKNCDOPLE.CCCHAKNFKNH < 1425f;
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06019769 RID: 104297 RVA: 0x00715FB8 File Offset: 0x007141B8
|
|
private bool CPEOOCGCMIA()
|
|
{
|
|
bool flag = false;
|
|
PlayerHandGestures.DMPPGHHPHGO pmcogcceocp = this.PMCOGCCEOCP;
|
|
if (pmcogcceocp != PlayerHandGestures.DMPPGHHPHGO.Fistbump)
|
|
{
|
|
if (pmcogcceocp == PlayerHandGestures.DMPPGHHPHGO.Highfive)
|
|
{
|
|
flag = base.AKCKNCDOPLE.CCCHAKNFKNH <= 0.01f;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
flag = base.AKCKNCDOPLE.CCCHAKNFKNH >= 0.99f;
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x0601976A RID: 104298 RVA: 0x00716018 File Offset: 0x00714218
|
|
private void HJLECHAKGMB(NonPlayerGestureTarget NOBAPCOKFIL)
|
|
{
|
|
if (this.ALHMLCAMMGM != NOBAPCOKFIL)
|
|
{
|
|
if (this.ALHMLCAMMGM != null)
|
|
{
|
|
PlayerHand.FCIBDHOBNJH(this.PMCOGCCEOCP, base.AKCKNCDOPLE, this.ALHMLCAMMGM);
|
|
}
|
|
this.ALHMLCAMMGM = NOBAPCOKFIL;
|
|
if (this.ALHMLCAMMGM != null)
|
|
{
|
|
PlayerHand.ConnectNonPlayerGesture(this.PMCOGCCEOCP, base.AKCKNCDOPLE, this.ALHMLCAMMGM);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601976B RID: 104299 RVA: 0x00716090 File Offset: 0x00714290
|
|
private NonPlayerGestureTarget NNOKBDFJMNJ()
|
|
{
|
|
return this.ALHMLCAMMGM;
|
|
}
|
|
|
|
// Token: 0x0601976D RID: 104301 RVA: 0x007160A8 File Offset: 0x007142A8
|
|
private void CLILLFHILAB()
|
|
{
|
|
if (base.GANDPDNCOKF() && (this.playerHandGestures.JFODHIJKKKF(this) || Time.time - this.collisionGestureStartTime > this.collisionGestureDuration || !this.HCJNLINHPGC() || !this.LNBOBILEGIC()))
|
|
{
|
|
this.HPCKCOBKJLK = CollisionGesture.ALHBNPBPHHB.Colliding;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601976E RID: 104302 RVA: 0x00716108 File Offset: 0x00714308
|
|
public override void ProcessHandCollision(PlayerHand FNIKCKFJCKH)
|
|
{
|
|
base.ProcessHandCollision(FNIKCKFJCKH);
|
|
if (base.BHCCHBHNHCG && this.IMLEEKAKIKC)
|
|
{
|
|
this.CMNMPJLIJJC = FNIKCKFJCKH;
|
|
bool flag = base.AKCKNCDOPLE.CCCHAKNFKNH <= 0.01f && FNIKCKFJCKH.CCCHAKNFKNH <= 0.01f;
|
|
bool flag2 = base.AKCKNCDOPLE.CCCHAKNFKNH >= 0.99f && FNIKCKFJCKH.CCCHAKNFKNH >= 0.99f;
|
|
if (flag2 && this.ELMBLPIJNNL)
|
|
{
|
|
this.MHCJIPCIPNL(PlayerHandGestures.DMPPGHHPHGO.Fistbump);
|
|
}
|
|
else if (flag && this.MMKPHMLIJOE)
|
|
{
|
|
this.MHCJIPCIPNL(PlayerHandGestures.DMPPGHHPHGO.Highfive);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601976F RID: 104303 RVA: 0x007161C0 File Offset: 0x007143C0
|
|
public virtual void FCCMLJAAKDO(PlayerHand FNIKCKFJCKH)
|
|
{
|
|
base.ProcessHandCollision(FNIKCKFJCKH);
|
|
if (base.DGLKKANNBPD() && this.IMLEEKAKIKC)
|
|
{
|
|
this.FJCKEHFIKHA(FNIKCKFJCKH);
|
|
bool flag = base.AKCKNCDOPLE.PBECMBCGFIE() <= 1067f && FNIKCKFJCKH.PBECMBCGFIE() > 755f;
|
|
bool flag2 = base.AKCKNCDOPLE.PBECMBCGFIE() >= 213f && FNIKCKFJCKH.PBECMBCGFIE() >= 161f;
|
|
if (flag2 && this.LIPEHEGCAPL())
|
|
{
|
|
this.LLOHKEONOJE(PlayerHandGestures.DMPPGHHPHGO.Fistbump);
|
|
}
|
|
else if (flag && this.FKFBBHNAKMH())
|
|
{
|
|
this.LLOHKEONOJE(PlayerHandGestures.DMPPGHHPHGO.Fistbump);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019770 RID: 104304 RVA: 0x00716278 File Offset: 0x00714478
|
|
private bool BGCIFFLCMIP()
|
|
{
|
|
return this.playerHandGestures.JFODHIJKKKF(this) || this.PMCOGCCEOCP == PlayerHandGestures.DMPPGHHPHGO.None;
|
|
}
|
|
|
|
// Token: 0x06019771 RID: 104305 RVA: 0x00716298 File Offset: 0x00714498
|
|
private void GGJFNCMJFAJ()
|
|
{
|
|
if (base.JNOCCMDBMIO() && (this.playerHandGestures.OIMIFCLPAJN(this) || Time.time - this.collisionGestureStartTime > this.collisionGestureDuration || !this.HCJNLINHPGC() || !this.FLCLGKMNAFK()))
|
|
{
|
|
this.LIFBOLKNLCE(CollisionGesture.ALHBNPBPHHB.Colliding);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019772 RID: 104306 RVA: 0x007162F8 File Offset: 0x007144F8
|
|
private void HILHLFLGGBA(ushort NPGJBFOHMPA, ushort FPHFLDLBNFN)
|
|
{
|
|
this.IPDBEGMIJPH = null;
|
|
this.GMDHMCLBDAL = null;
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
this.CMNMPJLIJJC = null;
|
|
this.PAFNFHOPKAH = null;
|
|
this.PMCOGCCEOCP = PlayerHandGestures.DMPPGHHPHGO.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019773 RID: 104307 RVA: 0x00716328 File Offset: 0x00714528
|
|
private bool HCJNLINHPGC()
|
|
{
|
|
bool flag = (base.AKCKNCDOPLE.transform.position - this.MKFEFOFMMMF).sqrMagnitude <= this.collisionGestureDistanceThreshold * this.collisionGestureDistanceThreshold;
|
|
bool flag2 = Vector3.Dot(base.AKCKNCDOPLE.transform.position - this.MKFEFOFMMMF, -this.AKMILAMHMHH) <= this.collisionGesturePullBackDistance;
|
|
return flag && flag2;
|
|
}
|
|
|
|
// Token: 0x17000B2B RID: 2859
|
|
// (get) Token: 0x0601977D RID: 104317 RVA: 0x007167AC File Offset: 0x007149AC
|
|
// (set) Token: 0x06019774 RID: 104308 RVA: 0x007163AC File Offset: 0x007145AC
|
|
private PlayerHand IPDBEGMIJPH
|
|
{
|
|
get
|
|
{
|
|
return this.PBBMHJJNACP;
|
|
}
|
|
set
|
|
{
|
|
if (this.PBBMHJJNACP != value)
|
|
{
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.BreakCollisionGesture(this.PMCOGCCEOCP, base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
this.PBBMHJJNACP = value;
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.ConnectCollisionGesture(this.PMCOGCCEOCP, base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019775 RID: 104309 RVA: 0x00716424 File Offset: 0x00714624
|
|
private bool FLCLGKMNAFK()
|
|
{
|
|
bool flag = true;
|
|
PlayerHandGestures.DMPPGHHPHGO pmcogcceocp = this.PMCOGCCEOCP;
|
|
if (pmcogcceocp != PlayerHandGestures.DMPPGHHPHGO.Fistbump)
|
|
{
|
|
if (pmcogcceocp == PlayerHandGestures.DMPPGHHPHGO.Highfive)
|
|
{
|
|
flag = base.AKCKNCDOPLE.PBECMBCGFIE() <= 758f;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
flag = base.AKCKNCDOPLE.CCCHAKNFKNH >= 687f;
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x06019776 RID: 104310 RVA: 0x00716484 File Offset: 0x00714684
|
|
public virtual void MDGOHHNMAPL(PlayerHand FNIKCKFJCKH)
|
|
{
|
|
base.ProcessHandCollision(FNIKCKFJCKH);
|
|
if (base.DFJFKOLLEMK() && this.JPDEKBKGFGP())
|
|
{
|
|
this.FJCKEHFIKHA(FNIKCKFJCKH);
|
|
bool flag = base.AKCKNCDOPLE.CCCHAKNFKNH > 132f || FNIKCKFJCKH.CCCHAKNFKNH > 1585f;
|
|
bool flag2 = base.AKCKNCDOPLE.PBECMBCGFIE() >= 1545f && FNIKCKFJCKH.PBECMBCGFIE() < 645f;
|
|
if (flag2 && this.LIPEHEGCAPL())
|
|
{
|
|
this.LLOHKEONOJE(PlayerHandGestures.DMPPGHHPHGO.Fistbump);
|
|
}
|
|
else if (flag && this.MMKPHMLIJOE)
|
|
{
|
|
this.MHCJIPCIPNL(PlayerHandGestures.DMPPGHHPHGO.Highfive);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019777 RID: 104311 RVA: 0x0071653C File Offset: 0x0071473C
|
|
public override void ProcessNonPlayerHandCollision(NonPlayerGestureTarget MMEBLCBANIL)
|
|
{
|
|
base.ProcessNonPlayerHandCollision(MMEBLCBANIL);
|
|
if (base.BHCCHBHNHCG && this.IMLEEKAKIKC)
|
|
{
|
|
this.PAFNFHOPKAH = MMEBLCBANIL;
|
|
bool flag = base.AKCKNCDOPLE.CCCHAKNFKNH <= 0.01f;
|
|
bool flag2 = base.AKCKNCDOPLE.CCCHAKNFKNH >= 0.99f;
|
|
if (flag2 && MMEBLCBANIL.JPOGCIFIHEB == PlayerHandGestures.DMPPGHHPHGO.Fistbump && this.ELMBLPIJNNL)
|
|
{
|
|
this.MHCJIPCIPNL(PlayerHandGestures.DMPPGHHPHGO.Fistbump);
|
|
}
|
|
else if (flag && MMEBLCBANIL.JPOGCIFIHEB == PlayerHandGestures.DMPPGHHPHGO.Highfive && this.MMKPHMLIJOE)
|
|
{
|
|
this.MHCJIPCIPNL(PlayerHandGestures.DMPPGHHPHGO.Highfive);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019779 RID: 104313 RVA: 0x00716688 File Offset: 0x00714888
|
|
private void ICNKOAJFADP()
|
|
{
|
|
if (base.BHCCHBHNHCG && (this.playerHandGestures.IsGestureBlocked(this) || Time.time - this.collisionGestureStartTime > this.collisionGestureDuration || !this.HCJNLINHPGC() || !this.CPEOOCGCMIA()))
|
|
{
|
|
this.HPCKCOBKJLK = CollisionGesture.ALHBNPBPHHB.Inactive;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601977A RID: 104314 RVA: 0x007166E8 File Offset: 0x007148E8
|
|
private void FJCKEHFIKHA(PlayerHand NOBAPCOKFIL)
|
|
{
|
|
this.EENEIGEOODA.MEAINJPIECA((!(NOBAPCOKFIL != null)) ? (-1) : NOBAPCOKFIL.EKPBHKFHMON().JLIJDKOGAEB());
|
|
}
|
|
|
|
// Token: 0x0601977B RID: 104315 RVA: 0x00716714 File Offset: 0x00714914
|
|
private PlayerHand PNOPBIMMLAD()
|
|
{
|
|
PhotonView photonView = PhotonView.KAKDEOHCKBM(this.EENEIGEOODA.CPIBGJLHLBL());
|
|
return (!(photonView != null)) ? null : photonView.GetComponent<PlayerHand>();
|
|
}
|
|
|
|
// Token: 0x0601977C RID: 104316 RVA: 0x0071674C File Offset: 0x0071494C
|
|
private bool LNBOBILEGIC()
|
|
{
|
|
bool flag = true;
|
|
PlayerHandGestures.DMPPGHHPHGO pmcogcceocp = this.PMCOGCCEOCP;
|
|
if (pmcogcceocp != PlayerHandGestures.DMPPGHHPHGO.Fistbump)
|
|
{
|
|
if (pmcogcceocp == PlayerHandGestures.DMPPGHHPHGO.Highfive)
|
|
{
|
|
flag = base.AKCKNCDOPLE.PBECMBCGFIE() <= 1640f;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
flag = base.AKCKNCDOPLE.PBECMBCGFIE() < 625f;
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x0601977E RID: 104318 RVA: 0x007167B4 File Offset: 0x007149B4
|
|
private bool FKFBBHNAKMH()
|
|
{
|
|
Vector3 vector = base.AKCKNCDOPLE.BOLBONELAEF.PPACPENBHKF() - ((!(this.CAKHFFKKCAL() == null)) ? this.CHKDDFIAIGO().BOLBONELAEF.PPACPENBHKF() : Vector3.zero);
|
|
float num = Mathf.Abs(Vector3.Dot(base.AKCKNCDOPLE.CDNCEOOIOHP, vector));
|
|
float num2 = Vector3.Dot(base.AKCKNCDOPLE.BOLBONELAEF.PPACPENBHKF(), base.AKCKNCDOPLE.CDNCEOOIOHP);
|
|
float num3 = ((!(this.CMNMPJLIJJC == null)) ? Vector3.Dot(this.CMNMPJLIJJC.LNAKPBMMKIL().PPACPENBHKF(), this.CMNMPJLIJJC.CDNCEOOIOHP) : 1529f);
|
|
return num >= this.minHighFiveSpeed && num2 > 168f && num3 > 1601f;
|
|
}
|
|
|
|
// Token: 0x0601977F RID: 104319 RVA: 0x00716898 File Offset: 0x00714A98
|
|
private void LMDPFBHIKNC()
|
|
{
|
|
if (base.DGLOKLCEMLH() && (this.playerHandGestures.LOBKPFOOHLB(this) || Time.time - this.collisionGestureStartTime > this.collisionGestureDuration || !this.HCJNLINHPGC() || !this.PICBBIDJGPN()))
|
|
{
|
|
this.LIFBOLKNLCE(CollisionGesture.ALHBNPBPHHB.Inactive);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019780 RID: 104320 RVA: 0x007168F8 File Offset: 0x00714AF8
|
|
private void KFGIKBGAOPF(PlayerHand NOBAPCOKFIL)
|
|
{
|
|
this.EENEIGEOODA.MEAINJPIECA((!(NOBAPCOKFIL != null)) ? (-1) : NOBAPCOKFIL.EKPBHKFHMON().ADMBCINHJOG);
|
|
}
|
|
|
|
// Token: 0x06019781 RID: 104321 RVA: 0x00716924 File Offset: 0x00714B24
|
|
private bool BAMMIGEJFPF()
|
|
{
|
|
Vector3 vector = base.AKCKNCDOPLE.BOLBONELAEF.IGOFELJMFOF - ((!(this.CAKHFFKKCAL() == null)) ? this.PNOPBIMMLAD().BOLBONELAEF.PPACPENBHKF() : Vector3.zero);
|
|
float num = Mathf.Abs(Vector3.Dot(base.AKCKNCDOPLE.CDNCEOOIOHP, vector));
|
|
float num2 = Vector3.Dot(base.AKCKNCDOPLE.BOLBONELAEF.PPACPENBHKF(), base.AKCKNCDOPLE.CDNCEOOIOHP);
|
|
float num3 = ((!(this.CAKHFFKKCAL() == null)) ? Vector3.Dot(this.PNOPBIMMLAD().BOLBONELAEF.IGOFELJMFOF, this.PNOPBIMMLAD().CDNCEOOIOHP) : 668f);
|
|
return num >= this.minHighFiveSpeed && num2 > 1777f && num3 > 575f;
|
|
}
|
|
|
|
// Token: 0x17000B2A RID: 2858
|
|
// (get) Token: 0x06019793 RID: 104339 RVA: 0x00717378 File Offset: 0x00715578
|
|
// (set) Token: 0x06019782 RID: 104322 RVA: 0x00716A08 File Offset: 0x00714C08
|
|
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: 0x06019783 RID: 104323 RVA: 0x00716A34 File Offset: 0x00714C34
|
|
private void HHKGLDLAOEP(PlayerHand NOBAPCOKFIL)
|
|
{
|
|
if (this.PBBMHJJNACP != NOBAPCOKFIL)
|
|
{
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.BreakCollisionGesture(this.PMCOGCCEOCP, base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
this.PBBMHJJNACP = NOBAPCOKFIL;
|
|
if (this.PBBMHJJNACP != null)
|
|
{
|
|
PlayerHand.OKPNIBFPKFL(this.PMCOGCCEOCP, base.AKCKNCDOPLE, this.PBBMHJJNACP);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019784 RID: 104324 RVA: 0x00716AAC File Offset: 0x00714CAC
|
|
private bool LIPEHEGCAPL()
|
|
{
|
|
Vector3 vector = base.AKCKNCDOPLE.BOLBONELAEF.PPACPENBHKF() - ((!(this.CMNMPJLIJJC == null)) ? this.CHKDDFIAIGO().LNAKPBMMKIL().PPACPENBHKF() : Vector3.zero);
|
|
float num = Vector3.Dot(base.AKCKNCDOPLE.HJIOPIFJEOE, (!(this.CAKHFFKKCAL() == null)) ? this.CAKHFFKKCAL().HJIOPIFJEOE : this.PAFNFHOPKAH.HJIOPIFJEOE);
|
|
float num2 = Mathf.Abs(Vector3.Dot(base.AKCKNCDOPLE.HJIOPIFJEOE, vector));
|
|
float num3 = Vector3.Dot(base.AKCKNCDOPLE.LNAKPBMMKIL().IGOFELJMFOF, base.AKCKNCDOPLE.HJIOPIFJEOE);
|
|
float num4 = ((!(this.PNOPBIMMLAD() == null)) ? Vector3.Dot(this.CAKHFFKKCAL().LNAKPBMMKIL().IGOFELJMFOF, this.PNOPBIMMLAD().HJIOPIFJEOE) : 942f);
|
|
return num < this.fistbumpDotThreshold && num2 >= this.minFistBumpSpeed && num3 > 1943f && num4 > 525f;
|
|
}
|
|
|
|
// Token: 0x06019785 RID: 104325 RVA: 0x00716BDC File Offset: 0x00714DDC
|
|
private void PGHMGAOGFPF(CollisionGesture.ALHBNPBPHHB NOBAPCOKFIL)
|
|
{
|
|
this.MPBOONGEHDM.BKBFIGCPIMI((ushort)NOBAPCOKFIL);
|
|
}
|
|
|
|
// Token: 0x06019786 RID: 104326 RVA: 0x00716BEC File Offset: 0x00714DEC
|
|
private void MGIMEDCIMIA(ushort NPGJBFOHMPA, ushort FPHFLDLBNFN)
|
|
{
|
|
this.GABFADNNMOH(null);
|
|
this.HJLECHAKGMB(null);
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
this.CMNMPJLIJJC = null;
|
|
this.PAFNFHOPKAH = null;
|
|
this.PMCOGCCEOCP = PlayerHandGestures.DMPPGHHPHGO.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019787 RID: 104327 RVA: 0x00716C1C File Offset: 0x00714E1C
|
|
private void AKDGOBIMJJN(ushort NPGJBFOHMPA, ushort FPHFLDLBNFN)
|
|
{
|
|
this.GABFADNNMOH(this.CAKHFFKKCAL());
|
|
this.GMDHMCLBDAL = this.PAFNFHOPKAH;
|
|
if (base.IGIPCHFCFNN())
|
|
{
|
|
this.collisionGestureStartTime = Time.time;
|
|
this.MKFEFOFMMMF = base.AKCKNCDOPLE.transform.position;
|
|
if (this.PMCOGCCEOCP == PlayerHandGestures.DMPPGHHPHGO.Highfive)
|
|
{
|
|
this.AKMILAMHMHH = base.AKCKNCDOPLE.HJIOPIFJEOE;
|
|
this.collisionGestureDuration = this.fistbumpDuration;
|
|
this.collisionGestureDistanceThreshold = this.fistbumpDistanceThreshold;
|
|
this.collisionGesturePullBackDistance = this.fistbumpPullbackDistance;
|
|
}
|
|
else
|
|
{
|
|
this.AKMILAMHMHH = base.AKCKNCDOPLE.CDNCEOOIOHP;
|
|
this.collisionGestureDuration = this.highFiveDuration;
|
|
this.collisionGestureDistanceThreshold = this.highFiveDistanceThreshold;
|
|
this.collisionGesturePullBackDistance = this.highFivePullbackDistance;
|
|
}
|
|
if (this.PNOPBIMMLAD() != null)
|
|
{
|
|
this.playerHandGestures.AuthorityTriggerGesture(this.PMCOGCCEOCP, this.PNOPBIMMLAD(), true);
|
|
}
|
|
else if (this.PAFNFHOPKAH != null)
|
|
{
|
|
this.playerHandGestures.LMNGPCODKNJ(this.PMCOGCCEOCP, null, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019788 RID: 104328 RVA: 0x00716D3C File Offset: 0x00714F3C
|
|
private void PGPIMHBLLPG()
|
|
{
|
|
if (base.BHCCHBHNHCG && (this.playerHandGestures.IsGestureBlocked(this) || Time.time - this.collisionGestureStartTime > this.collisionGestureDuration || !this.HCJNLINHPGC() || !this.LNBOBILEGIC()))
|
|
{
|
|
this.PGHMGAOGFPF(CollisionGesture.ALHBNPBPHHB.Inactive);
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019789 RID: 104329 RVA: 0x00716D9C File Offset: 0x00714F9C
|
|
private bool PICBBIDJGPN()
|
|
{
|
|
bool flag = false;
|
|
PlayerHandGestures.DMPPGHHPHGO pmcogcceocp = this.PMCOGCCEOCP;
|
|
if (pmcogcceocp != PlayerHandGestures.DMPPGHHPHGO.Highfive)
|
|
{
|
|
if (pmcogcceocp == PlayerHandGestures.DMPPGHHPHGO.Highfive)
|
|
{
|
|
flag = base.AKCKNCDOPLE.PBECMBCGFIE() <= 1561f;
|
|
}
|
|
}
|
|
else
|
|
{
|
|
flag = base.AKCKNCDOPLE.CCCHAKNFKNH < 1555f;
|
|
}
|
|
return flag;
|
|
}
|
|
|
|
// Token: 0x0601978A RID: 104330 RVA: 0x00716DFC File Offset: 0x00714FFC
|
|
private void FKMLLMGLMPN(PlayerHand NOBAPCOKFIL)
|
|
{
|
|
this.EENEIGEOODA.MEAINJPIECA((!(NOBAPCOKFIL != null)) ? (-1) : NOBAPCOKFIL.OMNGGJICBBI.HNPFGGAKNPI());
|
|
}
|
|
|
|
// Token: 0x0601978B RID: 104331 RVA: 0x00716E28 File Offset: 0x00715028
|
|
private void AGMFOGFFOOP(ushort NPGJBFOHMPA, ushort FPHFLDLBNFN)
|
|
{
|
|
this.GABFADNNMOH(this.CAKHFFKKCAL());
|
|
this.BABGLBJADOG(this.PAFNFHOPKAH);
|
|
if (base.DFJFKOLLEMK())
|
|
{
|
|
this.collisionGestureStartTime = Time.time;
|
|
this.MKFEFOFMMMF = base.AKCKNCDOPLE.transform.position;
|
|
if (this.PMCOGCCEOCP == PlayerHandGestures.DMPPGHHPHGO.Fistbump)
|
|
{
|
|
this.AKMILAMHMHH = base.AKCKNCDOPLE.HJIOPIFJEOE;
|
|
this.collisionGestureDuration = this.fistbumpDuration;
|
|
this.collisionGestureDistanceThreshold = this.fistbumpDistanceThreshold;
|
|
this.collisionGesturePullBackDistance = this.fistbumpPullbackDistance;
|
|
}
|
|
else
|
|
{
|
|
this.AKMILAMHMHH = base.AKCKNCDOPLE.CDNCEOOIOHP;
|
|
this.collisionGestureDuration = this.highFiveDuration;
|
|
this.collisionGestureDistanceThreshold = this.highFiveDistanceThreshold;
|
|
this.collisionGesturePullBackDistance = this.highFivePullbackDistance;
|
|
}
|
|
if (this.CMNMPJLIJJC != null)
|
|
{
|
|
this.playerHandGestures.NDGLPMIDGHA(this.PMCOGCCEOCP, this.PNOPBIMMLAD(), false);
|
|
}
|
|
else if (this.PAFNFHOPKAH != null)
|
|
{
|
|
this.playerHandGestures.FLCBHIKOLOH(this.PMCOGCCEOCP, null, false);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B2E RID: 2862
|
|
// (get) Token: 0x0601978C RID: 104332 RVA: 0x00716F48 File Offset: 0x00715148
|
|
private bool IMLEEKAKIKC
|
|
{
|
|
get
|
|
{
|
|
return !this.playerHandGestures.IsGestureBlocked(this) && this.PMCOGCCEOCP == PlayerHandGestures.DMPPGHHPHGO.None;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601978D RID: 104333 RVA: 0x00716F68 File Offset: 0x00715168
|
|
private void MHCJIPCIPNL(PlayerHandGestures.DMPPGHHPHGO KKCMIFEJPAM)
|
|
{
|
|
this.PMCOGCCEOCP = KKCMIFEJPAM;
|
|
this.MPBOONGEHDM.BKBFIGCPIMI(1);
|
|
}
|
|
|
|
// Token: 0x0601978E RID: 104334 RVA: 0x00716F80 File Offset: 0x00715180
|
|
private void IFFFCBGOFPC(ushort NPGJBFOHMPA, ushort FPHFLDLBNFN)
|
|
{
|
|
this.IPDBEGMIJPH = this.CMNMPJLIJJC;
|
|
this.GMDHMCLBDAL = this.PAFNFHOPKAH;
|
|
if (base.BHCCHBHNHCG)
|
|
{
|
|
this.collisionGestureStartTime = Time.time;
|
|
this.MKFEFOFMMMF = base.AKCKNCDOPLE.transform.position;
|
|
if (this.PMCOGCCEOCP == PlayerHandGestures.DMPPGHHPHGO.Fistbump)
|
|
{
|
|
this.AKMILAMHMHH = base.AKCKNCDOPLE.HJIOPIFJEOE;
|
|
this.collisionGestureDuration = this.fistbumpDuration;
|
|
this.collisionGestureDistanceThreshold = this.fistbumpDistanceThreshold;
|
|
this.collisionGesturePullBackDistance = this.fistbumpPullbackDistance;
|
|
}
|
|
else
|
|
{
|
|
this.AKMILAMHMHH = base.AKCKNCDOPLE.CDNCEOOIOHP;
|
|
this.collisionGestureDuration = this.highFiveDuration;
|
|
this.collisionGestureDistanceThreshold = this.highFiveDistanceThreshold;
|
|
this.collisionGesturePullBackDistance = this.highFivePullbackDistance;
|
|
}
|
|
if (this.CMNMPJLIJJC != null)
|
|
{
|
|
this.playerHandGestures.AuthorityTriggerGesture(this.PMCOGCCEOCP, this.CMNMPJLIJJC, true);
|
|
}
|
|
else if (this.PAFNFHOPKAH != null)
|
|
{
|
|
this.playerHandGestures.AuthorityTriggerGesture(this.PMCOGCCEOCP, null, true);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000B2F RID: 2863
|
|
// (get) Token: 0x0601978F RID: 104335 RVA: 0x007170A0 File Offset: 0x007152A0
|
|
private bool ELMBLPIJNNL
|
|
{
|
|
get
|
|
{
|
|
Vector3 vector = base.AKCKNCDOPLE.BOLBONELAEF.IGOFELJMFOF - ((!(this.CMNMPJLIJJC == null)) ? this.CMNMPJLIJJC.BOLBONELAEF.IGOFELJMFOF : Vector3.zero);
|
|
float num = Vector3.Dot(base.AKCKNCDOPLE.HJIOPIFJEOE, (!(this.CMNMPJLIJJC == null)) ? this.CMNMPJLIJJC.HJIOPIFJEOE : this.PAFNFHOPKAH.HJIOPIFJEOE);
|
|
float num2 = Mathf.Abs(Vector3.Dot(base.AKCKNCDOPLE.HJIOPIFJEOE, vector));
|
|
float num3 = Vector3.Dot(base.AKCKNCDOPLE.BOLBONELAEF.IGOFELJMFOF, base.AKCKNCDOPLE.HJIOPIFJEOE);
|
|
float num4 = ((!(this.CMNMPJLIJJC == null)) ? Vector3.Dot(this.CMNMPJLIJJC.BOLBONELAEF.IGOFELJMFOF, this.CMNMPJLIJJC.HJIOPIFJEOE) : 10f);
|
|
return num < this.fistbumpDotThreshold && num2 >= this.minFistBumpSpeed && num3 > 0.0001f && num4 > 0.0001f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019790 RID: 104336 RVA: 0x007171D0 File Offset: 0x007153D0
|
|
protected virtual void PAKPLLPDIOG()
|
|
{
|
|
base.DLCHNOFPONJ();
|
|
this.EENEIGEOODA = new LHLLJPPCDKA<int>(this, "RpcOnProductRelease", -1, IKCAJLLAFML.MASTER, null);
|
|
this.MPBOONGEHDM = new PNONBEAIBHA("User {0} was vote kicked.", IKCAJLLAFML.AUTHORITY);
|
|
this.MPBOONGEHDM.AGLMMKOFICI(0, null, null, null);
|
|
this.MPBOONGEHDM.AGLMMKOFICI(0, new ANMJLCILKDJ.NCMAEMHOHDG(this.FIEKGBCKKGL), new ANMJLCILKDJ.NCMAEMHOHDG(this.PLHOEFFPCIH), new ANMJLCILKDJ.PLBLFEEANOO(this.GDGBCNGNGHM));
|
|
}
|
|
|
|
// Token: 0x06019791 RID: 104337 RVA: 0x00717248 File Offset: 0x00715448
|
|
public virtual void LCCOCHFDLJO(PlayerHand FNIKCKFJCKH)
|
|
{
|
|
base.ProcessHandCollision(FNIKCKFJCKH);
|
|
if (base.JNOCCMDBMIO() && this.BGCIFFLCMIP())
|
|
{
|
|
this.CMNMPJLIJJC = FNIKCKFJCKH;
|
|
bool flag = base.AKCKNCDOPLE.PBECMBCGFIE() <= 526f && FNIKCKFJCKH.CCCHAKNFKNH > 158f;
|
|
bool flag2 = base.AKCKNCDOPLE.PBECMBCGFIE() >= 1366f && FNIKCKFJCKH.PBECMBCGFIE() >= 848f;
|
|
if (flag2 && this.LIPEHEGCAPL())
|
|
{
|
|
this.LLOHKEONOJE(PlayerHandGestures.DMPPGHHPHGO.Fistbump);
|
|
}
|
|
else if (flag && this.BAMMIGEJFPF())
|
|
{
|
|
this.MHCJIPCIPNL(PlayerHandGestures.DMPPGHHPHGO.Fistbump);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019794 RID: 104340 RVA: 0x007173B0 File Offset: 0x007155B0
|
|
private void OCEJENEOCJK()
|
|
{
|
|
this.MPBOONGEHDM.FLHFCMCNLEK(this, 0);
|
|
base.enabled = base.BHCCHBHNHCG;
|
|
}
|
|
|
|
// Token: 0x06019795 RID: 104341 RVA: 0x007173CC File Offset: 0x007155CC
|
|
private void LHMGNEDHIHI()
|
|
{
|
|
this.MPBOONGEHDM.DLBPEOILIFL();
|
|
}
|
|
|
|
// Token: 0x06019796 RID: 104342 RVA: 0x007173DC File Offset: 0x007155DC
|
|
private void Start()
|
|
{
|
|
this.MPBOONGEHDM.FLHFCMCNLEK(this, 0);
|
|
base.enabled = base.BHCCHBHNHCG;
|
|
}
|
|
|
|
// Token: 0x06019797 RID: 104343 RVA: 0x007173F8 File Offset: 0x007155F8
|
|
private void BABGLBJADOG(NonPlayerGestureTarget NOBAPCOKFIL)
|
|
{
|
|
if (this.ALHMLCAMMGM != NOBAPCOKFIL)
|
|
{
|
|
if (this.ALHMLCAMMGM != null)
|
|
{
|
|
PlayerHand.BreakNonPlayerGesture(this.PMCOGCCEOCP, base.AKCKNCDOPLE, this.ALHMLCAMMGM);
|
|
}
|
|
this.ALHMLCAMMGM = NOBAPCOKFIL;
|
|
if (this.ALHMLCAMMGM != null)
|
|
{
|
|
PlayerHand.LIKCLENCPGA(this.PMCOGCCEOCP, base.AKCKNCDOPLE, this.ALHMLCAMMGM);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06019798 RID: 104344 RVA: 0x00717470 File Offset: 0x00715670
|
|
private bool KFEHHBKMMOO()
|
|
{
|
|
return this.playerHandGestures.GDPKEMNMHEC(this) || this.PMCOGCCEOCP == PlayerHandGestures.DMPPGHHPHGO.None;
|
|
}
|
|
|
|
// Token: 0x17000B2C RID: 2860
|
|
// (get) Token: 0x06019799 RID: 104345 RVA: 0x00717490 File Offset: 0x00715690
|
|
public override bool HIFJHKJFHFG
|
|
{
|
|
get
|
|
{
|
|
return this.HPCKCOBKJLK == CollisionGesture.ALHBNPBPHHB.Colliding;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601979A RID: 104346 RVA: 0x0071749C File Offset: 0x0071569C
|
|
private bool JPDEKBKGFGP()
|
|
{
|
|
return this.playerHandGestures.IsGestureBlocked(this) || this.PMCOGCCEOCP == PlayerHandGestures.DMPPGHHPHGO.None;
|
|
}
|
|
|
|
// Token: 0x17000B30 RID: 2864
|
|
// (get) Token: 0x0601979B RID: 104347 RVA: 0x007174BC File Offset: 0x007156BC
|
|
private bool MMKPHMLIJOE
|
|
{
|
|
get
|
|
{
|
|
Vector3 vector = base.AKCKNCDOPLE.BOLBONELAEF.IGOFELJMFOF - ((!(this.CMNMPJLIJJC == null)) ? this.CMNMPJLIJJC.BOLBONELAEF.IGOFELJMFOF : Vector3.zero);
|
|
float num = Mathf.Abs(Vector3.Dot(base.AKCKNCDOPLE.CDNCEOOIOHP, vector));
|
|
float num2 = Vector3.Dot(base.AKCKNCDOPLE.BOLBONELAEF.IGOFELJMFOF, base.AKCKNCDOPLE.CDNCEOOIOHP);
|
|
float num3 = ((!(this.CMNMPJLIJJC == null)) ? Vector3.Dot(this.CMNMPJLIJJC.BOLBONELAEF.IGOFELJMFOF, this.CMNMPJLIJJC.CDNCEOOIOHP) : 10f);
|
|
return num >= this.minHighFiveSpeed && num2 > 0.0001f && num3 > 0.0001f;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0601979C RID: 104348 RVA: 0x007175A0 File Offset: 0x007157A0
|
|
public virtual bool JFOKMMKGADJ()
|
|
{
|
|
return this.HPCKCOBKJLK == CollisionGesture.ALHBNPBPHHB.Colliding;
|
|
}
|
|
|
|
// Token: 0x0400450B RID: 17675
|
|
[SerializeField]
|
|
[Header("General")]
|
|
private float collisionGestureDuration = 1f;
|
|
|
|
// Token: 0x0400450C RID: 17676
|
|
[SerializeField]
|
|
private float collisionGestureDistanceThreshold = 0.4f;
|
|
|
|
// Token: 0x0400450D RID: 17677
|
|
[SerializeField]
|
|
private float collisionGesturePullBackDistance = 0.01f;
|
|
|
|
// Token: 0x0400450E RID: 17678
|
|
[SerializeField]
|
|
private float collisionGestureStartTime;
|
|
|
|
// Token: 0x0400450F RID: 17679
|
|
[Header("Fist Bump")]
|
|
[SerializeField]
|
|
private float minFistBumpSpeed = 0.7f;
|
|
|
|
// Token: 0x04004510 RID: 17680
|
|
[SerializeField]
|
|
private float fistbumpDotThreshold = -0.8f;
|
|
|
|
// Token: 0x04004511 RID: 17681
|
|
[SerializeField]
|
|
private float fistbumpDuration = 1f;
|
|
|
|
// Token: 0x04004512 RID: 17682
|
|
[SerializeField]
|
|
private float fistbumpDistanceThreshold = 0.4f;
|
|
|
|
// Token: 0x04004513 RID: 17683
|
|
[SerializeField]
|
|
private float fistbumpPullbackDistance = 0.01f;
|
|
|
|
// Token: 0x04004514 RID: 17684
|
|
[SerializeField]
|
|
[Header("High Five")]
|
|
private float minHighFiveSpeed = 1f;
|
|
|
|
// Token: 0x04004515 RID: 17685
|
|
[SerializeField]
|
|
private float highFiveDuration = 1f;
|
|
|
|
// Token: 0x04004516 RID: 17686
|
|
[SerializeField]
|
|
private float highFiveDistanceThreshold = 0.5f;
|
|
|
|
// Token: 0x04004517 RID: 17687
|
|
[SerializeField]
|
|
private float highFivePullbackDistance = 0.01f;
|
|
|
|
// Token: 0x04004518 RID: 17688
|
|
private Vector3 MKFEFOFMMMF;
|
|
|
|
// Token: 0x04004519 RID: 17689
|
|
private Vector3 AKMILAMHMHH;
|
|
|
|
// Token: 0x0400451A RID: 17690
|
|
private PlayerHandGestures.DMPPGHHPHGO PMCOGCCEOCP = PlayerHandGestures.DMPPGHHPHGO.None;
|
|
|
|
// Token: 0x0400451B RID: 17691
|
|
private NonPlayerGestureTarget PAFNFHOPKAH;
|
|
|
|
// Token: 0x0400451C RID: 17692
|
|
private NonPlayerGestureTarget ALHMLCAMMGM;
|
|
|
|
// Token: 0x0400451D RID: 17693
|
|
private LHLLJPPCDKA<int> EENEIGEOODA;
|
|
|
|
// Token: 0x0400451E RID: 17694
|
|
private PlayerHand PBBMHJJNACP;
|
|
|
|
// Token: 0x0400451F RID: 17695
|
|
private PNONBEAIBHA MPBOONGEHDM;
|
|
|
|
// Token: 0x02000C8C RID: 3212
|
|
private enum ALHBNPBPHHB
|
|
{
|
|
// Token: 0x04004521 RID: 17697
|
|
Inactive,
|
|
// Token: 0x04004522 RID: 17698
|
|
Colliding
|
|
}
|
|
}
|
|
}
|