scripts
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using RecRoom;
|
||||
using UnityEngine;
|
||||
|
||||
// Token: 0x020004C7 RID: 1223
|
||||
[Token(Token = "0x20004C7")]
|
||||
[RequireComponent(typeof(Tool))]
|
||||
[StructLayout(3)]
|
||||
public class DisableGravityPickupOnReset : MonoBehaviour
|
||||
{
|
||||
// Token: 0x06002431 RID: 9265 RVA: 0x00095AE0 File Offset: 0x00093CE0
|
||||
[Token(Token = "0x6002431")]
|
||||
[Address(RVA = "0x16A0CC0", Offset = "0x169F6C0", VA = "0x1816A0CC0")]
|
||||
private void Awake()
|
||||
{
|
||||
Tool component = base.GetComponent<Tool>();
|
||||
this.EGFEJGHDNAI = component;
|
||||
int num = 0;
|
||||
if (!(component == num))
|
||||
{
|
||||
Tool egfejghdnai = this.EGFEJGHDNAI;
|
||||
ActionEvent<Tool, Vector3, Quaternion, Vector3, bool> postResetEvent = egfejghdnai.PostResetEvent;
|
||||
Action<Tool, Vector3, Quaternion, Vector3, bool> action = new Action(this.APBEFBBOMDJ);
|
||||
ActionEvent<Tool, Vector3, Quaternion, Vector3, bool> actionEvent = postResetEvent + action;
|
||||
egfejghdnai.PostResetEvent = actionEvent;
|
||||
Tool egfejghdnai2 = this.EGFEJGHDNAI;
|
||||
ActionEvent<Tool> postReleaseEvent = egfejghdnai2.PostReleaseEvent;
|
||||
Action<Tool> action2 = new Action(this.OGHNKALGNEJ);
|
||||
ActionEvent<Tool> actionEvent2 = postReleaseEvent + action2;
|
||||
egfejghdnai2.PostReleaseEvent = actionEvent2;
|
||||
this.EGFEJGHDNAI.GravityPickupMode = (Tool.LMJNHJCGDOF)((ulong)4294967295L);
|
||||
return;
|
||||
}
|
||||
Debug.LogError(base.name + " is missing a Tool component.");
|
||||
}
|
||||
|
||||
// Token: 0x06002432 RID: 9266 RVA: 0x00095B9C File Offset: 0x00093D9C
|
||||
[Token(Token = "0x6002432")]
|
||||
[Address(RVA = "0x16A0E90", Offset = "0x169F890", VA = "0x1816A0E90")]
|
||||
private void OnDestroy()
|
||||
{
|
||||
Tool egfejghdnai = this.EGFEJGHDNAI;
|
||||
ActionEvent<Tool, Vector3, Quaternion, Vector3, bool> postResetEvent = egfejghdnai.PostResetEvent;
|
||||
Action<Tool, Vector3, Quaternion, Vector3, bool> action = new Action(this.APBEFBBOMDJ);
|
||||
ActionEvent<Tool, Vector3, Quaternion, Vector3, bool> actionEvent = postResetEvent - action;
|
||||
egfejghdnai.PostResetEvent = actionEvent;
|
||||
Tool egfejghdnai2 = this.EGFEJGHDNAI;
|
||||
ActionEvent<Tool> postReleaseEvent = egfejghdnai2.PostReleaseEvent;
|
||||
Action<Tool> action2 = new Action(this.OGHNKALGNEJ);
|
||||
ActionEvent<Tool> actionEvent2 = postReleaseEvent - action2;
|
||||
egfejghdnai2.PostReleaseEvent = actionEvent2;
|
||||
}
|
||||
|
||||
// Token: 0x06002433 RID: 9267 RVA: 0x00095C0C File Offset: 0x00093E0C
|
||||
[Token(Token = "0x6002433")]
|
||||
[Address(RVA = "0x16A0CA0", Offset = "0x169F6A0", VA = "0x1816A0CA0")]
|
||||
private void APBEFBBOMDJ(Tool NBHJPDBHDHB, Vector3 BNMOCBJEEPN, Quaternion LPHCCEOHNIN, Vector3 GMMJHABHDHE, bool ACPOOMGHPKJ)
|
||||
{
|
||||
NBHJPDBHDHB.GravityPickupMode = (Tool.LMJNHJCGDOF)((ulong)4294967295L);
|
||||
}
|
||||
|
||||
// Token: 0x06002434 RID: 9268 RVA: 0x00095C30 File Offset: 0x00093E30
|
||||
[Token(Token = "0x6002434")]
|
||||
[Address(RVA = "0x16A0E70", Offset = "0x169F870", VA = "0x1816A0E70")]
|
||||
private void OGHNKALGNEJ(Tool NBHJPDBHDHB)
|
||||
{
|
||||
NBHJPDBHDHB.GravityPickupMode = (Tool.LMJNHJCGDOF)((ulong)0L);
|
||||
}
|
||||
|
||||
// Token: 0x06002435 RID: 9269 RVA: 0x00095C4C File Offset: 0x00093E4C
|
||||
[Token(Token = "0x6002435")]
|
||||
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
||||
public DisableGravityPickupOnReset()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04001D4E RID: 7502
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4001D4E")]
|
||||
private Tool EGFEJGHDNAI;
|
||||
}
|
||||
Reference in New Issue
Block a user