57 lines
1.6 KiB
C#
57 lines
1.6 KiB
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using RecRoom;
|
|
using UnityEngine;
|
|
|
|
// Token: 0x020006C1 RID: 1729
|
|
[Token(Token = "0x20006C1")]
|
|
[StructLayout(3)]
|
|
public abstract class PrefabSpawner<T> : Spawner where T : Component
|
|
{
|
|
// Token: 0x06003214 RID: 12820 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x6003214")]
|
|
[Address(RVA = "0x25511A0", Offset = "0x254FBA0", VA = "0x1825511A0", Slot = "4")]
|
|
protected override bool FFGCHGAMHBP()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x06003215 RID: 12821 RVA: 0x000D09B8 File Offset: 0x000CEBB8
|
|
[Token(Token = "0x6003215")]
|
|
[Address(RVA = "0x2551400", Offset = "0x254FE00", VA = "0x182551400", Slot = "5")]
|
|
protected override void OJNLKINBMIN()
|
|
{
|
|
if (Application.isPlaying)
|
|
{
|
|
int num = 0;
|
|
VisibilityRestriction[] array;
|
|
int length = array.Length;
|
|
if (num < length)
|
|
{
|
|
array[num].Start();
|
|
num++;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Token: 0x06003216 RID: 12822 RVA: 0x000D09F4 File Offset: 0x000CEBF4
|
|
[Token(Token = "0x6003216")]
|
|
[Address(RVA = "0x1B1BD80", Offset = "0x1B1A780", VA = "0x181B1BD80")]
|
|
protected PrefabSpawner()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04002AC7 RID: 10951
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4002AC7")]
|
|
[SerializeField]
|
|
[ContextMenuItem("Replace with nested prefab", "EditorReplaceWithNestedPrefab")]
|
|
private T prefab;
|
|
|
|
// Token: 0x04002AC8 RID: 10952
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x0")]
|
|
[Token(Token = "0x4002AC8")]
|
|
protected T GCCLEJOGCCE;
|
|
}
|