73 lines
2.2 KiB
C#
73 lines
2.2 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Activities
|
|
{
|
|
// Token: 0x02002C67 RID: 11367
|
|
[Token(Token = "0x2002C67")]
|
|
public class DisableDuringGame : MonoBehaviour
|
|
{
|
|
// Token: 0x06012FF1 RID: 77809 RVA: 0x004572D4 File Offset: 0x004554D4
|
|
[Token(Token = "0x6012FF1")]
|
|
[Address(RVA = "0x1623550", Offset = "0x1622550", VA = "0x181623550")]
|
|
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: 0x06012FF2 RID: 77810 RVA: 0x00457334 File Offset: 0x00455534
|
|
[Token(Token = "0x6012FF2")]
|
|
[Address(RVA = "0x1623400", Offset = "0x1622400", VA = "0x181623400")]
|
|
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: 0x06012FF3 RID: 77811 RVA: 0x00457394 File Offset: 0x00455594
|
|
[Token(Token = "0x6012FF3")]
|
|
[Address(RVA = "0x1323260", Offset = "0x1322260", VA = "0x181323260")]
|
|
private void PKFDCLBHPLN()
|
|
{
|
|
GameObject gameObject = base.gameObject;
|
|
int num = 0;
|
|
gameObject.SetActive(num != 0);
|
|
}
|
|
|
|
// Token: 0x06012FF4 RID: 77812 RVA: 0x004573B8 File Offset: 0x004555B8
|
|
[Token(Token = "0x6012FF4")]
|
|
[Address(RVA = "0x142A320", Offset = "0x1429320", VA = "0x18142A320")]
|
|
private void ILMBFOOBPHK()
|
|
{
|
|
base.gameObject.SetActive(true);
|
|
}
|
|
|
|
// Token: 0x06012FF5 RID: 77813 RVA: 0x004573D8 File Offset: 0x004555D8
|
|
[Token(Token = "0x6012FF5")]
|
|
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
|
|
public DisableDuringGame()
|
|
{
|
|
}
|
|
}
|
|
}
|