Files
2026-04-08 23:40:05 +02:00

719 lines
25 KiB
C#

using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using Cpp2IlInjected;
using Photon.Pun;
using Photon.Realtime;
using RecRoom.Core.Combat;
using RecRoom.Core.GameManagement;
using UnityEngine;
namespace RecRoom.Activities.BattleRoyale
{
// Token: 0x020026F1 RID: 9969
[Token(Token = "0x20026F1")]
[StructLayout(3)]
public class BattleRoyaleVisitorMap : MonoBehaviour
{
// Token: 0x06011537 RID: 70967 RVA: 0x0041B84C File Offset: 0x00419A4C
[Token(Token = "0x6011537")]
[Address(RVA = "0x10F3220", Offset = "0x10F1C20", VA = "0x1810F3220")]
private void Awake()
{
ActionEvent<Photon.Realtime.Player> onPhotonPlayerConnected = PhotonNetwork.OnPhotonPlayerConnected;
Action<Photon.Realtime.Player> action = new Action(this.OnPhotonPlayerConnected);
PhotonNetwork.OnPhotonPlayerConnected = onPhotonPlayerConnected + action;
ActionEvent<Photon.Realtime.Player> onPhotonPlayerDisconnected = PhotonNetwork.OnPhotonPlayerDisconnected;
Action<Photon.Realtime.Player> action2 = new Action(this.OnPhotonPlayerDisconnected);
PhotonNetwork.OnPhotonPlayerDisconnected = onPhotonPlayerDisconnected + action2;
ActionEvent staticPostConfigurationAppliedEvent = GameConfigurationTool.StaticPostConfigurationAppliedEvent;
Action action3 = new Action(this.LKDMBKNGKFE);
GameConfigurationTool.StaticPostConfigurationAppliedEvent = staticPostConfigurationAppliedEvent + action3;
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
int num = 0;
if (instance != num)
{
GameManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
Action action4 = new Action(this.NJGKEJCHADK);
instance2.NJGCGNDOMBJ += action4;
GameManager instance3 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
Action action5 = new Action(this.OODEMNCOLED);
instance3.NHDKANAHJFM += action5;
GameCombatManager combatManager = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.combatManager;
int num2 = 0;
if (combatManager != num2)
{
GameCombatManager combatManager2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.combatManager;
GameCombatManager.ODCIMPCGPKE odcimpcgpke = new GameCombatManager.ODCIMPCGPKE(this.KDEGAPNPCOF);
combatManager2.DNLKLILOAIM += odcimpcgpke;
GameCombatManager combatManager3 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.combatManager;
Action<Photon.Realtime.Player> action6 = new Action(this.OBAFPHHODAF);
combatManager3.DownButNotOutKilledPlayerEvent += action6;
GameCombatManager combatManager4 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.combatManager;
GameCombatManager.PKJNMGICNJK pkjnmgicnjk = new GameCombatManager.PKJNMGICNJK(this.NHPLHJKNMFA);
combatManager4.JPJCJEBNPME += pkjnmgicnjk;
}
}
if (this.mode == BattleRoyaleVisitorMap.KIGNMBLALJP.NONE)
{
Collider collider = this.mapCollider;
int num3 = 0;
collider.enabled = num3 != 0;
}
}
// Token: 0x06011538 RID: 70968 RVA: 0x0041B9B8 File Offset: 0x00419BB8
[Token(Token = "0x6011538")]
[Address(RVA = "0x10F4E60", Offset = "0x10F3860", VA = "0x1810F4E60")]
private void OnDestroy()
{
ActionEvent<Photon.Realtime.Player> onPhotonPlayerConnected = PhotonNetwork.OnPhotonPlayerConnected;
Action<Photon.Realtime.Player> action = new Action(this.OnPhotonPlayerConnected);
PhotonNetwork.OnPhotonPlayerConnected = onPhotonPlayerConnected - action;
ActionEvent<Photon.Realtime.Player> onPhotonPlayerDisconnected = PhotonNetwork.OnPhotonPlayerDisconnected;
Action<Photon.Realtime.Player> action2 = new Action(this.OnPhotonPlayerDisconnected);
PhotonNetwork.OnPhotonPlayerDisconnected = onPhotonPlayerDisconnected - action2;
ActionEvent staticPostConfigurationAppliedEvent = GameConfigurationTool.StaticPostConfigurationAppliedEvent;
Action action3 = new Action(this.LKDMBKNGKFE);
GameConfigurationTool.StaticPostConfigurationAppliedEvent = staticPostConfigurationAppliedEvent - action3;
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
int num = 0;
if (instance != num)
{
GameManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
Action action4 = new Action(this.NJGKEJCHADK);
instance2.NJGCGNDOMBJ -= action4;
GameManager instance3 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
Action action5 = new Action(this.OODEMNCOLED);
instance3.NHDKANAHJFM -= action5;
GameCombatManager combatManager = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.combatManager;
int num2 = 0;
if (combatManager != num2)
{
GameCombatManager combatManager2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.combatManager;
GameCombatManager.ODCIMPCGPKE odcimpcgpke = new GameCombatManager.ODCIMPCGPKE(this.KDEGAPNPCOF);
combatManager2.DNLKLILOAIM -= odcimpcgpke;
GameCombatManager combatManager3 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.combatManager;
Action<Photon.Realtime.Player> action6 = new Action(this.OBAFPHHODAF);
combatManager3.DownButNotOutKilledPlayerEvent -= action6;
GameCombatManager combatManager4 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.combatManager;
GameCombatManager.PKJNMGICNJK pkjnmgicnjk = new GameCombatManager.PKJNMGICNJK(this.NHPLHJKNMFA);
combatManager4.JPJCJEBNPME -= pkjnmgicnjk;
}
}
}
// Token: 0x06011539 RID: 70969 RVA: 0x0041BB08 File Offset: 0x00419D08
[Token(Token = "0x6011539")]
[Address(RVA = "0x10F4610", Offset = "0x10F3010", VA = "0x1810F4610")]
private void LKDMBKNGKFE()
{
if (this.mode != BattleRoyaleVisitorMap.KIGNMBLALJP.NONE)
{
int activePlayersMaxCount = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.teamManager.GetActivePlayersMaxCount();
this.FKBKEDOIOEF(activePlayersMaxCount);
return;
}
}
// Token: 0x0601153A RID: 70970 RVA: 0x0041BB3C File Offset: 0x00419D3C
[Token(Token = "0x601153A")]
[Address(RVA = "0x10F3ED0", Offset = "0x10F28D0", VA = "0x1810F3ED0")]
private void FKBKEDOIOEF(int FFAGIDMFPIF)
{
BattleRoyaleVisitorMapToken[] pnpofoldmjo = this.PNPOFOLDMJO;
if (pnpofoldmjo != 0)
{
if (pnpofoldmjo.Length == FFAGIDMFPIF)
{
goto IL_EF;
}
if (pnpofoldmjo != 0)
{
goto IL_22;
}
}
BattleRoyaleVisitorMapToken[] array = new BattleRoyaleVisitorMapToken[0];
IL_22:
int num = Mathf.Max(pnpofoldmjo.Length, FFAGIDMFPIF);
BattleRoyaleVisitorMapToken[] array2 = new BattleRoyaleVisitorMapToken[FFAGIDMFPIF];
int num2 = 0;
this.PNPOFOLDMJO = array2;
if (num > 0)
{
if (pnpofoldmjo.Length > num2)
{
SafeDestroy.GameObject(pnpofoldmjo[num2].gameObject);
}
BattleRoyaleVisitorMapToken[] pnpofoldmjo2 = this.PNPOFOLDMJO;
BattleRoyaleVisitorMapToken battleRoyaleVisitorMapToken = pnpofoldmjo[num2];
throw new ArrayTypeMismatchException();
}
IL_EF:
GameObject lmnjpjmikgi = this.LMNJPJMIKGI;
int num3 = 0;
if (lmnjpjmikgi == num3)
{
GameObject gameObject = this.beeRingVisualizerPrefab;
Transform transform = this.lowerLeftMapTransform;
GameObject gameObject2 = global::UnityEngine.Object.Instantiate<GameObject>(gameObject, transform);
this.LMNJPJMIKGI = gameObject2;
}
GameObject lmnjpjmikgi2 = this.LMNJPJMIKGI;
int num4 = 0;
lmnjpjmikgi2.SetActive(num4 != 0);
}
// Token: 0x0601153B RID: 70971 RVA: 0x0041BC8C File Offset: 0x00419E8C
[Token(Token = "0x601153B")]
[Address(RVA = "0x10F4200", Offset = "0x10F2C00", VA = "0x1810F4200")]
private void IMKIDFPFGFA()
{
BattleRoyaleVisitorMapToken[] pnpofoldmjo = this.PNPOFOLDMJO;
int num = 0;
int length = pnpofoldmjo.Length;
if (num < length)
{
GameObject gameObject = pnpofoldmjo[num].gameObject;
int num2 = 0;
gameObject.SetActive(num2 != 0);
num++;
}
GameObject lmnjpjmikgi = this.LMNJPJMIKGI;
int num3 = 0;
lmnjpjmikgi.SetActive(num3 != 0);
}
// Token: 0x0601153C RID: 70972 RVA: 0x0041BCE4 File Offset: 0x00419EE4
[Token(Token = "0x601153C")]
[Address(RVA = "0x10F4540", Offset = "0x10F2F40", VA = "0x1810F4540")]
private void KDEGAPNPCOF(Photon.Realtime.Player LJGOHLFADDN, Photon.Realtime.Player HMEIODIHDCL, Weapon GDIGKHINJCG, global::Player.GAHEJKDCLLE OAEAKADENEB, Vector3 BEOPNIAIJOM, Vector3 OKDCENHKDIP, int JJHKPNCCEFB, GameCombatManager.IGHLGLDPACI LCJBLMKOCLB)
{
if (this.mode == BattleRoyaleVisitorMap.KIGNMBLALJP.BEES_AND_PLAYER_DEATHS)
{
BattleRoyaleManager instance = BattleRoyaleManager.ONCPNMDGGKG;
}
}
// Token: 0x0601153D RID: 70973 RVA: 0x0041BD08 File Offset: 0x00419F08
[Token(Token = "0x601153D")]
[Address(RVA = "0x10F4920", Offset = "0x10F3320", VA = "0x1810F4920")]
private void OBAFPHHODAF(Photon.Realtime.Player IEKDDPPNFPF)
{
if (this.mode == BattleRoyaleVisitorMap.KIGNMBLALJP.BEES_AND_PLAYER_DEATHS)
{
Transform transform = IEKDDPPNFPF.GPOMCJICJIH().head.transform;
Vector3 vector;
float z = vector.z;
BattleRoyaleManager instance = BattleRoyaleManager.ONCPNMDGGKG;
}
}
// Token: 0x0601153E RID: 70974 RVA: 0x0041BD48 File Offset: 0x00419F48
[Token(Token = "0x601153E")]
[Address(RVA = "0x10F4850", Offset = "0x10F3250", VA = "0x1810F4850")]
private void NHPLHJKNMFA(Photon.Realtime.Player HMEIODIHDCL, global::Player.GAHEJKDCLLE OAEAKADENEB, Vector3 BEOPNIAIJOM, GameCombatManager.IGHLGLDPACI LCJBLMKOCLB)
{
if (this.mode == BattleRoyaleVisitorMap.KIGNMBLALJP.BEES_AND_PLAYER_DEATHS)
{
BattleRoyaleManager instance = BattleRoyaleManager.ONCPNMDGGKG;
float z = BEOPNIAIJOM.z;
}
}
// Token: 0x0601153F RID: 70975 RVA: 0x0041BD74 File Offset: 0x00419F74
[Token(Token = "0x601153F")]
[Address(RVA = "0x10F45D0", Offset = "0x10F2FD0", VA = "0x1810F45D0")]
private int LEEHMCMGODA(Photon.Realtime.Player IEKDDPPNFPF)
{
BattleRoyaleManager instance = BattleRoyaleManager.ONCPNMDGGKG;
throw new NullReferenceException();
}
// Token: 0x06011540 RID: 70976 RVA: 0x0041BD90 File Offset: 0x00419F90
[Token(Token = "0x6011540")]
[Address(RVA = "0x10F3CB0", Offset = "0x10F26B0", VA = "0x1810F3CB0")]
private void ECEGFLAFAKE(Photon.Realtime.Player IEKDDPPNFPF, Vector3 FMAIPBJNAEP, int POICBKEFLBK)
{
BattleRoyaleVisitorMapToken[] pnpofoldmjo = this.PNPOFOLDMJO;
int num = 0;
int num2 = 0;
int length = pnpofoldmjo.Length;
if (num2 < length)
{
BattleRoyaleVisitorMapToken battleRoyaleVisitorMapToken = pnpofoldmjo[num];
Photon.Realtime.Player <LCBGICCHKJE>k__BackingField = battleRoyaleVisitorMapToken.<LCBGICCHKJE>k__BackingField;
bool flag = <LCBGICCHKJE>k__BackingField == 0;
if (<LCBGICCHKJE>k__BackingField != 0 && IEKDDPPNFPF != 0)
{
int actorNumber = <LCBGICCHKJE>k__BackingField.actorNumber;
}
if (!flag)
{
num++;
}
PlayerRankPositionSettings playerRankPositionSettings = this.settings;
battleRoyaleVisitorMapToken.SetRankedPlayerInfo(IEKDDPPNFPF, playerRankPositionSettings, POICBKEFLBK);
Transform transform = battleRoyaleVisitorMapToken.transform;
float z = FMAIPBJNAEP.z;
Vector3 vector;
float z2 = vector.z;
Transform transform2 = IEKDDPPNFPF.GPOMCJICJIH().head.transform;
Vector3 vector2;
float z3 = vector2.z;
Transform parent = battleRoyaleVisitorMapToken.playerMarkerRoot.transform.parent;
battleRoyaleVisitorMapToken.gameObject.SetActive(true);
}
}
// Token: 0x06011541 RID: 70977 RVA: 0x0041BE5C File Offset: 0x0041A05C
[Token(Token = "0x6011541")]
[Address(RVA = "0x10F3890", Offset = "0x10F2290", VA = "0x1810F3890")]
private void CBIFAOPPEDL()
{
BattleRoyaleManager instance = BattleRoyaleManager.ONCPNMDGGKG;
bool flag;
if (flag)
{
GameTeamManager teamManager = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.teamManager;
Photon.Realtime.Player[] array2;
string[] array = new string[array2.Length];
int num = 0;
int num2 = 0;
if (num < array.Length)
{
string nickName = array2[num2].nickName;
if (nickName != 0)
{
}
num2++;
array[0] = nickName;
}
int num3 = 0;
int num4 = 0;
int length = array2.Length;
if (num4 < length)
{
Photon.Realtime.Player player = array2[num3];
BattleRoyaleVisitorMapToken battleRoyaleVisitorMapToken;
if (!BattleRoyaleManager.ONCPNMDGGKG.IsPlayerEliminated(player))
{
Transform transform = player.GPOMCJICJIH().head.transform;
BattleRoyaleVisitorMapToken[] pnpofoldmjo = this.PNPOFOLDMJO;
int num5 = 0;
int length2 = pnpofoldmjo.Length;
if (num5 < length2)
{
battleRoyaleVisitorMapToken = pnpofoldmjo[num5];
Photon.Realtime.Player <LCBGICCHKJE>k__BackingField = battleRoyaleVisitorMapToken.<LCBGICCHKJE>k__BackingField;
bool flag2 = <LCBGICCHKJE>k__BackingField == 0;
if (<LCBGICCHKJE>k__BackingField != 0 && player != 0)
{
int actorNumber = <LCBGICCHKJE>k__BackingField.actorNumber;
}
if (flag2)
{
goto IL_104;
}
num5++;
}
}
num3++;
IL_104:
string text = string.Join(", ", array);
PlayerRankPositionSettings playerRankPositionSettings = this.settings;
battleRoyaleVisitorMapToken.SetWinningTeamInfo(player, text, playerRankPositionSettings);
Transform transform2 = battleRoyaleVisitorMapToken.transform;
Vector3 vector;
float z = vector.z;
Vector3 vector2;
float z2 = vector2.z;
Vector3 vector3;
float z3 = vector3.z;
Transform parent = battleRoyaleVisitorMapToken.playerMarkerRoot.transform.parent;
battleRoyaleVisitorMapToken.gameObject.SetActive(true);
}
}
}
// Token: 0x06011542 RID: 70978 RVA: 0x0041BFDC File Offset: 0x0041A1DC
[Token(Token = "0x6011542")]
[Address(RVA = "0x10F3650", Offset = "0x10F2050", VA = "0x1810F3650")]
private void BPNMEEDAACM()
{
int num;
do
{
num = 0;
IEnumerable<Photon.Realtime.Player> activePlayers = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.teamManager.GetActivePlayers();
if (activePlayers != 0)
{
if (num >= activePlayers)
{
goto IL_26;
}
num += num;
if (num != activePlayers)
{
num++;
goto IL_26;
}
goto IL_38;
IL_4A:
num++;
goto IL_4E;
IL_38:
int num2;
num2 += num2;
num += 19;
BattleRoyaleVisitorMapToken[] pnpofoldmjo;
BattleRoyaleVisitorMapToken battleRoyaleVisitorMapToken = pnpofoldmjo[num];
goto IL_4A;
IL_26:
pnpofoldmjo = this.PNPOFOLDMJO;
num2 = pnpofoldmjo.Length;
if (num < num2)
{
goto IL_38;
}
goto IL_4A;
}
IL_4E:
if (activePlayers != 0)
{
}
if (num != -1)
{
}
}
while (num != 0);
}
// Token: 0x06011543 RID: 70979 RVA: 0x0041C064 File Offset: 0x0041A264
[Token(Token = "0x6011543")]
[Address(RVA = "0x10F5280", Offset = "0x10F3C80", VA = "0x1810F5280")]
private void OnPhotonPlayerConnected(Photon.Realtime.Player BJGOFOEKLMC)
{
if (this.mode == BattleRoyaleVisitorMap.KIGNMBLALJP.BEES_AND_LIVE_PLAYERS)
{
BattleRoyaleVisitorMapToken[] pnpofoldmjo = this.PNPOFOLDMJO;
int num = 0;
int length = pnpofoldmjo.Length;
if (num < length)
{
BattleRoyaleVisitorMapToken battleRoyaleVisitorMapToken = pnpofoldmjo[num];
if (battleRoyaleVisitorMapToken.<LCBGICCHKJE>k__BackingField != (ulong)0L)
{
num++;
}
battleRoyaleVisitorMapToken.SetPlayerInfo(BJGOFOEKLMC);
return;
}
}
}
// Token: 0x06011544 RID: 70980 RVA: 0x0041C0B4 File Offset: 0x0041A2B4
[Token(Token = "0x6011544")]
[Address(RVA = "0x10F52F0", Offset = "0x10F3CF0", VA = "0x1810F52F0")]
private void OnPhotonPlayerDisconnected(Photon.Realtime.Player BJGOFOEKLMC)
{
if (this.mode == BattleRoyaleVisitorMap.KIGNMBLALJP.BEES_AND_LIVE_PLAYERS)
{
BattleRoyaleVisitorMapToken[] pnpofoldmjo = this.PNPOFOLDMJO;
int num = 0;
int num2 = 0;
int length = pnpofoldmjo.Length;
if (num < length)
{
BattleRoyaleVisitorMapToken battleRoyaleVisitorMapToken = pnpofoldmjo[num2];
if (battleRoyaleVisitorMapToken.<LCBGICCHKJE>k__BackingField != BJGOFOEKLMC)
{
num2++;
}
battleRoyaleVisitorMapToken.<LCBGICCHKJE>k__BackingField = (ulong)0L;
}
}
}
// Token: 0x06011545 RID: 70981 RVA: 0x0041C10C File Offset: 0x0041A30C
[Token(Token = "0x6011545")]
[Address(RVA = "0x10F48E0", Offset = "0x10F32E0", VA = "0x1810F48E0")]
private void NJGKEJCHADK()
{
if (this.mode == BattleRoyaleVisitorMap.KIGNMBLALJP.BEES_AND_LIVE_PLAYERS)
{
this.BPNMEEDAACM();
this.HGIPFGAOPHI = (int)((ulong)0L);
this.GMGOCPPAGCI = true;
return;
}
this.HGIPFGAOPHI = (int)((ulong)0L);
this.GMGOCPPAGCI = true;
}
// Token: 0x06011546 RID: 70982 RVA: 0x0041C14C File Offset: 0x0041A34C
[Token(Token = "0x6011546")]
[Address(RVA = "0x10F4DB0", Offset = "0x10F37B0", VA = "0x1810F4DB0")]
private void OODEMNCOLED()
{
BattleRoyaleVisitorMap.KIGNMBLALJP kignmblaljp = this.mode;
if (kignmblaljp != BattleRoyaleVisitorMap.KIGNMBLALJP.BEES_AND_LIVE_PLAYERS)
{
if (kignmblaljp != BattleRoyaleVisitorMap.KIGNMBLALJP.BEES_AND_PLAYER_DEATHS)
{
goto IL_5B;
}
this.CBIFAOPPEDL();
}
BattleRoyaleVisitorMapToken[] pnpofoldmjo = this.PNPOFOLDMJO;
int num = 0;
int length = pnpofoldmjo.Length;
if (num < length)
{
GameObject gameObject = pnpofoldmjo[num].gameObject;
int num2 = 0;
gameObject.SetActive(num2 != 0);
num++;
}
GameObject lmnjpjmikgi = this.LMNJPJMIKGI;
int num3 = 0;
lmnjpjmikgi.SetActive(num3 != 0);
IL_5B:
this.GMGOCPPAGCI = false;
}
// Token: 0x06011547 RID: 70983 RVA: 0x0041C1C4 File Offset: 0x0041A3C4
[Token(Token = "0x6011547")]
[Address(RVA = "0x10F4290", Offset = "0x10F2C90", VA = "0x1810F4290")]
private Vector3 KCGDOCPELJG(Vector3 KPLDEODOJID)
{
BattleRoyaleMapManager <OCDLBPHJMOP>k__BackingField = BattleRoyaleMapManager.<OCDLBPHJMOP>k__BackingField;
Vector3 vector;
float z = vector.z;
Vector3 down = Vector3.down;
bool flag;
if (flag)
{
}
throw new NullReferenceException();
}
// Token: 0x06011548 RID: 70984 RVA: 0x0041C1FC File Offset: 0x0041A3FC
[Token(Token = "0x6011548")]
[Address(RVA = "0x10F46A0", Offset = "0x10F30A0", VA = "0x1810F46A0")]
private float MABFHALDHOH(Vector3 DDHPAFKBMON)
{
Transform transform = this.lowerLeftMapTransform;
Vector3 down = Vector3.down;
Collider collider = this.mapCollider;
bool flag;
if (!flag)
{
}
Transform transform2 = this.lowerLeftMapTransform;
throw new NullReferenceException();
}
// Token: 0x06011549 RID: 70985 RVA: 0x0041C230 File Offset: 0x0041A430
[Token(Token = "0x6011549")]
[Address(RVA = "0x10F56E0", Offset = "0x10F40E0", VA = "0x1810F56E0")]
private void Update()
{
if (this.mode != BattleRoyaleVisitorMap.KIGNMBLALJP.NONE)
{
int num = this.updateFrequency;
if (this.IsStaggeredUpdateFrame(num))
{
GameObject lmnjpjmikgi = this.LMNJPJMIKGI;
int num2 = 0;
if (lmnjpjmikgi != num2)
{
this.OCEJNJAEOOE();
if (this.mode == BattleRoyaleVisitorMap.KIGNMBLALJP.BEES_AND_LIVE_PLAYERS && this.GMGOCPPAGCI)
{
this.PMIIDAPMGNG();
return;
}
}
}
}
}
// Token: 0x0601154A RID: 70986 RVA: 0x0041C28C File Offset: 0x0041A48C
[Token(Token = "0x601154A")]
[Address(RVA = "0x10F4A00", Offset = "0x10F3400", VA = "0x1810F4A00")]
private void OCEJNJAEOOE()
{
BattleRoyaleGameplayZone <OCDLBPHJMOP>k__BackingField = BattleRoyaleGameplayZone.<OCDLBPHJMOP>k__BackingField;
int num = 0;
if (!(<OCDLBPHJMOP>k__BackingField != num))
{
}
bool ringsEnabled = BattleRoyaleGameplayZone.<OCDLBPHJMOP>k__BackingField.BKDOBCFKCJC;
this.LMNJPJMIKGI.gameObject.SetActive(ringsEnabled);
if (ringsEnabled)
{
BattleRoyaleMapManager <OCDLBPHJMOP>k__BackingField2 = BattleRoyaleMapManager.<OCDLBPHJMOP>k__BackingField;
float localRingRadius = BattleRoyaleGameplayZone.<OCDLBPHJMOP>k__BackingField.NLHFHBEGFNP;
float mapSpaceDistance = <OCDLBPHJMOP>k__BackingField2.GetMapSpaceDistance(localRingRadius);
Transform transform = this.LMNJPJMIKGI.transform;
BattleRoyaleGameplayZone <OCDLBPHJMOP>k__BackingField3 = BattleRoyaleGameplayZone.<OCDLBPHJMOP>k__BackingField;
Vector3 vector;
float z = vector.z;
Vector3 vector2;
float z2 = vector2.z;
Transform transform2 = this.LMNJPJMIKGI.transform;
}
}
// Token: 0x0601154B RID: 70987 RVA: 0x0041C328 File Offset: 0x0041A528
[Token(Token = "0x601154B")]
[Address(RVA = "0x10F5380", Offset = "0x10F3D80", VA = "0x1810F5380")]
private void PMIIDAPMGNG()
{
int num = 0;
BattleRoyaleVisitorMapToken[] pnpofoldmjo = this.PNPOFOLDMJO;
if (num < pnpofoldmjo.Length)
{
int num2 = this.HGIPFGAOPHI;
num2++;
num2 += num;
BattleRoyaleVisitorMapToken battleRoyaleVisitorMapToken;
Photon.Realtime.Player <LCBGICCHKJE>k__BackingField = battleRoyaleVisitorMapToken.<LCBGICCHKJE>k__BackingField;
if (<LCBGICCHKJE>k__BackingField != 0)
{
BattleRoyaleManager instance = BattleRoyaleManager.ONCPNMDGGKG;
bool flag;
if (!flag)
{
goto IL_69;
}
}
BattleRoyaleVisitorMapToken[] pnpofoldmjo2 = this.PNPOFOLDMJO;
BattleRoyaleVisitorMapToken battleRoyaleVisitorMapToken2;
GameObject gameObject = battleRoyaleVisitorMapToken2.gameObject;
int num3 = 0;
gameObject.SetActive(num3 != 0);
BattleRoyaleVisitorMapToken[] pnpofoldmjo3 = this.PNPOFOLDMJO;
num++;
IL_69:
Transform transform = <LCBGICCHKJE>k__BackingField.GPOMCJICJIH().head.transform;
Vector3 vector;
float z = vector.z;
Vector3 vector2;
float z2 = vector2.z;
BattleRoyaleVisitorMapToken[] pnpofoldmjo4 = this.PNPOFOLDMJO;
Transform transform2 = <LCBGICCHKJE>k__BackingField.GPOMCJICJIH().head.transform;
Vector3 vector3;
float z3 = vector3.z;
BattleRoyaleVisitorMapToken battleRoyaleVisitorMapToken3;
Transform parent = battleRoyaleVisitorMapToken3.playerMarkerRoot.transform.parent;
BattleRoyaleVisitorMapToken[] pnpofoldmjo5 = this.PNPOFOLDMJO;
BattleRoyaleVisitorMapToken battleRoyaleVisitorMapToken4;
Transform transform3 = battleRoyaleVisitorMapToken4.transform;
BattleRoyaleVisitorMapToken[] pnpofoldmjo6 = this.PNPOFOLDMJO;
BattleRoyaleVisitorMapToken battleRoyaleVisitorMapToken5;
ulong num4;
battleRoyaleVisitorMapToken5.gameObject.SetActive(num4 != 0UL);
}
}
// Token: 0x0601154C RID: 70988 RVA: 0x0041C428 File Offset: 0x0041A628
[Token(Token = "0x601154C")]
[Address(RVA = "0x10F5790", Offset = "0x10F4190", VA = "0x1810F5790")]
public BattleRoyaleVisitorMap()
{
}
// Token: 0x0400B921 RID: 47393
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
[Token(Token = "0x400B921")]
[SerializeField]
[Tooltip("How frequently (in frames) to check whether to update token position (one token per update). Higher is more performant")]
private int updateFrequency = (int)((ulong)10L);
// Token: 0x0400B922 RID: 47394
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
[Token(Token = "0x400B922")]
[SerializeField]
private GameObject mapTokenPrefab;
// Token: 0x0400B923 RID: 47395
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
[Token(Token = "0x400B923")]
[SerializeField]
private GameObject beeRingVisualizerPrefab;
// Token: 0x0400B924 RID: 47396
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
[Token(Token = "0x400B924")]
[SerializeField]
[Tooltip("If/when to track players and bee movement on this map.")]
private BattleRoyaleVisitorMap.KIGNMBLALJP mode;
// Token: 0x0400B925 RID: 47397
[global::Cpp2IlInjected.FieldOffset(Offset = "0x34")]
[Token(Token = "0x400B925")]
[SerializeField]
private PlayerRankPositionSettings settings;
// Token: 0x0400B926 RID: 47398
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
[Token(Token = "0x400B926")]
private BattleRoyaleVisitorMapToken[] PNPOFOLDMJO;
// Token: 0x0400B927 RID: 47399
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
[Token(Token = "0x400B927")]
private GameObject LMNJPJMIKGI;
// Token: 0x0400B928 RID: 47400
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
[Token(Token = "0x400B928")]
[SerializeField]
private Transform lowerLeftMapTransform;
// Token: 0x0400B929 RID: 47401
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
[Token(Token = "0x400B929")]
[SerializeField]
private Transform upperRightMapTransform;
// Token: 0x0400B92A RID: 47402
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
[Token(Token = "0x400B92A")]
[SerializeField]
private Collider mapCollider;
// Token: 0x0400B92B RID: 47403
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
[Token(Token = "0x400B92B")]
private float FEBDCEILMGO = 1.2f;
// Token: 0x0400B92C RID: 47404
[global::Cpp2IlInjected.FieldOffset(Offset = "0x7C")]
[Token(Token = "0x400B92C")]
private int HGIPFGAOPHI;
// Token: 0x0400B92D RID: 47405
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
[Token(Token = "0x400B92D")]
private bool GMGOCPPAGCI;
// Token: 0x020026F2 RID: 9970
[Token(Token = "0x20026F2")]
private enum KIGNMBLALJP
{
// Token: 0x0400B92F RID: 47407
[Token(Token = "0x400B92F")]
NONE,
// Token: 0x0400B930 RID: 47408
[Token(Token = "0x400B930")]
BEES_AND_LIVE_PLAYERS,
// Token: 0x0400B931 RID: 47409
[Token(Token = "0x400B931")]
BEES_AND_PLAYER_DEATHS
}
}
}