Files
Aug2021-Cpp2IL-Dump/Assembly-CSharp/RecRoom/Activities/DisableDuringGame.cs
T
2026-04-10 22:50:51 +02:00

73 lines
2.2 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Activities
{
// Token: 0x02002B7E RID: 11134
[Token(Token = "0x2002B7E")]
public class DisableDuringGame : MonoBehaviour
{
// Token: 0x06012BB2 RID: 76722 RVA: 0x0044D5BC File Offset: 0x0044B7BC
[Token(Token = "0x6012BB2")]
[Address(RVA = "0xB23700", Offset = "0xB22500", VA = "0x180B23700")]
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: 0x06012BB3 RID: 76723 RVA: 0x0044D61C File Offset: 0x0044B81C
[Token(Token = "0x6012BB3")]
[Address(RVA = "0xB235B0", Offset = "0xB223B0", VA = "0x180B235B0")]
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: 0x06012BB4 RID: 76724 RVA: 0x0044D67C File Offset: 0x0044B87C
[Token(Token = "0x6012BB4")]
[Address(RVA = "0x827A90", Offset = "0x826890", VA = "0x180827A90")]
private void PKFDCLBHPLN()
{
GameObject gameObject = base.gameObject;
int num = 0;
gameObject.SetActive(num != 0);
}
// Token: 0x06012BB5 RID: 76725 RVA: 0x0044D6A0 File Offset: 0x0044B8A0
[Token(Token = "0x6012BB5")]
[Address(RVA = "0x8274A0", Offset = "0x8262A0", VA = "0x1808274A0")]
private void ILMBFOOBPHK()
{
base.gameObject.SetActive(true);
}
// Token: 0x06012BB6 RID: 76726 RVA: 0x0044D6C0 File Offset: 0x0044B8C0
[Token(Token = "0x6012BB6")]
[Address(RVA = "0x74EA40", Offset = "0x74D840", VA = "0x18074EA40")]
public DisableDuringGame()
{
}
}
}