Files
Jan2021-Cpp2Il-Dump/Assembly-CSharp/RecRoom/Core/Creation/SandboxSpawnPointSpawnerBase.cs
T
2026-04-08 23:40:05 +02:00

167 lines
4.8 KiB
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using Photon.Pun;
using RecRoom.Networking.SynchronizedFields;
using UnityEngine;
namespace RecRoom.Core.Creation
{
// Token: 0x02002BF0 RID: 11248
[Token(Token = "0x2002BF0")]
[StructLayout(3)]
public abstract class SandboxSpawnPointSpawnerBase : MonoBehaviourPun
{
// Token: 0x170034F3 RID: 13555
// (get) Token: 0x06013D27 RID: 81191 RVA: 0x004C188C File Offset: 0x004BFA8C
// (set) Token: 0x06013D28 RID: 81192 RVA: 0x004C18AC File Offset: 0x004BFAAC
[Token(Token = "0x170034F3")]
public int[] NKDHMDBEOHP
{
[Token(Token = "0x6013D27")]
[Address(RVA = "0x16B9460", Offset = "0x16B7E60", VA = "0x1816B9460")]
get
{
return this.CCNDOOKOKKC.Get();
}
[Token(Token = "0x6013D28")]
[Address(RVA = "0x16B94B0", Offset = "0x16B7EB0", VA = "0x1816B94B0")]
set
{
SynchronizedField<int[]> ccndookokkc = this.CCNDOOKOKKC;
}
}
// Token: 0x06013D29 RID: 81193 RVA: 0x004C18C8 File Offset: 0x004BFAC8
[Token(Token = "0x6013D29")]
[Address(RVA = "0x16B8380", Offset = "0x16B6D80", VA = "0x1816B8380", Slot = "13")]
protected override void Awake()
{
base..ctor();
int[] array = new int[0];
SynchronizedField<int[]> synchronizedField;
this.CCNDOOKOKKC = synchronizedField;
}
// Token: 0x06013D2A RID: 81194 RVA: 0x004C18F0 File Offset: 0x004BFAF0
[Token(Token = "0x6013D2A")]
[Address(RVA = "0x14E2EF0", Offset = "0x14E18F0", VA = "0x1814E2EF0", Slot = "15")]
protected virtual void Start()
{
bool isCompleted = ((IAsyncResult)this).IsCompleted;
}
// Token: 0x06013D2B RID: 81195 RVA: 0x004C1904 File Offset: 0x004BFB04
[Token(Token = "0x6013D2B")]
[Address(RVA = "0xAFCE20", Offset = "0xAFB820", VA = "0x180AFCE20", Slot = "16")]
protected virtual void OFALDOKPKFP()
{
bool isCompleted = ((IAsyncResult)this).IsCompleted;
}
// Token: 0x06013D2C RID: 81196 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x6013D2C")]
[Address(RVA = "0x16B8460", Offset = "0x16B6E60", VA = "0x1816B8460")]
protected void IHLKMMPOAOL()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x06013D2D RID: 81197 RVA: 0x004C1918 File Offset: 0x004BFB18
[Token(Token = "0x6013D2D")]
[Address(RVA = "0x16B8F10", Offset = "0x16B7910", VA = "0x1816B8F10")]
protected void JLGDFEILJGI()
{
int num;
do
{
num = 0;
if (!PhotonNetwork.IsMasterClient)
{
return;
}
List<SpawnPoint> ndmfpandocb = this.NDMFPANDOCB;
List.Enumerator enumerator;
if (enumerator != 0)
{
GameObject gameObject;
PhotonNetwork.GetOwnershipAndDestroy(gameObject);
}
if (num != -1)
{
}
}
while (num != 0);
if (this.CCNDOOKOKKC.Get().Length != 0)
{
int[] array = new int[0];
this.NKDHMDBEOHP = array;
}
}
// Token: 0x06013D2E RID: 81198 RVA: 0x004C197C File Offset: 0x004BFB7C
[Token(Token = "0x6013D2E")]
[Address(RVA = "0x16B9110", Offset = "0x16B7B10", VA = "0x1816B9110", Slot = "17")]
protected virtual void NDGJPDDLKLM()
{
this.NDMFPANDOCB.Clear();
int[] array = this.CCNDOOKOKKC.Get();
int num = 0;
int length = array.Length;
if (num < length)
{
PhotonView photonView = PhotonNetwork.GetPhotonView(array[num]);
int num2 = 0;
if (!(photonView != num2))
{
object[] array2 = new object[1];
throw new ArrayTypeMismatchException();
}
SpawnPoint component = photonView.GetComponent<SpawnPoint>();
int num3 = 0;
if (!(component != num3))
{
object[] array3 = new object[1];
GameObject gameObject = photonView.gameObject;
throw new ArrayTypeMismatchException();
}
List<SpawnPoint> ndmfpandocb = this.NDMFPANDOCB;
num++;
}
}
// Token: 0x06013D2F RID: 81199 RVA: 0x004C1A4C File Offset: 0x004BFC4C
[Token(Token = "0x6013D2F")]
[Address(RVA = "0x16B9400", Offset = "0x16B7E00", VA = "0x1816B9400")]
protected SandboxSpawnPointSpawnerBase()
{
List<SpawnPoint> list = new List();
this.NDMFPANDOCB = list;
base..ctor();
}
// Token: 0x0400D5E7 RID: 54759
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
[Token(Token = "0x400D5E7")]
[SerializeField]
private Transform[] spawnPointOffsets;
// Token: 0x0400D5E8 RID: 54760
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
[Token(Token = "0x400D5E8")]
[SerializeField]
private SpawnPoint spawnPointPrefab;
// Token: 0x0400D5E9 RID: 54761
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x400D5E9")]
protected List<SpawnPoint> NDMFPANDOCB;
// Token: 0x0400D5EA RID: 54762
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x400D5EA")]
private SynchronizedField<int[]> CCNDOOKOKKC;
}
}