scripts
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Core.Platforms
|
||||
{
|
||||
// Token: 0x020029A4 RID: 10660
|
||||
[Token(Token = "0x20029A4")]
|
||||
[StructLayout(3)]
|
||||
public class HardwareEnableComponents : ActivationController<PlatformManager.LDIIFDDCKCN>
|
||||
{
|
||||
// Token: 0x06012A1C RID: 76316 RVA: 0x00471828 File Offset: 0x0046FA28
|
||||
[Token(Token = "0x6012A1C")]
|
||||
[Address(RVA = "0x19A2800", Offset = "0x19A1200", VA = "0x1819A2800", Slot = "8")]
|
||||
protected override bool COLFIMOHHCD(PlatformManager.LDIIFDDCKCN GEHPBFAILKF)
|
||||
{
|
||||
if (this.hardwareTypes.Length != 0)
|
||||
{
|
||||
if (this.components.Length != 0)
|
||||
{
|
||||
bool flag;
|
||||
return flag;
|
||||
}
|
||||
Debug.LogError("HardwareDisableComponents requires at least one component to target.");
|
||||
}
|
||||
Debug.LogError("HardwareDisableComponents requires at least one specified hardware type.");
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06012A1D RID: 76317 RVA: 0x00471870 File Offset: 0x0046FA70
|
||||
[Token(Token = "0x6012A1D")]
|
||||
[Address(RVA = "0x19A28F0", Offset = "0x19A12F0", VA = "0x1819A28F0", Slot = "9")]
|
||||
protected override void DAPIKKDJBPA(bool ENJABEBOEHC)
|
||||
{
|
||||
Behaviour[] array = this.components;
|
||||
int num = 0;
|
||||
if (num < array.Length)
|
||||
{
|
||||
array[num].enabled = ENJABEBOEHC;
|
||||
Behaviour[] array2 = this.components;
|
||||
num++;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06012A1E RID: 76318 RVA: 0x004718B0 File Offset: 0x0046FAB0
|
||||
[Token(Token = "0x6012A1E")]
|
||||
[Address(RVA = "0x19A2780", Offset = "0x19A1180", VA = "0x1819A2780")]
|
||||
private void Awake()
|
||||
{
|
||||
PlatformManager instance = SingletonMonoBehaviour.Instance;
|
||||
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
||||
}
|
||||
|
||||
// Token: 0x06012A1F RID: 76319 RVA: 0x004718D0 File Offset: 0x0046FAD0
|
||||
[Token(Token = "0x6012A1F")]
|
||||
[Address(RVA = "0x19A2980", Offset = "0x19A1380", VA = "0x1819A2980")]
|
||||
private void OnEnable()
|
||||
{
|
||||
PlatformManager instance = SingletonMonoBehaviour.Instance;
|
||||
bool isCompleted = ((IAsyncResult)this).IsCompleted;
|
||||
}
|
||||
|
||||
// Token: 0x06012A20 RID: 76320 RVA: 0x004718F0 File Offset: 0x0046FAF0
|
||||
[Token(Token = "0x6012A20")]
|
||||
[Address(RVA = "0x19A2700", Offset = "0x19A1100", VA = "0x1819A2700")]
|
||||
public HardwareEnableComponents()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400C77E RID: 51070
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x400C77E")]
|
||||
public PlatformManager.LDIIFDDCKCN[] hardwareTypes = new PlatformManager.LDIIFDDCKCN[] { (PlatformManager.LDIIFDDCKCN)((ulong)5L) };
|
||||
|
||||
// Token: 0x0400C77F RID: 51071
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x400C77F")]
|
||||
public Behaviour[] components;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user