This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,477 @@
using System;
using System.Collections;
using System.Diagnostics;
using System.Threading;
using UnityEngine;
namespace RecRoom.Core.Gestures
{
// Token: 0x02000C90 RID: 3216
public class NonPlayerGestureTarget : MonoBehaviour
{
// Token: 0x060197F4 RID: 104436 RVA: 0x00718E3C File Offset: 0x0071703C
private void FIDMEJHMGJI()
{
this.PABPOJLCMCN = base.transform.position;
this.HEIEAHBDMBN = base.transform.rotation;
this.FHLFFCAACEA = this.connectedArm.position;
this.PGCNCHHGILJ = this.connectedArm.rotation;
if (this.interpolator != null)
{
this.interpolator.MGKJMPMHBFC += this.UpdateOriginalPosition;
}
}
// Token: 0x060197F5 RID: 104437 RVA: 0x00718EB8 File Offset: 0x007170B8
public void JMMBBFHKPED(Vector3 CIGPHKLAAOD)
{
this.PABPOJLCMCN = base.transform.position;
this.FHLFFCAACEA = this.connectedArm.position;
}
// Token: 0x060197F6 RID: 104438 RVA: 0x00718EDC File Offset: 0x007170DC
private void LFEBHHFENDK()
{
if (this.interpolator != null)
{
this.interpolator.IJEBAGOAGDP(new Action<Vector3>(this.UpdateOriginalPosition));
}
}
// Token: 0x060197F7 RID: 104439 RVA: 0x00718F08 File Offset: 0x00717108
public PlayerHandGestures.DMPPGHHPHGO HCAPGCABLOK()
{
return this._supportedGesture;
}
// Token: 0x060197F8 RID: 104440 RVA: 0x00718F10 File Offset: 0x00717110
private IEnumerator OGADNHLKEKN()
{
Vector3 position = base.transform.position;
Quaternion rotation = base.transform.rotation;
Vector3 position2 = this.connectedArm.position;
Quaternion rotation2 = this.connectedArm.rotation;
float num = 0f;
while (num < 1f)
{
base.transform.position = Vector3.Lerp(position, this.PABPOJLCMCN, num);
base.transform.rotation = Quaternion.Lerp(rotation, this.HEIEAHBDMBN, num);
this.connectedArm.position = Vector3.Lerp(position2, this.FHLFFCAACEA, num);
this.connectedArm.rotation = Quaternion.Lerp(rotation2, this.PGCNCHHGILJ, num);
num += 0.1f;
yield return null;
}
yield break;
}
// Token: 0x140000DC RID: 220
// (add) Token: 0x06019819 RID: 104473 RVA: 0x007193C0 File Offset: 0x007175C0
// (remove) Token: 0x060197F9 RID: 104441 RVA: 0x00718F2C File Offset: 0x0071712C
[field: DebuggerBrowsable(DebuggerBrowsableState.Never)]
public event Action<PlayerHandGestures.DMPPGHHPHGO> PPDNDEIACDG;
// Token: 0x060197FA RID: 104442 RVA: 0x00718F64 File Offset: 0x00717164
public HandshakeGesture.CPLLKAEAEJL CMLEBBOCEAD()
{
return this.<NEOHKNFGHHD>k__BackingField;
}
// Token: 0x060197FB RID: 104443 RVA: 0x00718F6C File Offset: 0x0071716C
private void BDKMGEHDIIH()
{
this.PABPOJLCMCN = base.transform.position;
this.HEIEAHBDMBN = base.transform.rotation;
this.FHLFFCAACEA = this.connectedArm.position;
this.PGCNCHHGILJ = this.connectedArm.rotation;
if (this.interpolator != null)
{
this.interpolator.CAPGIOGIILO(new Action<Vector3>(this.JMMBBFHKPED));
}
}
// Token: 0x060197FC RID: 104444 RVA: 0x00718FE8 File Offset: 0x007171E8
public Vector3 GEDGHBDHLAH()
{
return (this.HMMEBFHABKA != PlayerHand.HMMEBFHABKA.Left) ? (-base.transform.right) : base.transform.right;
}
// Token: 0x060197FD RID: 104445 RVA: 0x00719018 File Offset: 0x00717218
public Vector3 PJJAPHABHKN()
{
return base.transform.forward;
}
// Token: 0x060197FE RID: 104446 RVA: 0x00719028 File Offset: 0x00717228
private void POMCHIPOPEA()
{
this.PABPOJLCMCN = base.transform.position;
this.HEIEAHBDMBN = base.transform.rotation;
this.FHLFFCAACEA = this.connectedArm.position;
this.PGCNCHHGILJ = this.connectedArm.rotation;
if (this.interpolator != null)
{
this.interpolator.CAPGIOGIILO(new Action<Vector3>(this.UpdateOriginalPosition));
}
}
// Token: 0x17000B45 RID: 2885
// (get) Token: 0x060197FF RID: 104447 RVA: 0x007190A4 File Offset: 0x007172A4
public PlayerHandGestures.DMPPGHHPHGO JPOGCIFIHEB
{
get
{
return this._supportedGesture;
}
}
// Token: 0x06019800 RID: 104448 RVA: 0x007190AC File Offset: 0x007172AC
public void UpdateHandshakeState(HandshakeGesture.CPLLKAEAEJL JEPMIDMOJAN)
{
this.JOJFCBEFCJK = JEPMIDMOJAN;
}
// Token: 0x06019801 RID: 104449 RVA: 0x007190B8 File Offset: 0x007172B8
public Vector3 APDKELCFHIA()
{
return (this.JNAHDINKEOI() != PlayerHand.HMMEBFHABKA.Left) ? (-base.transform.right) : base.transform.right;
}
// Token: 0x06019802 RID: 104450 RVA: 0x007190E8 File Offset: 0x007172E8
public Vector3 HGEEFJMEJAM()
{
return (this.HMMEBFHABKA != PlayerHand.HMMEBFHABKA.Left) ? (-base.transform.right) : base.transform.right;
}
// Token: 0x06019803 RID: 104451 RVA: 0x00719118 File Offset: 0x00717318
public void UpdateOriginalPosition(Vector3 CIGPHKLAAOD)
{
this.PABPOJLCMCN = base.transform.position;
this.FHLFFCAACEA = this.connectedArm.position;
}
// Token: 0x06019804 RID: 104452 RVA: 0x0071913C File Offset: 0x0071733C
private IEnumerator GLGLOHJHLHO()
{
position = base.transform.position;
rotation = base.transform.rotation;
position2 = this.connectedArm.position;
rotation2 = this.connectedArm.rotation;
num = 0f;
while (num < 1f)
{
base.transform.position = Vector3.Lerp(position, this.PABPOJLCMCN, num);
base.transform.rotation = Quaternion.Lerp(rotation, this.HEIEAHBDMBN, num);
this.connectedArm.position = Vector3.Lerp(position2, this.FHLFFCAACEA, num);
this.connectedArm.rotation = Quaternion.Lerp(rotation2, this.PGCNCHHGILJ, num);
num += 0.1f;
yield return null;
}
yield break;
}
// Token: 0x06019805 RID: 104453 RVA: 0x00719158 File Offset: 0x00717358
private void EBIHIJKFLDM()
{
if (this.interpolator != null)
{
this.interpolator.MGKJMPMHBFC -= this.UpdateOriginalPosition;
}
}
// Token: 0x06019806 RID: 104454 RVA: 0x00719184 File Offset: 0x00717384
private void JNJDENIGAHH()
{
if (this.interpolator != null)
{
this.interpolator.IJEBAGOAGDP(new Action<Vector3>(this.JMMBBFHKPED));
}
}
// Token: 0x17000B44 RID: 2884
// (get) Token: 0x06019807 RID: 104455 RVA: 0x007191B0 File Offset: 0x007173B0
// (set) Token: 0x0601980F RID: 104463 RVA: 0x007192B4 File Offset: 0x007174B4
public HandshakeGesture.CPLLKAEAEJL JOJFCBEFCJK { get; private set; }
// Token: 0x17000B47 RID: 2887
// (get) Token: 0x06019808 RID: 104456 RVA: 0x007191B8 File Offset: 0x007173B8
public Vector3 CDNCEOOIOHP
{
get
{
return (this.HMMEBFHABKA != PlayerHand.HMMEBFHABKA.Left) ? (-base.transform.right) : base.transform.right;
}
}
// Token: 0x06019809 RID: 104457 RVA: 0x007191E8 File Offset: 0x007173E8
public Vector3 HBHCNPGCPKJ()
{
return (this.JNAHDINKEOI() != PlayerHand.HMMEBFHABKA.Left) ? (-base.transform.right) : base.transform.right;
}
// Token: 0x0601980A RID: 104458 RVA: 0x00719218 File Offset: 0x00717418
public Vector3 JJPHDCIMPGO()
{
return base.transform.forward;
}
// Token: 0x0601980B RID: 104459 RVA: 0x00719228 File Offset: 0x00717428
public void JLEAIHMNDAL(Action<PlayerHandGestures.DMPPGHHPHGO> NOBAPCOKFIL)
{
Action<PlayerHandGestures.DMPPGHHPHGO> action = this.PPDNDEIACDG;
Action<PlayerHandGestures.DMPPGHHPHGO> action2;
do
{
action2 = action;
action = Interlocked.CompareExchange<Action<PlayerHandGestures.DMPPGHHPHGO>>(ref this.PPDNDEIACDG, (Action<PlayerHandGestures.DMPPGHHPHGO>)Delegate.Remove(action2, NOBAPCOKFIL), action);
}
while (action != action2);
}
// Token: 0x0601980C RID: 104460 RVA: 0x00719260 File Offset: 0x00717460
private IEnumerator FCEGHHJLLGE()
{
position = base.transform.position;
rotation = base.transform.rotation;
position2 = this.connectedArm.position;
rotation2 = this.connectedArm.rotation;
num = 0f;
while (num < 1f)
{
base.transform.position = Vector3.Lerp(position, this.PABPOJLCMCN, num);
base.transform.rotation = Quaternion.Lerp(rotation, this.HEIEAHBDMBN, num);
this.connectedArm.position = Vector3.Lerp(position2, this.FHLFFCAACEA, num);
this.connectedArm.rotation = Quaternion.Lerp(rotation2, this.PGCNCHHGILJ, num);
num += 0.1f;
yield return null;
}
yield break;
}
// Token: 0x0601980D RID: 104461 RVA: 0x0071927C File Offset: 0x0071747C
private IEnumerator COCPIODCHLF()
{
position = base.transform.position;
rotation = base.transform.rotation;
position2 = this.connectedArm.position;
rotation2 = this.connectedArm.rotation;
num = 0f;
while (num < 1f)
{
base.transform.position = Vector3.Lerp(position, this.PABPOJLCMCN, num);
base.transform.rotation = Quaternion.Lerp(rotation, this.HEIEAHBDMBN, num);
this.connectedArm.position = Vector3.Lerp(position2, this.FHLFFCAACEA, num);
this.connectedArm.rotation = Quaternion.Lerp(rotation2, this.PGCNCHHGILJ, num);
num += 0.1f;
yield return null;
}
yield break;
}
// Token: 0x0601980E RID: 104462 RVA: 0x00719298 File Offset: 0x00717498
private IEnumerator LHGIKFMEPAF()
{
position = base.transform.position;
rotation = base.transform.rotation;
position2 = this.connectedArm.position;
rotation2 = this.connectedArm.rotation;
num = 0f;
while (num < 1f)
{
base.transform.position = Vector3.Lerp(position, this.PABPOJLCMCN, num);
base.transform.rotation = Quaternion.Lerp(rotation, this.HEIEAHBDMBN, num);
this.connectedArm.position = Vector3.Lerp(position2, this.FHLFFCAACEA, num);
this.connectedArm.rotation = Quaternion.Lerp(rotation2, this.PGCNCHHGILJ, num);
num += 0.1f;
yield return null;
}
yield break;
}
// Token: 0x06019810 RID: 104464 RVA: 0x007192C0 File Offset: 0x007174C0
private IEnumerator NMODJGCMADP()
{
position = base.transform.position;
rotation = base.transform.rotation;
position2 = this.connectedArm.position;
rotation2 = this.connectedArm.rotation;
num = 0f;
while (num < 1f)
{
base.transform.position = Vector3.Lerp(position, this.PABPOJLCMCN, num);
base.transform.rotation = Quaternion.Lerp(rotation, this.HEIEAHBDMBN, num);
this.connectedArm.position = Vector3.Lerp(position2, this.FHLFFCAACEA, num);
this.connectedArm.rotation = Quaternion.Lerp(rotation2, this.PGCNCHHGILJ, num);
num += 0.1f;
yield return null;
}
yield break;
}
// Token: 0x06019811 RID: 104465 RVA: 0x007192DC File Offset: 0x007174DC
public void EAEBJEJCDAB(HandshakeGesture.CPLLKAEAEJL JEPMIDMOJAN)
{
this.JOJFCBEFCJK = JEPMIDMOJAN;
}
// Token: 0x17000B48 RID: 2888
// (get) Token: 0x06019812 RID: 104466 RVA: 0x007192E8 File Offset: 0x007174E8
public Vector3 HJIOPIFJEOE
{
get
{
return base.transform.forward;
}
}
// Token: 0x06019813 RID: 104467 RVA: 0x007192F8 File Offset: 0x007174F8
public PlayerHand.HMMEBFHABKA JNAHDINKEOI()
{
return this._handType;
}
// Token: 0x06019815 RID: 104469 RVA: 0x00719308 File Offset: 0x00717508
public PlayerHandRigidbodyPickup MKGHOOECHGI()
{
return this._rigidbodyPickup;
}
// Token: 0x17000B46 RID: 2886
// (get) Token: 0x06019816 RID: 104470 RVA: 0x00719310 File Offset: 0x00717510
public PlayerHand.HMMEBFHABKA HMMEBFHABKA
{
get
{
return this._handType;
}
}
// Token: 0x06019817 RID: 104471 RVA: 0x00719318 File Offset: 0x00717518
private void Awake()
{
this.PABPOJLCMCN = base.transform.position;
this.HEIEAHBDMBN = base.transform.rotation;
this.FHLFFCAACEA = this.connectedArm.position;
this.PGCNCHHGILJ = this.connectedArm.rotation;
if (this.interpolator != null)
{
this.interpolator.MGKJMPMHBFC += this.UpdateOriginalPosition;
}
}
// Token: 0x06019818 RID: 104472 RVA: 0x00719394 File Offset: 0x00717594
private void OnDestroy()
{
if (this.interpolator != null)
{
this.interpolator.MGKJMPMHBFC -= this.UpdateOriginalPosition;
}
}
// Token: 0x0601981A RID: 104474 RVA: 0x007193F8 File Offset: 0x007175F8
public void FinishGesture(PlayerHandGestures.DMPPGHHPHGO ECDIJHPOHBF)
{
if (this.PPDNDEIACDG != null)
{
this.PPDNDEIACDG(ECDIJHPOHBF);
}
if (this.CMJNCJOMFNK != null)
{
base.StopCoroutine(this.CMJNCJOMFNK);
}
this.CMJNCJOMFNK = base.StartCoroutine(this.NMODJGCMADP());
}
// Token: 0x0601981B RID: 104475 RVA: 0x00719448 File Offset: 0x00717648
public PlayerHandRigidbodyPickup CLCNKDFEELC()
{
return this._rigidbodyPickup;
}
// Token: 0x17000B49 RID: 2889
// (get) Token: 0x0601981C RID: 104476 RVA: 0x00719450 File Offset: 0x00717650
public PlayerHandRigidbodyPickup CADPGMLHFGH
{
get
{
return this._rigidbodyPickup;
}
}
// Token: 0x0601981D RID: 104477 RVA: 0x00719458 File Offset: 0x00717658
public void LOEPNCCBBHK(HandshakeGesture.CPLLKAEAEJL JEPMIDMOJAN)
{
this.JOJFCBEFCJK = JEPMIDMOJAN;
}
// Token: 0x0601981E RID: 104478 RVA: 0x00719464 File Offset: 0x00717664
private void JHCLJIABPPJ()
{
this.PABPOJLCMCN = base.transform.position;
this.HEIEAHBDMBN = base.transform.rotation;
this.FHLFFCAACEA = this.connectedArm.position;
this.PGCNCHHGILJ = this.connectedArm.rotation;
if (this.interpolator != null)
{
this.interpolator.MGKJMPMHBFC += this.UpdateOriginalPosition;
}
}
// Token: 0x0601981F RID: 104479 RVA: 0x007194E0 File Offset: 0x007176E0
public PlayerHandGestures.DMPPGHHPHGO JFJENENIIKL()
{
return this._supportedGesture;
}
// Token: 0x06019820 RID: 104480 RVA: 0x007194E8 File Offset: 0x007176E8
private void GMFOPJDKOHJ()
{
if (this.interpolator != null)
{
this.interpolator.JKJDLKMFOMK(new Action<Vector3>(this.UpdateOriginalPosition));
}
}
// Token: 0x06019821 RID: 104481 RVA: 0x00719514 File Offset: 0x00717714
public PlayerHandRigidbodyPickup PMKEDOIFBHB()
{
return this._rigidbodyPickup;
}
// Token: 0x0400453D RID: 17725
[SerializeField]
private Transform connectedArm;
// Token: 0x0400453E RID: 17726
[SerializeField]
private PlayerHandGestures.DMPPGHHPHGO _supportedGesture;
// Token: 0x0400453F RID: 17727
[SerializeField]
private PlayerHand.HMMEBFHABKA _handType;
// Token: 0x04004540 RID: 17728
[SerializeField]
[ENMFCLPAKBJ(FOGKDGELKHN.Self, false)]
private PlayerHandRigidbodyPickup _rigidbodyPickup;
// Token: 0x04004541 RID: 17729
[SerializeField]
[ENMFCLPAKBJ(FOGKDGELKHN.Parent, false)]
private Interpolator interpolator;
// Token: 0x04004542 RID: 17730
private Vector3 PABPOJLCMCN;
// Token: 0x04004543 RID: 17731
private Quaternion HEIEAHBDMBN;
// Token: 0x04004544 RID: 17732
private Vector3 FHLFFCAACEA;
// Token: 0x04004545 RID: 17733
private Quaternion PGCNCHHGILJ;
// Token: 0x04004546 RID: 17734
private Coroutine CMJNCJOMFNK;
}
}