82 lines
2.3 KiB
C#
82 lines
2.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x02001FEE RID: 8174
|
|
[Token(Token = "0x2001FEE")]
|
|
public class DisableWithoutCalibration : MonoBehaviour
|
|
{
|
|
// Token: 0x0600D00D RID: 53261 RVA: 0x002FECE0 File Offset: 0x002FCEE0
|
|
[Token(Token = "0x600D00D")]
|
|
[Address(RVA = "0x807650", Offset = "0x806450", VA = "0x180807650")]
|
|
private void Awake()
|
|
{
|
|
LocalPlayerController instance;
|
|
Delegate @delegate;
|
|
int num;
|
|
do
|
|
{
|
|
instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
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.ONCPNMDGGKG.ACGDGBHFJFB)
|
|
{
|
|
}
|
|
bool flag = !RoomCalibration.LMKDCCDNALK;
|
|
gameObject.SetActive(flag);
|
|
}
|
|
|
|
// Token: 0x0600D00E RID: 53262 RVA: 0x002FED54 File Offset: 0x002FCF54
|
|
[Token(Token = "0x600D00E")]
|
|
[Address(RVA = "0x8078A0", Offset = "0x8066A0", VA = "0x1808078A0")]
|
|
private void OnDestroy()
|
|
{
|
|
LocalPlayerController instance2;
|
|
Delegate @delegate;
|
|
do
|
|
{
|
|
LocalPlayerController instance = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
int num = 0;
|
|
if (!(instance != num))
|
|
{
|
|
return;
|
|
}
|
|
instance2 = SingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action displayModeChange = instance2.DisplayModeChange;
|
|
Action action = new Action(this.NPDIMCJMIBM);
|
|
@delegate = Delegate.Remove(displayModeChange, action);
|
|
}
|
|
while (@delegate != 0 && @delegate == 0);
|
|
instance2.DisplayModeChange = @delegate;
|
|
}
|
|
|
|
// Token: 0x0600D00F RID: 53263 RVA: 0x002FEDB0 File Offset: 0x002FCFB0
|
|
[Token(Token = "0x600D00F")]
|
|
[Address(RVA = "0x8077E0", Offset = "0x8065E0", VA = "0x1808077E0")]
|
|
private void NPDIMCJMIBM()
|
|
{
|
|
GameObject gameObject = base.gameObject;
|
|
if (SingletonMonoBehaviour.ONCPNMDGGKG.ACGDGBHFJFB)
|
|
{
|
|
}
|
|
bool flag = !RoomCalibration.LMKDCCDNALK;
|
|
gameObject.SetActive(flag);
|
|
}
|
|
|
|
// Token: 0x0600D010 RID: 53264 RVA: 0x002FEDEC File Offset: 0x002FCFEC
|
|
[Token(Token = "0x600D010")]
|
|
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
|
|
public DisableWithoutCalibration()
|
|
{
|
|
}
|
|
}
|
|
}
|