scripts
This commit is contained in:
@@ -0,0 +1,715 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cpp2IlInjected;
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.Collections;
|
||||
using Photon.Pun;
|
||||
using Photon.Realtime;
|
||||
using RecRoom.Core.AI;
|
||||
using RecRoom.Core.Combat;
|
||||
using RecRoom.Core.GameManagement;
|
||||
using RecRoom.Networking.SynchronizedFields;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Activities.BattleRoyale
|
||||
{
|
||||
// Token: 0x020026DA RID: 9946
|
||||
[Token(Token = "0x20026DA")]
|
||||
[StructLayout(3)]
|
||||
public class BattleRoyaleGearManager : MonoBehaviourPun
|
||||
{
|
||||
// Token: 0x17002EE0 RID: 12000
|
||||
// (get) Token: 0x0601145F RID: 70751 RVA: 0x00416044 File Offset: 0x00414244
|
||||
// (set) Token: 0x06011460 RID: 70752 RVA: 0x00416058 File Offset: 0x00414258
|
||||
[Token(Token = "0x17002EE0")]
|
||||
public static BattleRoyaleGearManager ONCPNMDGGKG
|
||||
{
|
||||
[Token(Token = "0x601145F")]
|
||||
[Address(RVA = "0x1312AC0", Offset = "0x13114C0", VA = "0x181312AC0")]
|
||||
get;
|
||||
[Token(Token = "0x6011460")]
|
||||
[Address(RVA = "0x13118B0", Offset = "0x13102B0", VA = "0x1813118B0")]
|
||||
private set;
|
||||
}
|
||||
|
||||
// Token: 0x06011461 RID: 70753 RVA: 0x0041606C File Offset: 0x0041426C
|
||||
[Token(Token = "0x6011461")]
|
||||
[Address(RVA = "0x130FD00", Offset = "0x130E700", VA = "0x18130FD00", Slot = "13")]
|
||||
protected override void Awake()
|
||||
{
|
||||
Delegate delegate2;
|
||||
for (;;)
|
||||
{
|
||||
base..ctor();
|
||||
BattleRoyaleGearManager battleRoyaleGearManager = BattleRoyaleGearManager.<OCDLBPHJMOP>k__BackingField;
|
||||
int num = 0;
|
||||
if (battleRoyaleGearManager == num)
|
||||
{
|
||||
BattleRoyaleGearManager.<OCDLBPHJMOP>k__BackingField = this;
|
||||
}
|
||||
TextAsset textAsset = this.arsenalBlob;
|
||||
int num2 = 0;
|
||||
if (textAsset != num2 && this.arsenalBlob.bytes != 0)
|
||||
{
|
||||
TextAsset textAsset2 = this.arsenalBlob;
|
||||
MessageParser<FOKDOODJKOP> mhllbdfjbod = FOKDOODJKOP.MHLLBDFJBOD;
|
||||
byte[] bytes = textAsset2.bytes;
|
||||
FOKDOODJKOP fokdoodjkop = mhllbdfjbod.ParseFrom(bytes);
|
||||
this.HGJCHIAMDIE = fokdoodjkop;
|
||||
this.IFBDHKOKDMC();
|
||||
}
|
||||
BattleRoyaleAmmo.HAKPMCNMENF collectEvent = BattleRoyaleAmmo.CollectEvent;
|
||||
BattleRoyaleAmmo.HAKPMCNMENF hakpmcnmenf;
|
||||
hakpmcnmenf.method_ptr = ldftn(LNMNOMAHGIP);
|
||||
hakpmcnmenf.method = ldftn(LNMNOMAHGIP);
|
||||
hakpmcnmenf.m_target = this;
|
||||
Delegate @delegate = Delegate.Combine(collectEvent, hakpmcnmenf);
|
||||
if (@delegate == 0 || @delegate != 0)
|
||||
{
|
||||
BattleRoyaleAmmo.CollectEvent = @delegate;
|
||||
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int num3 = 0;
|
||||
if (instance != num3)
|
||||
{
|
||||
GameManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
Action action = new Action(this.NJGKEJCHADK);
|
||||
instance2.NJGCGNDOMBJ += action;
|
||||
GameSpawnManager spawnManager = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.spawnManager;
|
||||
GameSpawnManager.KIFNGIBBMDP kifngibbmdp = new GameSpawnManager.KIFNGIBBMDP(this.KCNCMMFELDN);
|
||||
spawnManager.EAIPEBLDFBK += kifngibbmdp;
|
||||
}
|
||||
ActionEvent localPlayerSpawnEvent = global::Player.LocalPlayerSpawnEvent;
|
||||
Action action2 = new Action(this.NAHAFOLAIEC);
|
||||
global::Player.LocalPlayerSpawnEvent = localPlayerSpawnEvent + action2;
|
||||
ActionEvent localPlayerSpawnEvent2 = global::Player.LocalPlayerSpawnEvent;
|
||||
Action action3 = new Action(this.NAHAFOLAIEC);
|
||||
global::Player.LocalPlayerSpawnEvent = localPlayerSpawnEvent2 - action3;
|
||||
BattleRoyaleGearBag battleRoyaleGearBag = BattleRoyaleGearBag.InstantiateForLocalPlayer(this.bagPrefab);
|
||||
BattleRoyalePlayerMap battleRoyalePlayerMap = this.mapPrefab;
|
||||
this.BEANHKLNMII = battleRoyaleGearBag;
|
||||
BattleRoyalePlayerMap battleRoyalePlayerMap2 = BattleRoyalePlayerMap.InstantiateForLocalPlayer(battleRoyalePlayerMap, battleRoyaleGearBag);
|
||||
EquipmentSpawnerChest.PHJIFMHOLFC chestOpenEvent = EquipmentSpawnerChest.ChestOpenEvent;
|
||||
EquipmentSpawnerChest.PHJIFMHOLFC phjifmholfc = new EquipmentSpawnerChest.PHJIFMHOLFC(this.IOADHCKAOEB);
|
||||
delegate2 = Delegate.Combine(chestOpenEvent, phjifmholfc);
|
||||
if (delegate2 == 0 || delegate2 != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
EquipmentSpawnerChest.ChestOpenEvent = delegate2;
|
||||
}
|
||||
|
||||
// Token: 0x06011462 RID: 70754 RVA: 0x0041622C File Offset: 0x0041442C
|
||||
[Token(Token = "0x6011462")]
|
||||
[Address(RVA = "0x13128D0", Offset = "0x13112D0", VA = "0x1813128D0")]
|
||||
private void Start()
|
||||
{
|
||||
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int num = 0;
|
||||
if (instance != num)
|
||||
{
|
||||
GameCombatManager combatManager = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.combatManager;
|
||||
GameCombatManager.ODCIMPCGPKE odcimpcgpke = new GameCombatManager.ODCIMPCGPKE(this.NFKFMFMBMIG);
|
||||
combatManager.DNLKLILOAIM += odcimpcgpke;
|
||||
GameCombatManager combatManager2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.combatManager;
|
||||
GameCombatManager.HOKOCNGFDAO hokocngfdao = new GameCombatManager.HOKOCNGFDAO(this.FKKEPHNPHBI);
|
||||
combatManager2.FBKJFMPLABN += hokocngfdao;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011463 RID: 70755 RVA: 0x00416294 File Offset: 0x00414494
|
||||
[Token(Token = "0x6011463")]
|
||||
[Address(RVA = "0x1312270", Offset = "0x1310C70", VA = "0x181312270", Slot = "14")]
|
||||
protected override void OnDestroy()
|
||||
{
|
||||
Delegate delegate2;
|
||||
for (;;)
|
||||
{
|
||||
base.OnDestroy();
|
||||
this.PMMGPDAHOIF.Clear();
|
||||
BattleRoyaleAmmo.HAKPMCNMENF collectEvent = BattleRoyaleAmmo.CollectEvent;
|
||||
BattleRoyaleAmmo.HAKPMCNMENF hakpmcnmenf;
|
||||
hakpmcnmenf.method_ptr = ldftn(LNMNOMAHGIP);
|
||||
hakpmcnmenf.method = ldftn(LNMNOMAHGIP);
|
||||
hakpmcnmenf.m_target = this;
|
||||
Delegate @delegate = Delegate.Remove(collectEvent, hakpmcnmenf);
|
||||
int num = 0;
|
||||
if (@delegate == 0 || @delegate != 0)
|
||||
{
|
||||
BattleRoyaleAmmo.CollectEvent = num;
|
||||
EquipmentSpawnerChest.PHJIFMHOLFC chestOpenEvent = EquipmentSpawnerChest.ChestOpenEvent;
|
||||
EquipmentSpawnerChest.PHJIFMHOLFC phjifmholfc = new EquipmentSpawnerChest.PHJIFMHOLFC(this.IOADHCKAOEB);
|
||||
delegate2 = Delegate.Remove(chestOpenEvent, phjifmholfc);
|
||||
if (delegate2 == 0 || delegate2 != 0)
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
EquipmentSpawnerChest.ChestOpenEvent = delegate2;
|
||||
ActionEvent localPlayerSpawnEvent = global::Player.LocalPlayerSpawnEvent;
|
||||
Action action = new Action(this.NAHAFOLAIEC);
|
||||
global::Player.LocalPlayerSpawnEvent = localPlayerSpawnEvent - action;
|
||||
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int num2 = 0;
|
||||
if (instance != num2)
|
||||
{
|
||||
GameManager instance2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
Action action2 = new Action(this.NJGKEJCHADK);
|
||||
instance2.NJGCGNDOMBJ -= action2;
|
||||
GameCombatManager combatManager = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.combatManager;
|
||||
int num3 = 0;
|
||||
if (combatManager != num3)
|
||||
{
|
||||
GameCombatManager combatManager2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.combatManager;
|
||||
GameCombatManager.ODCIMPCGPKE odcimpcgpke = new GameCombatManager.ODCIMPCGPKE(this.NFKFMFMBMIG);
|
||||
combatManager2.DNLKLILOAIM -= odcimpcgpke;
|
||||
GameCombatManager combatManager3 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.combatManager;
|
||||
GameCombatManager.HOKOCNGFDAO hokocngfdao = new GameCombatManager.HOKOCNGFDAO(this.FKKEPHNPHBI);
|
||||
combatManager3.FBKJFMPLABN -= hokocngfdao;
|
||||
}
|
||||
GameSpawnManager spawnManager = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.spawnManager;
|
||||
int num4 = 0;
|
||||
if (spawnManager != num4)
|
||||
{
|
||||
GameSpawnManager spawnManager2 = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.spawnManager;
|
||||
GameSpawnManager.KIFNGIBBMDP kifngibbmdp = new GameSpawnManager.KIFNGIBBMDP(this.KCNCMMFELDN);
|
||||
spawnManager2.EAIPEBLDFBK -= kifngibbmdp;
|
||||
}
|
||||
}
|
||||
if (BattleRoyaleGearManager.<OCDLBPHJMOP>k__BackingField == this)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011464 RID: 70756 RVA: 0x00416430 File Offset: 0x00414630
|
||||
[Token(Token = "0x6011464")]
|
||||
[Address(RVA = "0x1310690", Offset = "0x130F090", VA = "0x181310690")]
|
||||
private void IFBDHKOKDMC()
|
||||
{
|
||||
EOEOFMCNLOL<int>[] array = new EOEOFMCNLOL<int>[9];
|
||||
int[] array2 = new int[array.Length];
|
||||
int num = 0;
|
||||
this.OFGNGGBPLBI = array2;
|
||||
if (num < array2.Length)
|
||||
{
|
||||
num++;
|
||||
array2[0] = (int)((ulong)4294967295L);
|
||||
int[] ofgnggbplbi = this.OFGNGGBPLBI;
|
||||
}
|
||||
FOKDOODJKOP hgjchiamdie = this.HGJCHIAMDIE;
|
||||
RepeatedField<MDCDKMCDEGM> hcfennbpmfi = hgjchiamdie.HCFENNBPMFI;
|
||||
if ((hgjchiamdie.HCFENNBPMFI[num].KMPJIIFBPAP ? 1 : 0) != num)
|
||||
{
|
||||
int icihpbmngkn = this.HGJCHIAMDIE.HCFENNBPMFI[num].ICIHPBMNGKN;
|
||||
int length = array.Length;
|
||||
EOEOFMCNLOL<int> eoeofmcnlol;
|
||||
if (array[icihpbmngkn] == 0)
|
||||
{
|
||||
eoeofmcnlol = new EOEOFMCNLOL();
|
||||
throw new ArrayTypeMismatchException();
|
||||
}
|
||||
int kclobjbiimb = this.HGJCHIAMDIE.HCFENNBPMFI[num].KCLOBJBIIMB;
|
||||
eoeofmcnlol.PHLAHMKFNKI(num, kclobjbiimb);
|
||||
if (icihpbmngkn == 8)
|
||||
{
|
||||
int jdinbhaocke = this.HGJCHIAMDIE.HCFENNBPMFI[num].NELPAPPGHFC.JDINBHAOCKE;
|
||||
int[] ofgnggbplbi2 = this.OFGNGGBPLBI;
|
||||
int length2 = ofgnggbplbi2.Length;
|
||||
if (jdinbhaocke < length2)
|
||||
{
|
||||
ofgnggbplbi2[0] = num;
|
||||
}
|
||||
}
|
||||
}
|
||||
FOKDOODJKOP hgjchiamdie2 = this.HGJCHIAMDIE;
|
||||
num++;
|
||||
while (hgjchiamdie2 != 0)
|
||||
{
|
||||
}
|
||||
int length3 = array.Length;
|
||||
if (num < length3)
|
||||
{
|
||||
if (18446744073709551609UL > (ulong)2L && "{il2cpp array field local1->}" != (ulong)0L)
|
||||
{
|
||||
int num2 = PJLAIIECDFE.HGKDGIDPLDK((CLDJCKDMCFP)num);
|
||||
EOEOFMCNLOL<EOEOFMCNLOL<int>> lpbbefcldig = this.LPBBEFCLDIG;
|
||||
EOEOFMCNLOL<int> eoeofmcnlol2 = array[num];
|
||||
lpbbefcldig.PHLAHMKFNKI(eoeofmcnlol2, num2);
|
||||
}
|
||||
num++;
|
||||
}
|
||||
EOEOFMCNLOL<int> eoeofmcnlol3 = array[7];
|
||||
this.HIDHPKNHBCH = eoeofmcnlol3;
|
||||
EOEOFMCNLOL<int> eoeofmcnlol4 = array[8];
|
||||
this.ONDFFIPFJON = eoeofmcnlol4;
|
||||
}
|
||||
|
||||
// Token: 0x06011465 RID: 70757 RVA: 0x004165D4 File Offset: 0x004147D4
|
||||
[Token(Token = "0x6011465")]
|
||||
[Address(RVA = "0x1310F80", Offset = "0x130F980", VA = "0x181310F80")]
|
||||
private void IOADHCKAOEB(EquipmentSpawnerChest MMOJOJPDKIC)
|
||||
{
|
||||
BattleRoyaleGearManager.OOBDHBLBGCN oobdhblbgcn;
|
||||
oobdhblbgcn.System.IDisposable.Dispose();
|
||||
oobdhblbgcn.<>1__state = (int)((ulong)0L);
|
||||
oobdhblbgcn.<>4__this = this;
|
||||
oobdhblbgcn.chest = MMOJOJPDKIC;
|
||||
Coroutine coroutine = base.StartCoroutine(oobdhblbgcn);
|
||||
}
|
||||
|
||||
// Token: 0x06011466 RID: 70758 RVA: 0x00416608 File Offset: 0x00414808
|
||||
[Token(Token = "0x6011466")]
|
||||
[Address(RVA = "0x1310310", Offset = "0x130ED10", VA = "0x181310310")]
|
||||
private IEnumerator DFEOGMJABEO(EquipmentSpawnerChest MMOJOJPDKIC)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06011466)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.Activities.BattleRoyale.BattleRoyaleGearManager::DFEOGMJABEO(RecRoom.Core.GameManagement.EquipmentSpawnerChest)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
call:void(OOBDHBLBGCN::System.IDisposable.Dispose, ldloc:OOBDHBLBGCN(var_0))
|
||||
stfld:BattleRoyaleGearManager(OOBDHBLBGCN::<>4__this, ldloc:OOBDHBLBGCN(var_0), ldloc:BattleRoyaleGearManager(this))
|
||||
stfld:int32(OOBDHBLBGCN::<>1__state, ldloc:OOBDHBLBGCN(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
||||
stfld:EquipmentSpawnerChest(OOBDHBLBGCN::chest, ldloc:OOBDHBLBGCN(var_0), ldloc:EquipmentSpawnerChest(MMOJOJPDKIC))
|
||||
}
|
||||
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
|
||||
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
|
||||
--- End of inner exception stack trace ---
|
||||
at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
|
||||
at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1663
|
||||
*/;
|
||||
}
|
||||
|
||||
// Token: 0x06011467 RID: 70759 RVA: 0x00416634 File Offset: 0x00414834
|
||||
[Token(Token = "0x6011467")]
|
||||
[Address(RVA = "0x1310410", Offset = "0x130EE10", VA = "0x181310410")]
|
||||
public int GetFieldAmmo(Photon.Realtime.Player IEKDDPPNFPF, CLDJCKDMCFP KIGCFHHMPCG)
|
||||
{
|
||||
return this.NOBMGOHDKBE(IEKDDPPNFPF).Get()[(int)KIGCFHHMPCG];
|
||||
}
|
||||
|
||||
// Token: 0x06011468 RID: 70760 RVA: 0x0041665C File Offset: 0x0041485C
|
||||
[Token(Token = "0x6011468")]
|
||||
[Address(RVA = "0x13127E0", Offset = "0x13111E0", VA = "0x1813127E0")]
|
||||
public void SetFieldAmmo(Photon.Realtime.Player IEKDDPPNFPF, CLDJCKDMCFP KIGCFHHMPCG, int GEFICFCCGDK)
|
||||
{
|
||||
int[] array;
|
||||
do
|
||||
{
|
||||
array = this.NOBMGOHDKBE(IEKDDPPNFPF).Get();
|
||||
}
|
||||
while (array == 0);
|
||||
array[0] = GEFICFCCGDK;
|
||||
}
|
||||
|
||||
// Token: 0x06011469 RID: 70761 RVA: 0x0041668C File Offset: 0x0041488C
|
||||
[Token(Token = "0x6011469")]
|
||||
[Address(RVA = "0x1311000", Offset = "0x130FA00", VA = "0x181311000")]
|
||||
private void JGFHDEKLIIG()
|
||||
{
|
||||
Photon.Realtime.Player localPlayer = PhotonNetwork.LocalPlayer;
|
||||
SynchronizedField<int[]> synchronizedField = this.NOBMGOHDKBE(localPlayer);
|
||||
int[] array = new int[9];
|
||||
}
|
||||
|
||||
// Token: 0x0601146A RID: 70762 RVA: 0x004166B8 File Offset: 0x004148B8
|
||||
[Token(Token = "0x601146A")]
|
||||
[Address(RVA = "0x1312150", Offset = "0x1310B50", VA = "0x181312150")]
|
||||
private SynchronizedField<int[]> NOBMGOHDKBE(Photon.Realtime.Player IEKDDPPNFPF)
|
||||
{
|
||||
Dictionary<int, SynchronizedField<int[]>> pmmgpdahoif = this.PMMGPDAHOIF;
|
||||
bool flag;
|
||||
if (!flag)
|
||||
{
|
||||
int[] array = new int[9];
|
||||
Dictionary<int, SynchronizedField<int[]>> pmmgpdahoif2 = this.PMMGPDAHOIF;
|
||||
int actorNumber = IEKDDPPNFPF.actorNumber;
|
||||
SynchronizedField<int[]> synchronizedField;
|
||||
pmmgpdahoif2[actorNumber] = synchronizedField;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x0601146B RID: 70763 RVA: 0x004166F8 File Offset: 0x004148F8
|
||||
[Token(Token = "0x601146B")]
|
||||
[Address(RVA = "0x13117C0", Offset = "0x13101C0", VA = "0x1813117C0")]
|
||||
private void LNMNOMAHGIP(BattleRoyaleAmmo DGIOBDLNLBH)
|
||||
{
|
||||
if (DGIOBDLNLBH.hasAuthority)
|
||||
{
|
||||
DGIOBDLNLBH.OnDestroy();
|
||||
DGIOBDLNLBH.AuthoritySetAlreadyPickedUp();
|
||||
Photon.Realtime.Player localPlayer = PhotonNetwork.LocalPlayer;
|
||||
CLDJCKDMCFP <PLLAINMPFMB>k__BackingField = DGIOBDLNLBH.<PLLAINMPFMB>k__BackingField;
|
||||
int fieldAmmo = this.GetFieldAmmo(localPlayer, <PLLAINMPFMB>k__BackingField);
|
||||
Photon.Realtime.Player localPlayer2 = PhotonNetwork.LocalPlayer;
|
||||
int num = DGIOBDLNLBH.<DNLLAOGKOBK>k__BackingField;
|
||||
CLDJCKDMCFP <PLLAINMPFMB>k__BackingField2 = DGIOBDLNLBH.<PLLAINMPFMB>k__BackingField;
|
||||
num += fieldAmmo;
|
||||
this.SetFieldAmmo(localPlayer2, <PLLAINMPFMB>k__BackingField2, num);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601146C RID: 70764 RVA: 0x00416764 File Offset: 0x00414964
|
||||
[Token(Token = "0x601146C")]
|
||||
[Address(RVA = "0x1311CF0", Offset = "0x13106F0", VA = "0x181311CF0")]
|
||||
private void NJGKEJCHADK()
|
||||
{
|
||||
if (PhotonNetwork.IsMasterClient)
|
||||
{
|
||||
int num = 0;
|
||||
List<EquipmentSpawnerChest> allChests = EquipmentSpawnerChest.AllChests;
|
||||
List<EquipmentSpawnerChest> allChests2 = EquipmentSpawnerChest.AllChests;
|
||||
bool flag = JAKDHKJDFNP.LDBJPFPJHLF(this.chestEnabledPercentage);
|
||||
num++;
|
||||
List<EquipmentSpawnerChest> allChests3 = EquipmentSpawnerChest.AllChests;
|
||||
List<EquipmentSpawnerChest> allChests4 = EquipmentSpawnerChest.AllChests;
|
||||
bool flag2;
|
||||
if (flag2)
|
||||
{
|
||||
List<EquipmentSpawnerChest> allChests5 = EquipmentSpawnerChest.AllChests;
|
||||
}
|
||||
num++;
|
||||
}
|
||||
Photon.Realtime.Player localPlayer = PhotonNetwork.LocalPlayer;
|
||||
SynchronizedField<int[]> synchronizedField = this.NOBMGOHDKBE(localPlayer);
|
||||
int[] array = new int[9];
|
||||
}
|
||||
|
||||
// Token: 0x0601146D RID: 70765 RVA: 0x004167DC File Offset: 0x004149DC
|
||||
[Token(Token = "0x601146D")]
|
||||
[Address(RVA = "0x1311C60", Offset = "0x1310660", VA = "0x181311C60")]
|
||||
private void NFKFMFMBMIG(Photon.Realtime.Player LJGOHLFADDN, Photon.Realtime.Player HMEIODIHDCL, Weapon GDIGKHINJCG, global::Player.GAHEJKDCLLE OAEAKADENEB, Vector3 BEOPNIAIJOM, Vector3 OKDCENHKDIP, int JJHKPNCCEFB, GameCombatManager.IGHLGLDPACI LCJBLMKOCLB)
|
||||
{
|
||||
if (HMEIODIHDCL.IsLocal)
|
||||
{
|
||||
this.NKDDCNLIONO();
|
||||
}
|
||||
if (PhotonNetwork.IsMasterClient)
|
||||
{
|
||||
this.IMOAELDNGOD(HMEIODIHDCL);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601146E RID: 70766 RVA: 0x00416810 File Offset: 0x00414A10
|
||||
[Token(Token = "0x601146E")]
|
||||
[Address(RVA = "0x1310380", Offset = "0x130ED80", VA = "0x181310380")]
|
||||
private void FKKEPHNPHBI(Enemy LJGOHLFADDN, Photon.Realtime.Player HMEIODIHDCL, global::Player.GAHEJKDCLLE OAEAKADENEB, Vector3 BEOPNIAIJOM, GameCombatManager.IGHLGLDPACI LCJBLMKOCLB)
|
||||
{
|
||||
if (HMEIODIHDCL.IsLocal)
|
||||
{
|
||||
this.NKDDCNLIONO();
|
||||
}
|
||||
if (PhotonNetwork.IsMasterClient)
|
||||
{
|
||||
this.IMOAELDNGOD(HMEIODIHDCL);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0601146F RID: 70767 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x601146F")]
|
||||
[Address(RVA = "0x1311FA0", Offset = "0x13109A0", VA = "0x181311FA0")]
|
||||
private void NKDDCNLIONO()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06011470 RID: 70768 RVA: 0x00416844 File Offset: 0x00414A44
|
||||
[Token(Token = "0x6011470")]
|
||||
[Address(RVA = "0x1310A90", Offset = "0x130F490", VA = "0x181310A90")]
|
||||
private void IMOAELDNGOD(Photon.Realtime.Player GGLKKJKJGHA)
|
||||
{
|
||||
while (PhotonNetwork.IsMasterClient)
|
||||
{
|
||||
global::Player player = GGLKKJKJGHA.GPOMCJICJIH();
|
||||
int num = 0;
|
||||
if (player == num)
|
||||
{
|
||||
break;
|
||||
}
|
||||
int[] array = this.NOBMGOHDKBE(GGLKKJKJGHA).Get();
|
||||
if (array != 0)
|
||||
{
|
||||
int num2 = 0;
|
||||
int num3 = 0;
|
||||
int length = array.Length;
|
||||
if (num3 < length)
|
||||
{
|
||||
if ("{il2cpp array field local12->}" > (ulong)0L)
|
||||
{
|
||||
float z = global::UnityEngine.Random.onUnitSphere.z;
|
||||
Vector3 vector;
|
||||
float z2 = vector.z;
|
||||
Vector3 up = Vector3.up;
|
||||
Vector3 vector2;
|
||||
float z3 = vector2.z;
|
||||
Transform transform = player.body.transform;
|
||||
Quaternion identity = Quaternion.identity;
|
||||
}
|
||||
num2++;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011471 RID: 70769 RVA: 0x004168F0 File Offset: 0x00414AF0
|
||||
[Token(Token = "0x6011471")]
|
||||
[Address(RVA = "0x1311B40", Offset = "0x1310540", VA = "0x181311B40")]
|
||||
private void NAHAFOLAIEC()
|
||||
{
|
||||
ActionEvent localPlayerSpawnEvent = global::Player.LocalPlayerSpawnEvent;
|
||||
Action action = new Action(this.NAHAFOLAIEC);
|
||||
global::Player.LocalPlayerSpawnEvent = localPlayerSpawnEvent - action;
|
||||
BattleRoyaleGearBag battleRoyaleGearBag = BattleRoyaleGearBag.InstantiateForLocalPlayer(this.bagPrefab);
|
||||
BattleRoyalePlayerMap battleRoyalePlayerMap = this.mapPrefab;
|
||||
this.BEANHKLNMII = battleRoyaleGearBag;
|
||||
BattleRoyalePlayerMap battleRoyalePlayerMap2 = BattleRoyalePlayerMap.InstantiateForLocalPlayer(battleRoyalePlayerMap, battleRoyaleGearBag);
|
||||
}
|
||||
|
||||
// Token: 0x06011472 RID: 70770 RVA: 0x00416940 File Offset: 0x00414B40
|
||||
[Token(Token = "0x6011472")]
|
||||
[Address(RVA = "0x13118F0", Offset = "0x13102F0", VA = "0x1813118F0")]
|
||||
private bool MFBANGGJKDL(Vector3 AFNKLLAKKJN, Quaternion IKJGOJBKKEK, float HGKCFKKJNLC, Vector3 EAOCEINLAKP, Vector3 KHJFDILDLAD, out CLDJCKDMCFP GBPMPGHIODJ)
|
||||
{
|
||||
if (PhotonNetwork.IsMasterClient)
|
||||
{
|
||||
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int num = 0;
|
||||
if (!(instance == num))
|
||||
{
|
||||
FOKDOODJKOP hgjchiamdie = this.HGJCHIAMDIE;
|
||||
if (hgjchiamdie != 0 && hgjchiamdie.HCFENNBPMFI != 0)
|
||||
{
|
||||
EOEOFMCNLOL<int> eoeofmcnlol = this.LPBBEFCLDIG.OBNBDDNFNDN();
|
||||
if (eoeofmcnlol != 0)
|
||||
{
|
||||
int num2 = eoeofmcnlol.OBNBDDNFNDN();
|
||||
RepeatedField<MDCDKMCDEGM> hcfennbpmfi = this.HGJCHIAMDIE.HCFENNBPMFI;
|
||||
float z = AFNKLLAKKJN.z;
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
MDCDKMCDEGM mdcdkmcdegm = this.HGJCHIAMDIE.HCFENNBPMFI[num2];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06011473 RID: 70771 RVA: 0x004169D0 File Offset: 0x00414BD0
|
||||
[Token(Token = "0x6011473")]
|
||||
[Address(RVA = "0x1311090", Offset = "0x130FA90", VA = "0x181311090")]
|
||||
private void JIFFNKPHFBA(Vector3 AFNKLLAKKJN, Quaternion IKJGOJBKKEK, float HGKCFKKJNLC, Vector3 EAOCEINLAKP, Vector3 KHJFDILDLAD)
|
||||
{
|
||||
if (PhotonNetwork.IsMasterClient)
|
||||
{
|
||||
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int num = 0;
|
||||
if (!(instance == num))
|
||||
{
|
||||
FOKDOODJKOP hgjchiamdie = this.HGJCHIAMDIE;
|
||||
if (hgjchiamdie != 0 && hgjchiamdie.HCFENNBPMFI != 0)
|
||||
{
|
||||
int num2 = this.HIDHPKNHBCH.OBNBDDNFNDN();
|
||||
RepeatedField<MDCDKMCDEGM> hcfennbpmfi = this.HGJCHIAMDIE.HCFENNBPMFI;
|
||||
float z = AFNKLLAKKJN.z;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011474 RID: 70772 RVA: 0x00416A38 File Offset: 0x00414C38
|
||||
[Token(Token = "0x6011474")]
|
||||
[Address(RVA = "0x13104A0", Offset = "0x130EEA0", VA = "0x1813104A0")]
|
||||
private void HHAHPJOIEHL(Vector3 AFNKLLAKKJN, Quaternion IKJGOJBKKEK, float HGKCFKKJNLC, Vector3 EAOCEINLAKP, Vector3 KHJFDILDLAD)
|
||||
{
|
||||
if (PhotonNetwork.IsMasterClient)
|
||||
{
|
||||
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int num = 0;
|
||||
if (!(instance == num))
|
||||
{
|
||||
FOKDOODJKOP hgjchiamdie = this.HGJCHIAMDIE;
|
||||
if (hgjchiamdie != 0 && hgjchiamdie.HCFENNBPMFI != 0)
|
||||
{
|
||||
int num2 = this.ONDFFIPFJON.OBNBDDNFNDN();
|
||||
RepeatedField<MDCDKMCDEGM> hcfennbpmfi = this.HGJCHIAMDIE.HCFENNBPMFI;
|
||||
float z = AFNKLLAKKJN.z;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011475 RID: 70773 RVA: 0x00416AA0 File Offset: 0x00414CA0
|
||||
[Token(Token = "0x6011475")]
|
||||
[Address(RVA = "0x13115B0", Offset = "0x130FFB0", VA = "0x1813115B0")]
|
||||
private void KMHILDNOCBD(CLDJCKDMCFP OFMDLGLDIFL, Vector3 AFNKLLAKKJN, Quaternion IKJGOJBKKEK, float HGKCFKKJNLC, Vector3 EAOCEINLAKP, Vector3 KHJFDILDLAD)
|
||||
{
|
||||
if (PhotonNetwork.IsMasterClient)
|
||||
{
|
||||
GameManager instance = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG;
|
||||
int num = 0;
|
||||
if (!(instance == num))
|
||||
{
|
||||
FOKDOODJKOP hgjchiamdie = this.HGJCHIAMDIE;
|
||||
if (hgjchiamdie != 0)
|
||||
{
|
||||
RepeatedField<MDCDKMCDEGM> hcfennbpmfi = hgjchiamdie.HCFENNBPMFI;
|
||||
if (hcfennbpmfi != 0)
|
||||
{
|
||||
int count = hcfennbpmfi.count;
|
||||
if (count > 0)
|
||||
{
|
||||
int[] ofgnggbplbi = this.OFGNGGBPLBI;
|
||||
int length = ofgnggbplbi.Length;
|
||||
if (OFMDLGLDIFL < (CLDJCKDMCFP)length && ofgnggbplbi[(int)OFMDLGLDIFL] < count)
|
||||
{
|
||||
float z = AFNKLLAKKJN.z;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06011476 RID: 70774 RVA: 0x00416B24 File Offset: 0x00414D24
|
||||
[Token(Token = "0x6011476")]
|
||||
[Address(RVA = "0x1311280", Offset = "0x130FC80", VA = "0x181311280")]
|
||||
private bool JOLMDFMCLHJ(int KIGELEGFCCL, Vector3 AFNKLLAKKJN, Quaternion IKJGOJBKKEK, float HGKCFKKJNLC, Vector3 EAOCEINLAKP, Vector3 KHJFDILDLAD)
|
||||
{
|
||||
OGNBCNBPFCC ognbcnbpfcc;
|
||||
if (this.HGJCHIAMDIE.HCFENNBPMFI[KIGELEGFCCL] != 0 && ognbcnbpfcc != OGNBCNBPFCC.INVALID)
|
||||
{
|
||||
GameSpawnManager spawnManager = NetworkedSingletonMonoBehaviour.ONCPNMDGGKG.spawnManager;
|
||||
float z = AFNKLLAKKJN.z;
|
||||
int num = 0;
|
||||
Tool tool;
|
||||
if (tool != num)
|
||||
{
|
||||
RigidbodyEx rigidbodyEx = tool.rigidbodyEx;
|
||||
int num2 = 0;
|
||||
if (rigidbodyEx != num2)
|
||||
{
|
||||
RigidbodyEx rigidbodyEx2 = tool.rigidbodyEx;
|
||||
RigidbodyEx rigidbodyEx3 = tool.rigidbodyEx;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06011477 RID: 70775 RVA: 0x00416BA0 File Offset: 0x00414DA0
|
||||
[Token(Token = "0x6011477")]
|
||||
[Address(RVA = "0x13114F0", Offset = "0x130FEF0", VA = "0x1813114F0")]
|
||||
private void KCNCMMFELDN(SpawnableTool FAFPPDGHACH)
|
||||
{
|
||||
int instantiationTag = FAFPPDGHACH.InstantiationTag;
|
||||
RepeatedField<MDCDKMCDEGM> hcfennbpmfi = this.HGJCHIAMDIE.HCFENNBPMFI;
|
||||
BattleRoyaleGear battleRoyaleGear = FAFPPDGHACH.gameObject.AddComponent<BattleRoyaleGear>();
|
||||
MDCDKMCDEGM mdcdkmcdegm = this.HGJCHIAMDIE.HCFENNBPMFI[instantiationTag];
|
||||
battleRoyaleGear.CDHCBECJPOM = mdcdkmcdegm;
|
||||
}
|
||||
|
||||
// Token: 0x06011478 RID: 70776 RVA: 0x00416BEC File Offset: 0x00414DEC
|
||||
[Token(Token = "0x6011478")]
|
||||
[Address(RVA = "0x1312A30", Offset = "0x1311430", VA = "0x181312A30")]
|
||||
public BattleRoyaleGearManager()
|
||||
{
|
||||
EOEOFMCNLOL<EOEOFMCNLOL<int>> eoeofmcnlol = new EOEOFMCNLOL();
|
||||
this.LPBBEFCLDIG = eoeofmcnlol;
|
||||
Dictionary<int, SynchronizedField<int[]>> dictionary = new Dictionary();
|
||||
this.PMMGPDAHOIF = dictionary;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x0400B855 RID: 47189
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400B855")]
|
||||
[SerializeField]
|
||||
[Header("Player Bags")]
|
||||
private BattleRoyaleGearBag bagPrefab;
|
||||
|
||||
// Token: 0x0400B856 RID: 47190
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400B856")]
|
||||
[SerializeField]
|
||||
private BattleRoyalePlayerMap mapPrefab;
|
||||
|
||||
// Token: 0x0400B857 RID: 47191
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x400B857")]
|
||||
[SerializeField]
|
||||
[Header("Equipment")]
|
||||
private TextAsset arsenalBlob;
|
||||
|
||||
// Token: 0x0400B858 RID: 47192
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x400B858")]
|
||||
[SerializeField]
|
||||
[Header("Chests")]
|
||||
private float chestEnabledPercentage = 0.5f;
|
||||
|
||||
// Token: 0x0400B859 RID: 47193
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x400B859")]
|
||||
private BattleRoyaleGearBag BEANHKLNMII;
|
||||
|
||||
// Token: 0x0400B85A RID: 47194
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x400B85A")]
|
||||
private FOKDOODJKOP HGJCHIAMDIE;
|
||||
|
||||
// Token: 0x0400B85B RID: 47195
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x400B85B")]
|
||||
private EOEOFMCNLOL<EOEOFMCNLOL<int>> LPBBEFCLDIG;
|
||||
|
||||
// Token: 0x0400B85C RID: 47196
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x400B85C")]
|
||||
private EOEOFMCNLOL<int> HIDHPKNHBCH;
|
||||
|
||||
// Token: 0x0400B85D RID: 47197
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x400B85D")]
|
||||
private EOEOFMCNLOL<int> ONDFFIPFJON;
|
||||
|
||||
// Token: 0x0400B85E RID: 47198
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x400B85E")]
|
||||
private int[] OFGNGGBPLBI;
|
||||
|
||||
// Token: 0x0400B85F RID: 47199
|
||||
[global::Cpp2IlInjected.FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x400B85F")]
|
||||
private Dictionary<int, SynchronizedField<int[]>> PMMGPDAHOIF;
|
||||
|
||||
// Token: 0x0400B860 RID: 47200
|
||||
[Token(Token = "0x400B860")]
|
||||
private const float FJLBHOHFGDP = 0.05f;
|
||||
|
||||
// Token: 0x0400B861 RID: 47201
|
||||
[Token(Token = "0x400B861")]
|
||||
private const float GIHPLBMNJLK = 4f;
|
||||
|
||||
// Token: 0x0400B862 RID: 47202
|
||||
[Token(Token = "0x400B862")]
|
||||
private const float JPADELFAGEK = 720f;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user