117 lines
4.1 KiB
C#
117 lines
4.1 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom.Networking.SynchronizedFields;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x02001C98 RID: 7320
|
|
[Token(Token = "0x2001C98")]
|
|
[StructLayout(3)]
|
|
public class PoolCueRigidbodyPickup : RigidbodyPickup
|
|
{
|
|
// Token: 0x0600C548 RID: 50504 RVA: 0x002EAAE8 File Offset: 0x002E8CE8
|
|
[Token(Token = "0x600C548")]
|
|
[Address(RVA = "0x1143AE0", Offset = "0x11424E0", VA = "0x181143AE0", Slot = "13")]
|
|
protected override void Awake()
|
|
{
|
|
base.Awake();
|
|
Tool egfejghdnai = this.EGFEJGHDNAI;
|
|
ActionEvent<Tool> postPickupEvent = egfejghdnai.PostPickupEvent;
|
|
Action<Tool> action = new Action(this.HAAIALDMMEL);
|
|
ActionEvent<Tool> actionEvent = postPickupEvent + action;
|
|
egfejghdnai.PostPickupEvent = actionEvent;
|
|
Tool egfejghdnai2 = this.EGFEJGHDNAI;
|
|
ActionEvent<Tool> postReleaseEvent = egfejghdnai2.PostReleaseEvent;
|
|
Action<Tool> action2 = new Action(this.OIOCPLEKMEK);
|
|
ActionEvent<Tool> actionEvent2 = postReleaseEvent + action2;
|
|
egfejghdnai2.PostReleaseEvent = actionEvent2;
|
|
}
|
|
|
|
// Token: 0x0600C549 RID: 50505 RVA: 0x002EAB60 File Offset: 0x002E8D60
|
|
[Token(Token = "0x600C549")]
|
|
[Address(RVA = "0x1143EE0", Offset = "0x11428E0", VA = "0x181143EE0", Slot = "14")]
|
|
protected override void OnDestroy()
|
|
{
|
|
base.OnDestroy();
|
|
Tool egfejghdnai = this.EGFEJGHDNAI;
|
|
ActionEvent<Tool> postPickupEvent = egfejghdnai.PostPickupEvent;
|
|
Action<Tool> action = new Action(this.HAAIALDMMEL);
|
|
ActionEvent<Tool> actionEvent = postPickupEvent - action;
|
|
egfejghdnai.PostPickupEvent = actionEvent;
|
|
Tool egfejghdnai2 = this.EGFEJGHDNAI;
|
|
ActionEvent<Tool> postReleaseEvent = egfejghdnai2.PostReleaseEvent;
|
|
Action<Tool> action2 = new Action(this.OIOCPLEKMEK);
|
|
ActionEvent<Tool> actionEvent2 = postReleaseEvent - action2;
|
|
egfejghdnai2.PostReleaseEvent = actionEvent2;
|
|
}
|
|
|
|
// Token: 0x0600C54A RID: 50506 RVA: 0x002EABD8 File Offset: 0x002E8DD8
|
|
[Token(Token = "0x600C54A")]
|
|
[Address(RVA = "0x1143BF0", Offset = "0x11425F0", VA = "0x181143BF0")]
|
|
private void HAAIALDMMEL(Tool NBHJPDBHDHB)
|
|
{
|
|
Tool egfejghdnai = this.EGFEJGHDNAI;
|
|
Transform transform = egfejghdnai.<PBCNKLKCIHJ>k__BackingField.transform;
|
|
PlayerHand <PBCNKLKCIHJ>k__BackingField = this.EGFEJGHDNAI.<PBCNKLKCIHJ>k__BackingField;
|
|
float z = Vector3.one.z;
|
|
PoolCue poolCue = this.cue;
|
|
float z2 = Vector3.zero.z;
|
|
SynchronizedField<PoolCue.EBBMJPHAEME> phhlomkicdf = this.cue.PHHLOMKICDF;
|
|
int num = 0;
|
|
phhlomkicdf.Set(num);
|
|
}
|
|
|
|
// Token: 0x0600C54B RID: 50507 RVA: 0x002EAC48 File Offset: 0x002E8E48
|
|
[Token(Token = "0x600C54B")]
|
|
[Address(RVA = "0x1143E80", Offset = "0x1142880", VA = "0x181143E80")]
|
|
private void OIOCPLEKMEK(Tool NBHJPDBHDHB)
|
|
{
|
|
SynchronizedField<PoolCue.EBBMJPHAEME> phhlomkicdf = this.cue.PHHLOMKICDF;
|
|
int num = 0;
|
|
phhlomkicdf.Set(num);
|
|
}
|
|
|
|
// Token: 0x17001ECE RID: 7886
|
|
// (get) Token: 0x0600C54C RID: 50508 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x17001ECE")]
|
|
public override Quaternion IKNMCIEGEHH
|
|
{
|
|
[Token(Token = "0x600C54C")]
|
|
[Address(RVA = "0x1144710", Offset = "0x1143110", VA = "0x181144710", Slot = "17")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x17001ECF RID: 7887
|
|
// (get) Token: 0x0600C54D RID: 50509 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x17001ECF")]
|
|
public override Vector3 EHAINJEAMKF
|
|
{
|
|
[Token(Token = "0x600C54D")]
|
|
[Address(RVA = "0x1144050", Offset = "0x1142A50", VA = "0x181144050", Slot = "16")]
|
|
get
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C54E RID: 50510 RVA: 0x002EAC70 File Offset: 0x002E8E70
|
|
[Token(Token = "0x600C54E")]
|
|
[Address(RVA = "0x1143FF0", Offset = "0x11429F0", VA = "0x181143FF0")]
|
|
public PoolCueRigidbodyPickup()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04008286 RID: 33414
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0xD8")]
|
|
[Token(Token = "0x4008286")]
|
|
[SerializeField]
|
|
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false)]
|
|
private PoolCue cue;
|
|
}
|
|
}
|