75 lines
2.3 KiB
C#
75 lines
2.3 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Activities
|
|
{
|
|
// Token: 0x02002693 RID: 9875
|
|
[Token(Token = "0x2002693")]
|
|
[StructLayout(3)]
|
|
public class DisableDuringGame : MonoBehaviour
|
|
{
|
|
// Token: 0x06011234 RID: 70196 RVA: 0x0040BCF8 File Offset: 0x00409EF8
|
|
[Token(Token = "0x6011234")]
|
|
[Address(RVA = "0x1100B50", Offset = "0x10FF550", VA = "0x181100B50")]
|
|
private void Start()
|
|
{
|
|
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
int num = 0;
|
|
if (instance != num)
|
|
{
|
|
GameManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action action = new Action(this.PKFDCLBHPLN);
|
|
instance2.NJGCGNDOMBJ += action;
|
|
GameManager instance3 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action action2 = new Action(this.ILMBFOOBPHK);
|
|
instance3.NHDKANAHJFM += action2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06011235 RID: 70197 RVA: 0x0040BD58 File Offset: 0x00409F58
|
|
[Token(Token = "0x6011235")]
|
|
[Address(RVA = "0x1100A00", Offset = "0x10FF400", VA = "0x181100A00")]
|
|
private void OnDestroy()
|
|
{
|
|
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
int num = 0;
|
|
if (instance != num)
|
|
{
|
|
GameManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action action = new Action(this.PKFDCLBHPLN);
|
|
instance2.NJGCGNDOMBJ -= action;
|
|
GameManager instance3 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
|
Action action2 = new Action(this.ILMBFOOBPHK);
|
|
instance3.NHDKANAHJFM -= action2;
|
|
}
|
|
}
|
|
|
|
// Token: 0x06011236 RID: 70198 RVA: 0x0040BDB8 File Offset: 0x00409FB8
|
|
[Token(Token = "0x6011236")]
|
|
[Address(RVA = "0xFDA7B0", Offset = "0xFD91B0", VA = "0x180FDA7B0")]
|
|
private void PKFDCLBHPLN()
|
|
{
|
|
GameObject gameObject = base.gameObject;
|
|
int num = 0;
|
|
gameObject.SetActive(num != 0);
|
|
}
|
|
|
|
// Token: 0x06011237 RID: 70199 RVA: 0x0040BDDC File Offset: 0x00409FDC
|
|
[Token(Token = "0x6011237")]
|
|
[Address(RVA = "0xFDA1E0", Offset = "0xFD8BE0", VA = "0x180FDA1E0")]
|
|
private void ILMBFOOBPHK()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x06011238 RID: 70200 RVA: 0x0040BDFC File Offset: 0x00409FFC
|
|
[Token(Token = "0x6011238")]
|
|
[Address(RVA = "0x3C1210", Offset = "0x3BFC10", VA = "0x1803C1210")]
|
|
public DisableDuringGame()
|
|
{
|
|
}
|
|
}
|
|
}
|