scripts
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom
|
||||
{
|
||||
// Token: 0x02001D0A RID: 7434
|
||||
[Token(Token = "0x2001D0A")]
|
||||
[StructLayout(3)]
|
||||
public class PhysicsManager : SingletonMonoBehaviour<PhysicsManager>
|
||||
{
|
||||
// Token: 0x0600C7D2 RID: 51154 RVA: 0x002F6944 File Offset: 0x002F4B44
|
||||
[Token(Token = "0x600C7D2")]
|
||||
[Address(RVA = "0x140FEE0", Offset = "0x140E8E0", VA = "0x18140FEE0")]
|
||||
private void Update()
|
||||
{
|
||||
if (Time.frameCount != this.APKJEPEKLNH)
|
||||
{
|
||||
Physics.SyncTransforms();
|
||||
return;
|
||||
}
|
||||
ActionEvent updateAfterFixedUpdateRan = PhysicsManager.UpdateAfterFixedUpdateRan;
|
||||
if (updateAfterFixedUpdateRan != 0)
|
||||
{
|
||||
int num = 0;
|
||||
updateAfterFixedUpdateRan.Invoke(num != 0);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0600C7D3 RID: 51155 RVA: 0x002F697C File Offset: 0x002F4B7C
|
||||
[Token(Token = "0x600C7D3")]
|
||||
[Address(RVA = "0x140FEC0", Offset = "0x140E8C0", VA = "0x18140FEC0")]
|
||||
private void FixedUpdate()
|
||||
{
|
||||
int frameCount = Time.frameCount;
|
||||
this.APKJEPEKLNH = frameCount;
|
||||
}
|
||||
|
||||
// Token: 0x0600C7D4 RID: 51156 RVA: 0x002F6998 File Offset: 0x002F4B98
|
||||
[Token(Token = "0x600C7D4")]
|
||||
[Address(RVA = "0x140FFD0", Offset = "0x140E9D0", VA = "0x18140FFD0")]
|
||||
public PhysicsManager()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600C7D5 RID: 51157 RVA: 0x002F69AC File Offset: 0x002F4BAC
|
||||
// Note: this type is marked as 'beforefieldinit'.
|
||||
[Token(Token = "0x600C7D5")]
|
||||
[Address(RVA = "0x140FF70", Offset = "0x140E970", VA = "0x18140FF70")]
|
||||
static PhysicsManager()
|
||||
{
|
||||
int num;
|
||||
ActionEvent actionEvent = new ActionEvent(32, num != 0);
|
||||
num = 0;
|
||||
PhysicsManager.UpdateAfterFixedUpdateRan = actionEvent;
|
||||
}
|
||||
|
||||
// Token: 0x040084A6 RID: 33958
|
||||
[Token(Token = "0x40084A6")]
|
||||
public static ActionEvent UpdateAfterFixedUpdateRan;
|
||||
|
||||
// Token: 0x040084A7 RID: 33959
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x40084A7")]
|
||||
private int APKJEPEKLNH;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user