Files
niko 8fc35183db a
2026-04-11 22:19:20 +02:00

215 lines
5.8 KiB
C#

using System;
using System.Runtime.CompilerServices;
using Cpp2IlInjected;
using Photon.Pun;
using UnityEngine;
namespace RecRoom.Activities.BattleRoyale
{
// Token: 0x02002BE9 RID: 11241
[Token(Token = "0x2002BE9")]
public class BattleRoyaleWinnerDoor : MonoBehaviourPun
{
// Token: 0x06012F1D RID: 77597 RVA: 0x0045F1CC File Offset: 0x0045D3CC
[Token(Token = "0x6012F1D")]
[Address(RVA = "0x87ABD0", Offset = "0x8799D0", VA = "0x18087ABD0")]
public void MasterSpawnWinnerDoorAndProps(Player KMKLCCHIKEF)
{
if (KKPBCOOONNK.BNNCCCFFALC)
{
Transform transform = KMKLCCHIKEF.head.transform;
int num = 0;
Vector3 zero = Vector3.zero;
Quaternion identity = Quaternion.identity;
int length = BattleRoyaleWinnerDoor.GMGKOMLHLNC.Length;
if (num < length)
{
Vector3 vector;
float z = vector.z;
bool flag;
if (!flag)
{
num++;
}
}
float z2 = Vector3.back.z;
Vector3 vector2;
float z3 = vector2.z;
Vector3 vector3;
float z4 = vector3.z;
Vector3 vector4;
float z5 = vector4.z;
string name = base.name;
Transform transform2 = KMKLCCHIKEF.head.transform;
float z6 = Vector3.forward.z;
Vector3 vector5;
float z7 = vector5.z;
float z8 = Vector3.up.z;
Vector3 vector6;
float z9 = vector6.z;
Vector3 vector7;
float z10 = vector7.z;
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
BattleRoyaleWinnerSign battleRoyaleWinnerSign = this.winnerSign;
GameSpawnManager spawnManager = instance.spawnManager;
string name2 = battleRoyaleWinnerSign.name;
float z11 = global::UnityEngine.Random.insideUnitSphere.z;
Vector3 vector8;
float z12 = vector8.z;
Quaternion rotation = global::UnityEngine.Random.rotation;
num++;
GameSpawnManager spawnManager2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.spawnManager;
GameManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
Vector3 vector9;
float z13 = vector9.z;
Vector3 vector10;
float z14 = vector10.z;
Quaternion rotation2 = global::UnityEngine.Random.rotation;
Tool tool;
if (tool > 0)
{
GameSpawnManager spawnManager3 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.spawnManager;
OGNBCNBPFCC[] diccpjbogpk = BattleRoyaleWinnerDoor.DICCPJBOGPK;
float z15 = global::UnityEngine.Random.insideUnitSphere.z;
Vector3 vector11;
float z16 = vector11.z;
Quaternion rotation3 = global::UnityEngine.Random.rotation;
num++;
}
}
}
// Token: 0x06012F1E RID: 77598 RVA: 0x0045F34C File Offset: 0x0045D54C
[Token(Token = "0x6012F1E")]
[Address(RVA = "0x87A690", Offset = "0x879490", VA = "0x18087A690")]
private bool IBJGJMEBNDN(Vector3 KCHBEGGLAHI, Quaternion CNHJHOKADCM, Vector3 LMJJINLGFHC, out Vector3 JFHFMKPALPM, out Quaternion NBAJNAHGKHF)
{
Vector3 vector;
float z = vector.z;
Vector3 vector2;
float z2 = vector2.z;
Vector3 zero = Vector3.zero;
bool flag;
if (!flag)
{
Vector3 up = Vector3.up;
}
Vector3 up2 = Vector3.up;
Vector3 vector3;
float z3 = vector3.z;
Vector3 down = Vector3.down;
LEGLBECFPMF.LEACJFICINB leacjficinb;
if (leacjficinb == LEGLBECFPMF.LEACJFICINB.HIT)
{
Vector3 up3 = Vector3.up;
bool flag2;
if (flag2)
{
}
}
Vector3 forward = Vector3.forward;
Vector3 up4 = Vector3.up;
bool flag3;
return !flag3;
}
// Token: 0x06012F1F RID: 77599 RVA: 0x0045F3BC File Offset: 0x0045D5BC
[Token(Token = "0x6012F1F")]
[Address(RVA = "0x752FB0", Offset = "0x751DB0", VA = "0x180752FB0")]
public BattleRoyaleWinnerDoor()
{
}
// Token: 0x06012F20 RID: 77600 RVA: 0x0045F3D0 File Offset: 0x0045D5D0
// Note: this type is marked as 'beforefieldinit'.
[Token(Token = "0x6012F20")]
[Address(RVA = "0x87B5B0", Offset = "0x87A3B0", VA = "0x18087B5B0")]
static BattleRoyaleWinnerDoor()
{
OGNBCNBPFCC[] array = new OGNBCNBPFCC[13];
RuntimeHelpers.InitializeArray(array, fieldof(<PrivateImplementationDetails>.8D3A5A33C0F37A56F923398E407BA23B2DF1A356).FieldHandle);
BattleRoyaleWinnerDoor.DICCPJBOGPK = array;
Vector3[] array2 = new Vector3[32];
int num = 0;
array2[1] = num;
int num2 = 0;
array2[2] = num2;
int num3 = 0;
array2[4] = num3;
int num4 = 0;
array2[5] = num4;
int num5 = 0;
array2[7] = num5;
int num6 = 0;
array2[8] = num6;
int num7 = 0;
array2[10] = num7;
int num8 = 0;
array2[11] = num8;
int num9 = 0;
array2[13] = num9;
int num10 = 0;
array2[14] = num10;
int num11 = 0;
array2[16] = num11;
int num12 = 0;
array2[17] = num12;
int num13 = 0;
array2[19] = num13;
int num14 = 0;
array2[20] = num14;
int num15 = 0;
array2[22] = num15;
int num16 = 0;
array2[23] = num16;
int num17 = 0;
array2[25] = num17;
int num18 = 0;
array2[26] = num18;
int num19 = 0;
array2[28] = num19;
int num20 = 0;
array2[29] = num20;
int num21 = 0;
array2[31] = num21;
int num22 = 0;
array2[32] = num22;
int num23 = 0;
array2[34] = num23;
int num24 = 0;
array2[35] = num24;
int num25 = 0;
array2[37] = num25;
int num26 = 0;
array2[38] = num26;
int num27 = 0;
array2[40] = num27;
int num28 = 0;
array2[41] = num28;
int num29 = 0;
array2[43] = num29;
int num30 = 0;
array2[44] = num30;
int num31 = 0;
array2[46] = num31;
int num32 = 0;
array2[47] = num32;
BattleRoyaleWinnerDoor.GMGKOMLHLNC = array2;
}
// Token: 0x0400C4AD RID: 50349
[FieldOffset(Offset = "0x40")]
[Token(Token = "0x400C4AD")]
[SerializeField]
private BattleRoyaleWinnerSign winnerSign;
// Token: 0x0400C4AE RID: 50350
[Token(Token = "0x400C4AE")]
private static OGNBCNBPFCC[] DICCPJBOGPK;
// Token: 0x0400C4AF RID: 50351
[Token(Token = "0x400C4AF")]
private static Vector3[] GMGKOMLHLNC;
}
}