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

81 lines
2.0 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Core.Platforms
{
// Token: 0x02002F9B RID: 12187
[Token(Token = "0x2002F9B")]
public abstract class ActivationController : MonoBehaviour, PFKAAGGNKIG
{
// Token: 0x170038D5 RID: 14549
// (get) Token: 0x06014900 RID: 84224 RVA: 0x004C09DC File Offset: 0x004BEBDC
[Token(Token = "0x170038D5")]
protected virtual ActivationController.LJGIHLNAFEF NBLFMIDNPBP
{
[Token(Token = "0x6014900")]
[Address(RVA = "0x4242C0", Offset = "0x4232C0", VA = "0x1804242C0", Slot = "4")]
get
{
}
}
// Token: 0x06014901 RID: 84225 RVA: 0x004C09EC File Offset: 0x004BEBEC
[Token(Token = "0x6014901")]
[Address(RVA = "0x1DEA260", Offset = "0x1DE9260", VA = "0x181DEA260")]
public bool OnSceneOrPrefabSave()
{
string text = this.ToString();
if (text != 0)
{
if (text != 0)
{
if (text != 0 || base.gameObject.activeSelf)
{
goto IL_53;
}
ulong num;
base.gameObject.SetActive(num != 0UL);
}
bool activeSelf = base.gameObject.activeSelf;
if (!activeSelf && this.allowSaveAsDisabled == activeSelf)
{
ulong num2;
base.gameObject.SetActive(num2 != 0UL);
}
}
IL_53:
throw new NullReferenceException();
}
// Token: 0x06014902 RID: 84226 RVA: 0x004C0A54 File Offset: 0x004BEC54
[Token(Token = "0x6014902")]
[Address(RVA = "0x428AD0", Offset = "0x427AD0", VA = "0x180428AD0")]
protected ActivationController()
{
}
// Token: 0x0400D59E RID: 54686
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400D59E")]
[SerializeField]
[JEAMMEGEDDJ("OnSceneOrPrefabSaveBehavior", 1)]
private bool allowSaveAsDisabled;
// Token: 0x02002F9C RID: 12188
[Token(Token = "0x2002F9C")]
public enum LJGIHLNAFEF
{
// Token: 0x0400D5A0 RID: 54688
[Token(Token = "0x400D5A0")]
DoNothing,
// Token: 0x0400D5A1 RID: 54689
[Token(Token = "0x400D5A1")]
EnableIfAllowed,
// Token: 0x0400D5A2 RID: 54690
[Token(Token = "0x400D5A2")]
EnableAlways
}
}
}