scripts
This commit is contained in:
@@ -0,0 +1,83 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom
|
||||
{
|
||||
// Token: 0x02001C47 RID: 7239
|
||||
[Token(Token = "0x2001C47")]
|
||||
[StructLayout(3)]
|
||||
public class DisableWithoutCalibration : MonoBehaviour
|
||||
{
|
||||
// Token: 0x0600C1CD RID: 49613 RVA: 0x002DAD18 File Offset: 0x002D8F18
|
||||
[Token(Token = "0x600C1CD")]
|
||||
[Address(RVA = "0x121DC20", Offset = "0x121C620", VA = "0x18121DC20")]
|
||||
private void Awake()
|
||||
{
|
||||
LocalPlayerController instance;
|
||||
Delegate @delegate;
|
||||
int num;
|
||||
do
|
||||
{
|
||||
instance = SingletonMonoBehaviour.Instance;
|
||||
Action displayModeChange = instance.DisplayModeChange;
|
||||
Action action = new Action(this.NPDIMCJMIBM);
|
||||
@delegate = Delegate.Combine(displayModeChange, action);
|
||||
num = 0;
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
instance.DisplayModeChange = num;
|
||||
GameObject gameObject = base.gameObject;
|
||||
if (SingletonMonoBehaviour.Instance.ACGDGBHFJFB)
|
||||
{
|
||||
}
|
||||
bool flag = !RoomCalibration.LMKDCCDNALK;
|
||||
gameObject.SetActive(flag);
|
||||
}
|
||||
|
||||
// Token: 0x0600C1CE RID: 49614 RVA: 0x002DAD8C File Offset: 0x002D8F8C
|
||||
[Token(Token = "0x600C1CE")]
|
||||
[Address(RVA = "0x121DE70", Offset = "0x121C870", VA = "0x18121DE70")]
|
||||
private void OnDestroy()
|
||||
{
|
||||
LocalPlayerController instance2;
|
||||
Delegate @delegate;
|
||||
do
|
||||
{
|
||||
LocalPlayerController instance = SingletonMonoBehaviour.Instance;
|
||||
int num = 0;
|
||||
if (!(instance != num))
|
||||
{
|
||||
return;
|
||||
}
|
||||
instance2 = SingletonMonoBehaviour.Instance;
|
||||
Action displayModeChange = instance2.DisplayModeChange;
|
||||
Action action = new Action(this.NPDIMCJMIBM);
|
||||
@delegate = Delegate.Remove(displayModeChange, action);
|
||||
}
|
||||
while (@delegate != 0 && @delegate == 0);
|
||||
instance2.DisplayModeChange = @delegate;
|
||||
}
|
||||
|
||||
// Token: 0x0600C1CF RID: 49615 RVA: 0x002DADE8 File Offset: 0x002D8FE8
|
||||
[Token(Token = "0x600C1CF")]
|
||||
[Address(RVA = "0x121DDB0", Offset = "0x121C7B0", VA = "0x18121DDB0")]
|
||||
private void NPDIMCJMIBM()
|
||||
{
|
||||
GameObject gameObject = base.gameObject;
|
||||
if (SingletonMonoBehaviour.Instance.ACGDGBHFJFB)
|
||||
{
|
||||
}
|
||||
bool flag = !RoomCalibration.LMKDCCDNALK;
|
||||
gameObject.SetActive(flag);
|
||||
}
|
||||
|
||||
// Token: 0x0600C1D0 RID: 49616 RVA: 0x002DAE24 File Offset: 0x002D9024
|
||||
[Token(Token = "0x600C1D0")]
|
||||
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
||||
public DisableWithoutCalibration()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user