Files
27Aug2021-Cpp2IL-Dump/Assembly-CSharp/RecRoom/DisableWithoutCalibration.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

82 lines
2.3 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom
{
// Token: 0x020020CE RID: 8398
[Token(Token = "0x20020CE")]
public class DisableWithoutCalibration : MonoBehaviour
{
// Token: 0x0600D3DB RID: 54235 RVA: 0x00307188 File Offset: 0x00305388
[Token(Token = "0x600D3DB")]
[Address(RVA = "0x1274950", Offset = "0x1273950", VA = "0x181274950")]
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: 0x0600D3DC RID: 54236 RVA: 0x003071FC File Offset: 0x003053FC
[Token(Token = "0x600D3DC")]
[Address(RVA = "0x1274BA0", Offset = "0x1273BA0", VA = "0x181274BA0")]
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: 0x0600D3DD RID: 54237 RVA: 0x00307258 File Offset: 0x00305458
[Token(Token = "0x600D3DD")]
[Address(RVA = "0x1274AE0", Offset = "0x1273AE0", VA = "0x181274AE0")]
private void NPDIMCJMIBM()
{
GameObject gameObject = base.gameObject;
if (SingletonMonoBehaviour.ONCPNMDGGKG.ACGDGBHFJFB)
{
}
bool flag = !RoomCalibration.LMKDCCDNALK;
gameObject.SetActive(flag);
}
// Token: 0x0600D3DE RID: 54238 RVA: 0x00307294 File Offset: 0x00305494
[Token(Token = "0x600D3DE")]
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
public DisableWithoutCalibration()
{
}
}
}