oh dear
This commit is contained in:
@@ -0,0 +1,709 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Cpp2IlInjected;
|
||||
using Photon.Pun;
|
||||
using RecRoom.Core;
|
||||
using RecRoom.DataStructures;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Activities.BattleRoyale
|
||||
{
|
||||
// Token: 0x02002BCB RID: 11211
|
||||
[Token(Token = "0x2002BCB")]
|
||||
public class BattleRoyaleGearBag : MonoBehaviourPun
|
||||
{
|
||||
// Token: 0x170034A2 RID: 13474
|
||||
// (get) Token: 0x06012E01 RID: 77313 RVA: 0x00457F80 File Offset: 0x00456180
|
||||
[Token(Token = "0x170034A2")]
|
||||
private bool OCMLJDHFLBI
|
||||
{
|
||||
[Token(Token = "0x6012E01")]
|
||||
[Address(RVA = "0x863260", Offset = "0x862060", VA = "0x180863260")]
|
||||
get
|
||||
{
|
||||
AGAJMBPABDL fbfbjfnhnog = this.FBFBJFNHNOG;
|
||||
if (fbfbjfnhnog == 0)
|
||||
{
|
||||
}
|
||||
return fbfbjfnhnog.DMKCIEPGGAB;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170034A3 RID: 13475
|
||||
// (get) Token: 0x06012E02 RID: 77314 RVA: 0x00457FA0 File Offset: 0x004561A0
|
||||
[Token(Token = "0x170034A3")]
|
||||
private Vector3 AEDBAOFJJEE
|
||||
{
|
||||
[Token(Token = "0x6012E02")]
|
||||
[Address(RVA = "0x862E40", Offset = "0x861C40", VA = "0x180862E40")]
|
||||
get
|
||||
{
|
||||
bool flag;
|
||||
if (!flag)
|
||||
{
|
||||
}
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170034A4 RID: 13476
|
||||
// (get) Token: 0x06012E03 RID: 77315 RVA: 0x00457FC4 File Offset: 0x004561C4
|
||||
[Token(Token = "0x170034A4")]
|
||||
private Quaternion LAEFAGOJOLJ
|
||||
{
|
||||
[Token(Token = "0x6012E03")]
|
||||
[Address(RVA = "0x862600", Offset = "0x861400", VA = "0x180862600")]
|
||||
get
|
||||
{
|
||||
bool flag;
|
||||
if (!flag)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x170034A5 RID: 13477
|
||||
// (get) Token: 0x06012E04 RID: 77316 RVA: 0x00457FDC File Offset: 0x004561DC
|
||||
[Token(Token = "0x170034A5")]
|
||||
private bool CNHHCJJAIDJ
|
||||
{
|
||||
[Token(Token = "0x6012E04")]
|
||||
[Address(RVA = "0x863C40", Offset = "0x862A40", VA = "0x180863C40")]
|
||||
get
|
||||
{
|
||||
HKKOHFHADKK cmhgdpokgoa = this.CMHGDPOKGOA;
|
||||
bool flag;
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06012E05 RID: 77317 RVA: 0x00457FF8 File Offset: 0x004561F8
|
||||
[Token(Token = "0x6012E05")]
|
||||
[Address(RVA = "0x861710", Offset = "0x860510", VA = "0x180861710", Slot = "13")]
|
||||
protected override void Awake()
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06012E05)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void RecRoom.Activities.BattleRoyale.BattleRoyaleGearBag::Awake()
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
IL_2DD:
|
||||
stloc:HKKOHFHADKK(var_50_2E2, newobj:HKKOHFHADKK(HKKOHFHADKK::.ctor))
|
||||
stfld:HKKOHFHADKK(BattleRoyaleGearBag::CMHGDPOKGOA, ldloc:BattleRoyaleGearBag(this), ldloc:HKKOHFHADKK(var_50_2E2))
|
||||
stloc:OKGCDFLPFOD(var_51_2F8, newobj:OKGCDFLPFOD(OKGCDFLPFOD::.ctor, ldloc:BattleRoyaleGearBag[exp:object](this), ldftn:method instance void *(uint16, uint16)[exp:native int](BattleRoyaleGearBag::HEKHJFHNEFA)))
|
||||
stloc:int32(var_52_2FB, ldc.i4:int32(0))
|
||||
stloc:int32(var_53_2FE, ldc.i4:int32(0))
|
||||
call:void(CJNCFJKBDGI::JEPMLPCOGNM, ldloc:HKKOHFHADKK[exp:CJNCFJKBDGI](var_50_2E2), ldloc:int32[exp:uint16](var_52_2FB), ldloc:OKGCDFLPFOD(var_51_2F8), ldloc:int32[exp:OKGCDFLPFOD](var_53_2FE), ldloc:int32[exp:KNFAKJMALJE](var_0_01))
|
||||
stloc:HKKOHFHADKK(var_54_314, ldfld:HKKOHFHADKK(BattleRoyaleGearBag::CMHGDPOKGOA, ldloc:BattleRoyaleGearBag(this)))
|
||||
stloc:OKGCDFLPFOD(var_55_322, newobj:OKGCDFLPFOD(OKGCDFLPFOD::.ctor, ldloc:BattleRoyaleGearBag[exp:object](this), ldftn:method instance void *(uint16, uint16)[exp:native int](BattleRoyaleGearBag::GJGAGMBKDAD)))
|
||||
stloc:HKKOHFHADKK(var_57_32D, ldfld:HKKOHFHADKK(BattleRoyaleGearBag::CMHGDPOKGOA, ldloc:BattleRoyaleGearBag(this)))
|
||||
stloc:int32(var_58_330, ldc.i4:int32(0))
|
||||
call:void(HKKOHFHADKK::OFFLOPLJBBG, ldloc:HKKOHFHADKK(var_57_32D), ldloc:int32[exp:uint16](var_58_330))
|
||||
}
|
||||
|
||||
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: 0x06012E06 RID: 77318 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6012E06")]
|
||||
[Address(RVA = "0x863C90", Offset = "0x862A90", VA = "0x180863C90")]
|
||||
private void Start()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06012E07 RID: 77319 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6012E07")]
|
||||
[Address(RVA = "0x863280", Offset = "0x862080", VA = "0x180863280", Slot = "14")]
|
||||
protected override void OnDestroy()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06012E08 RID: 77320 RVA: 0x00458340 File Offset: 0x00456540
|
||||
[Token(Token = "0x6012E08")]
|
||||
[Address(RVA = "0x8638D0", Offset = "0x8626D0", VA = "0x1808638D0")]
|
||||
private void OnDrawGizmos()
|
||||
{
|
||||
BattleRoyaleGearBag.BattleRoyaleGearSlotDescriptor[] array = this.bagSlotDescriptors;
|
||||
if (array != 0)
|
||||
{
|
||||
int num = 0;
|
||||
if (num < array.Length)
|
||||
{
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
Color blue = Color.blue;
|
||||
BattleRoyaleGearBag.BattleRoyaleGearSlotDescriptor[] array2 = this.bagSlotDescriptors;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
BattleRoyaleGearBag.BattleRoyaleGearSlotDescriptor[] array3 = this.bagSlotDescriptors;
|
||||
Vector3 vector2;
|
||||
float z2 = vector2.z;
|
||||
BattleRoyaleGearBag.BattleRoyaleGearSlotDescriptor[] array4 = this.bagSlotDescriptors;
|
||||
Vector3 vector3;
|
||||
float z3 = vector3.z;
|
||||
BattleRoyaleGearBag.BattleRoyaleGearSlotDescriptor[] array5 = this.bagSlotDescriptors;
|
||||
Vector3 vector4;
|
||||
float z4 = vector4.z;
|
||||
Vector3 vector5;
|
||||
float z5 = vector5.z;
|
||||
Vector3 vector6;
|
||||
float z6 = vector6.z;
|
||||
}
|
||||
BattleRoyaleGearBag.BattleRoyaleGearSlotDescriptor[] array6 = this.bagSlotDescriptors;
|
||||
num++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06012E09 RID: 77321 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6012E09")]
|
||||
[Address(RVA = "0x862540", Offset = "0x861340", VA = "0x180862540")]
|
||||
public void DropAllEquipment()
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06012E0A RID: 77322 RVA: 0x0000220F File Offset: 0x0000040F
|
||||
[Token(Token = "0x6012E0A")]
|
||||
[Address(RVA = "0x863090", Offset = "0x861E90", VA = "0x180863090")]
|
||||
private Tool NGFFGDEPFAP(Player IEKDDPPNFPF, bool GEJJBENPHJG, Collider DMMDDFILJMK)
|
||||
{
|
||||
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
||||
}
|
||||
|
||||
// Token: 0x06012E0B RID: 77323 RVA: 0x004583D8 File Offset: 0x004565D8
|
||||
[Token(Token = "0x6012E0B")]
|
||||
[Address(RVA = "0x8621B0", Offset = "0x860FB0", VA = "0x1808621B0")]
|
||||
private void CBHLFMCNNGO(Tool EGFEJGHDNAI)
|
||||
{
|
||||
HKKOHFHADKK cmhgdpokgoa = this.CMHGDPOKGOA;
|
||||
RecRoomAudioClip recRoomAudioClip = this.takeOffSFX;
|
||||
Transform transform = base.transform;
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
SFXAudioSource sfxaudioSource = AudioManager.Play3DSFX(recRoomAudioClip, transform, num2, num);
|
||||
HKKOHFHADKK cmhgdpokgoa2 = this.CMHGDPOKGOA;
|
||||
}
|
||||
|
||||
// Token: 0x06012E0C RID: 77324 RVA: 0x0045841C File Offset: 0x0045661C
|
||||
[Token(Token = "0x6012E0C")]
|
||||
[Address(RVA = "0x861E60", Offset = "0x860C60", VA = "0x180861E60")]
|
||||
private void BLKAKANNEJP(Tool EGFEJGHDNAI)
|
||||
{
|
||||
HKKOHFHADKK cmhgdpokgoa = this.CMHGDPOKGOA;
|
||||
RecRoomAudioClip recRoomAudioClip = this.putOnSFX;
|
||||
Transform transform = base.transform;
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
SFXAudioSource sfxaudioSource = AudioManager.Play3DSFX(recRoomAudioClip, transform, num2, num);
|
||||
HKKOHFHADKK cmhgdpokgoa2 = this.CMHGDPOKGOA;
|
||||
int num3 = 0;
|
||||
cmhgdpokgoa2.PIEOGAPMGIH((ushort)num3);
|
||||
}
|
||||
|
||||
// Token: 0x06012E0D RID: 77325 RVA: 0x0045846C File Offset: 0x0045666C
|
||||
[Token(Token = "0x6012E0D")]
|
||||
[Address(RVA = "0x862D70", Offset = "0x861B70", VA = "0x180862D70")]
|
||||
private void LBODGLNOABB(Tool EGFEJGHDNAI, Vector3 BNMOCBJEEPN, Quaternion LPHCCEOHNIN, Vector3 GMMJHABHDHE, bool ACPOOMGHPKJ)
|
||||
{
|
||||
AGAJMBPABDL fbfbjfnhnog = this.FBFBJFNHNOG;
|
||||
if (fbfbjfnhnog != 0 && fbfbjfnhnog.DMKCIEPGGAB)
|
||||
{
|
||||
EGFEJGHDNAI.NFNOHGFMPEA = true;
|
||||
if (!base.OGIBLNIIHDK)
|
||||
{
|
||||
PhotonView photonView = base.JDHMIOJKLCK;
|
||||
AGAJMBPABDL fbfbjfnhnog2 = this.FBFBJFNHNOG;
|
||||
photonView.TransferOwnership(fbfbjfnhnog2);
|
||||
}
|
||||
if (base.OGIBLNIIHDK)
|
||||
{
|
||||
PlayerToolEquipSlots toolEquipSlots = this.MJFIFBHFJOC.toolEquipSlots;
|
||||
PlayerToolEquipSlot shoulderSlot = toolEquipSlots.shoulderSlot;
|
||||
int num = 0;
|
||||
ulong num2;
|
||||
bool flag = toolEquipSlots.TryEquipTool(EGFEJGHDNAI, num, shoulderSlot, num2 != 0UL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06012E0E RID: 77326 RVA: 0x004584E8 File Offset: 0x004566E8
|
||||
[Token(Token = "0x6012E0E")]
|
||||
[Address(RVA = "0x862390", Offset = "0x861190", VA = "0x180862390")]
|
||||
private bool CNBOLGFAINK(Tool EGFEJGHDNAI, Player NHCEBNBEEBE, Vector3 JEDLNAEEMEN, bool GEJJBENPHJG)
|
||||
{
|
||||
if (this.FBFBJFNHNOG == (ulong)0L || NHCEBNBEEBE.DBAJDHGDPOL == this.FBFBJFNHNOG)
|
||||
{
|
||||
HKKOHFHADKK cmhgdpokgoa = this.CMHGDPOKGOA;
|
||||
Tool tool = this.tool;
|
||||
if (!(EGFEJGHDNAI == tool))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06012E0F RID: 77327 RVA: 0x00458530 File Offset: 0x00456730
|
||||
[Token(Token = "0x6012E0F")]
|
||||
[Address(RVA = "0x861F30", Offset = "0x860D30", VA = "0x180861F30")]
|
||||
private bool BMPEACDIJHF(out Vector3 DDHPAFKBMON, out Quaternion ACMECNDDDNG)
|
||||
{
|
||||
Player mjfifbhfjoc = this.MJFIFBHFJOC;
|
||||
int num = 0;
|
||||
if (!(mjfifbhfjoc != num))
|
||||
{
|
||||
float z = Vector3.zero.z;
|
||||
DDHPAFKBMON.z = z;
|
||||
Quaternion identity = Quaternion.identity;
|
||||
}
|
||||
Player mjfifbhfjoc2 = this.MJFIFBHFJOC;
|
||||
int num2 = 0;
|
||||
if (!(mjfifbhfjoc2 != num2))
|
||||
{
|
||||
Transform transform = base.transform;
|
||||
}
|
||||
PlayerToolEquipSlot shoulderSlot = this.MJFIFBHFJOC.toolEquipSlots.shoulderSlot;
|
||||
Vector3 vector;
|
||||
float z2 = vector.z;
|
||||
DDHPAFKBMON.z = z2;
|
||||
Player mjfifbhfjoc3 = this.MJFIFBHFJOC;
|
||||
int num3 = 0;
|
||||
if (!(mjfifbhfjoc3 != num3))
|
||||
{
|
||||
Transform transform2 = base.transform;
|
||||
}
|
||||
PlayerToolEquipSlot shoulderSlot2 = this.MJFIFBHFJOC.toolEquipSlots.shoulderSlot;
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06012E10 RID: 77328 RVA: 0x004585E4 File Offset: 0x004567E4
|
||||
[Token(Token = "0x6012E10")]
|
||||
[Address(RVA = "0x862280", Offset = "0x861080", VA = "0x180862280")]
|
||||
private bool CIELJOLDILK(Tool EGFEJGHDNAI, PlayerToolEquipSlot HCPBBFGIBAB)
|
||||
{
|
||||
Tool tool = this.tool;
|
||||
if (!(EGFEJGHDNAI == tool))
|
||||
{
|
||||
HKKOHFHADKK cmhgdpokgoa = this.CMHGDPOKGOA;
|
||||
BattleRoyaleGearBag.BNJFJOKIELL bnjfjokiell;
|
||||
bnjfjokiell.System.IDisposable.Dispose();
|
||||
bnjfjokiell.<>1__state = (int)((ulong)0L);
|
||||
bnjfjokiell.<>4__this = this;
|
||||
bnjfjokiell.tool = EGFEJGHDNAI;
|
||||
Coroutine coroutine = base.StartCoroutine(bnjfjokiell);
|
||||
return true;
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06012E11 RID: 77329 RVA: 0x00458638 File Offset: 0x00456838
|
||||
[Token(Token = "0x6012E11")]
|
||||
[Address(RVA = "0x403930", Offset = "0x402730", VA = "0x180403930")]
|
||||
private bool DFFGKAJAFEJ(Tool EGFEJGHDNAI, PlayerToolEquipSlot POFOFFDCGCB)
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x06012E12 RID: 77330 RVA: 0x00458648 File Offset: 0x00456848
|
||||
[Token(Token = "0x6012E12")]
|
||||
[Address(RVA = "0x862480", Offset = "0x861280", VA = "0x180862480")]
|
||||
private void DKEJCDEMBOM(Tool EGFEJGHDNAI, PlayerToolEquipSlot POFOFFDCGCB)
|
||||
{
|
||||
RecRoomAudioClip recRoomAudioClip = this.hipAttachSFX;
|
||||
Transform transform = EGFEJGHDNAI.transform;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
}
|
||||
|
||||
// Token: 0x06012E13 RID: 77331 RVA: 0x00458670 File Offset: 0x00456870
|
||||
[Token(Token = "0x6012E13")]
|
||||
[Address(RVA = "0x8631A0", Offset = "0x861FA0", VA = "0x1808631A0")]
|
||||
private void NIBNPKFAEMG(Tool EGFEJGHDNAI, PlayerToolEquipSlot POFOFFDCGCB)
|
||||
{
|
||||
RecRoomAudioClip recRoomAudioClip = this.hipDetachSFX;
|
||||
Transform transform = EGFEJGHDNAI.transform;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
}
|
||||
|
||||
// Token: 0x06012E14 RID: 77332 RVA: 0x00458698 File Offset: 0x00456898
|
||||
[Token(Token = "0x6012E14")]
|
||||
[Address(RVA = "0x8640D0", Offset = "0x862ED0", VA = "0x1808640D0")]
|
||||
public bool TryStoreToolInBag(Tool EGFEJGHDNAI)
|
||||
{
|
||||
int num = 0;
|
||||
if (!(EGFEJGHDNAI == num) && !EGFEJGHDNAI.FNFNLDBILFE && EGFEJGHDNAI.IsValidAttach())
|
||||
{
|
||||
List<FNCLOCJLFDG> list = this.bagSlots;
|
||||
int num2 = 0;
|
||||
BattleRoyaleGearBag.BattleRoyaleGearSlotDescriptor[] array = this.bagSlotDescriptors;
|
||||
num2++;
|
||||
num2 += array;
|
||||
OGNBCNBPFCC spawnableToolType = EGFEJGHDNAI.OGNBCNBPFCC;
|
||||
bool flag;
|
||||
if (flag)
|
||||
{
|
||||
List<FNCLOCJLFDG> list2 = this.bagSlots;
|
||||
bool flag2;
|
||||
if (!flag2)
|
||||
{
|
||||
List<FNCLOCJLFDG> list3 = this.bagSlots;
|
||||
bool flag3;
|
||||
if (!flag3)
|
||||
{
|
||||
goto IL_74;
|
||||
}
|
||||
}
|
||||
}
|
||||
List<FNCLOCJLFDG> list4 = this.bagSlots;
|
||||
num2++;
|
||||
IL_74:
|
||||
List<FNCLOCJLFDG> list5 = this.bagSlots;
|
||||
bool flag4;
|
||||
if (!flag4)
|
||||
{
|
||||
}
|
||||
Tool ephlnfkjgnb = this.EPHLNFKJGNB;
|
||||
int num3 = 0;
|
||||
bool flag5 = ephlnfkjgnb == num3;
|
||||
if (flag5)
|
||||
{
|
||||
this.EPHLNFKJGNB = EGFEJGHDNAI;
|
||||
}
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06012E15 RID: 77333 RVA: 0x00458754 File Offset: 0x00456954
|
||||
[Token(Token = "0x6012E15")]
|
||||
[Address(RVA = "0x861630", Offset = "0x860430", VA = "0x180861630")]
|
||||
private void APHKNDJGJHN(Tool NINJDJJANJC, FNCLOCJLFDG NBNHGMOPHOB)
|
||||
{
|
||||
RecRoomAudioClip[] array = this.modifyStoredToolSFX;
|
||||
Transform transform = base.transform;
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
int num3 = 0;
|
||||
SFXAudioSource sfxaudioSource = AudioManager.PlayRandom3DSFX(array, transform, num3, num2 != 0, num);
|
||||
Tool.OGLAJAFKBMN oglajafkbmn = new Tool.OGLAJAFKBMN(this.KAHAFODOEJE);
|
||||
NINJDJJANJC.AddCustomPickupCondition(oglajafkbmn);
|
||||
}
|
||||
|
||||
// Token: 0x06012E16 RID: 77334 RVA: 0x004587A0 File Offset: 0x004569A0
|
||||
[Token(Token = "0x6012E16")]
|
||||
[Address(RVA = "0x862F90", Offset = "0x861D90", VA = "0x180862F90")]
|
||||
private void LJKEMFECDLC(Tool NJLAKHOJJNJ, FNCLOCJLFDG NBNHGMOPHOB)
|
||||
{
|
||||
RecRoomAudioClip[] array = this.modifyStoredToolSFX;
|
||||
Transform transform = base.transform;
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
int num3 = 0;
|
||||
SFXAudioSource sfxaudioSource = AudioManager.PlayRandom3DSFX(array, transform, num3, num2 != 0, num);
|
||||
Tool.OGLAJAFKBMN oglajafkbmn = new Tool.OGLAJAFKBMN(this.KAHAFODOEJE);
|
||||
NJLAKHOJJNJ.RemoveCustomPickupCondition(oglajafkbmn);
|
||||
this.tool.rigidbodyEx.unityRigidbody.ResetCenterOfMass();
|
||||
}
|
||||
|
||||
// Token: 0x06012E17 RID: 77335 RVA: 0x00458800 File Offset: 0x00456A00
|
||||
[Token(Token = "0x6012E17")]
|
||||
[Address(RVA = "0x862C60", Offset = "0x861A60", VA = "0x180862C60")]
|
||||
private bool KAHAFODOEJE(Tool EGFEJGHDNAI, Player NHCEBNBEEBE, Vector3 JEDLNAEEMEN, bool GEJJBENPHJG)
|
||||
{
|
||||
if (this.FBFBJFNHNOG == (ulong)0L || this.MJFIFBHFJOC != NHCEBNBEEBE)
|
||||
{
|
||||
}
|
||||
if (this.MJFIFBHFJOC.BBHBBHEBCEO != LocalPlayerController.MIGPLDFLMHA.SCREEN)
|
||||
{
|
||||
PlayerToolEquipSlot shoulderSlot = this.MJFIFBHFJOC.toolEquipSlots.shoulderSlot;
|
||||
float z = JEDLNAEEMEN.z;
|
||||
bool flag;
|
||||
return flag;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
// Token: 0x06012E18 RID: 77336 RVA: 0x00458858 File Offset: 0x00456A58
|
||||
[Token(Token = "0x6012E18")]
|
||||
[Address(RVA = "0x862790", Offset = "0x861590", VA = "0x180862790")]
|
||||
private void HEKHJFHNEFA(ushort CPMPEJFMDED, ushort OEAPMLMHLLF)
|
||||
{
|
||||
Collider collider = this.easyAccessCollider;
|
||||
int num = 0;
|
||||
if (collider != num)
|
||||
{
|
||||
bool inVRDisplayMode = SingletonMonoBehaviour.ONCPNMDGGKG.EBPFBFMJMBB;
|
||||
GameObject gameObject = this.easyAccessCollider.gameObject;
|
||||
AGAJMBPABDL fbfbjfnhnog = this.FBFBJFNHNOG;
|
||||
if (fbfbjfnhnog == 0)
|
||||
{
|
||||
}
|
||||
bool dmkciepggab = fbfbjfnhnog.DMKCIEPGGAB;
|
||||
gameObject.SetActive(dmkciepggab);
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06012E19 RID: 77337 RVA: 0x004588B4 File Offset: 0x00456AB4
|
||||
[Token(Token = "0x6012E19")]
|
||||
[Address(RVA = "0x8626E0", Offset = "0x8614E0", VA = "0x1808626E0")]
|
||||
private void GJGAGMBKDAD(ushort CPMPEJFMDED, ushort OEAPMLMHLLF)
|
||||
{
|
||||
AGAJMBPABDL fbfbjfnhnog = this.FBFBJFNHNOG;
|
||||
if (fbfbjfnhnog != 0 && fbfbjfnhnog.DMKCIEPGGAB)
|
||||
{
|
||||
Collider collider = this.easyAccessCollider;
|
||||
int num = 0;
|
||||
if (collider != num)
|
||||
{
|
||||
GameObject gameObject = this.easyAccessCollider.gameObject;
|
||||
int num2 = 0;
|
||||
gameObject.SetActive(num2 != 0);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06012E1A RID: 77338 RVA: 0x00458908 File Offset: 0x00456B08
|
||||
[Token(Token = "0x6012E1A")]
|
||||
[Address(RVA = "0x862F20", Offset = "0x861D20", VA = "0x180862F20")]
|
||||
private IEnumerator LHDMBKBOINL(Tool EGFEJGHDNAI)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06012E1A)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Collections.IEnumerator RecRoom.Activities.BattleRoyale.BattleRoyaleGearBag::LHDMBKBOINL(Tool)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
call:void(BNJFJOKIELL::System.IDisposable.Dispose, ldloc:BNJFJOKIELL(var_0))
|
||||
stfld:BattleRoyaleGearBag(BNJFJOKIELL::<>4__this, ldloc:BNJFJOKIELL(var_0), ldloc:BattleRoyaleGearBag(this))
|
||||
stfld:int32(BNJFJOKIELL::<>1__state, ldloc:BNJFJOKIELL(var_0), conv.u8:uint64[exp:int32](ldc.i8:int64[exp:uint64](0)))
|
||||
stfld:Tool(BNJFJOKIELL::tool, ldloc:BNJFJOKIELL(var_0), ldloc:Tool(EGFEJGHDNAI))
|
||||
}
|
||||
|
||||
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: 0x06012E1B RID: 77339 RVA: 0x00458934 File Offset: 0x00456B34
|
||||
[Token(Token = "0x6012E1B")]
|
||||
[Address(RVA = "0x862870", Offset = "0x861670", VA = "0x180862870")]
|
||||
public static BattleRoyaleGearBag InstantiateForLocalPlayer(BattleRoyaleGearBag CFAPNBBHEKB)
|
||||
{
|
||||
int num = 0;
|
||||
int num2 = 0;
|
||||
if (CFAPNBBHEKB != num2)
|
||||
{
|
||||
MFBGLIHGCGO<Killzone> localPlayerEnteredKillzoneEvent = Player.LocalPlayerEnteredKillzoneEvent;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
BattleRoyaleGearBag.ALKGFHKHEPA.Clear();
|
||||
BattleRoyaleGearBag.ALKGFHKHEPA = new Dictionary();
|
||||
Dictionary<string, object> alkgfhkhepa = BattleRoyaleGearBag.ALKGFHKHEPA;
|
||||
string nfgpflpbcbn = BattleRoyaleGearBag.NFGPFLPBCBN;
|
||||
int inpoaaaoahi = KKPBCOOONNK.MDMMDPEKICF.INPOAAAOAHI;
|
||||
alkgfhkhepa.Add(nfgpflpbcbn, inpoaaaoahi);
|
||||
string name = CFAPNBBHEKB.name;
|
||||
Dictionary<string, object> alkgfhkhepa2 = BattleRoyaleGearBag.ALKGFHKHEPA;
|
||||
}
|
||||
int num3 = 0;
|
||||
if (num != num3)
|
||||
{
|
||||
}
|
||||
throw new NullReferenceException();
|
||||
}
|
||||
|
||||
// Token: 0x06012E1C RID: 77340 RVA: 0x004589C0 File Offset: 0x00456BC0
|
||||
[Token(Token = "0x6012E1C")]
|
||||
[Address(RVA = "0x8643B0", Offset = "0x8631B0", VA = "0x1808643B0")]
|
||||
public BattleRoyaleGearBag()
|
||||
{
|
||||
List<FNCLOCJLFDG> list = new List();
|
||||
this.bagSlots = list;
|
||||
base..ctor();
|
||||
}
|
||||
|
||||
// Token: 0x0400C3AF RID: 50095
|
||||
[FieldOffset(Offset = "0x40")]
|
||||
[Token(Token = "0x400C3AF")]
|
||||
[SerializeField]
|
||||
[DDPIINEJFMD(JIBDPHMGEGO.Self, false, false, false)]
|
||||
private Tool tool;
|
||||
|
||||
// Token: 0x0400C3B0 RID: 50096
|
||||
[FieldOffset(Offset = "0x48")]
|
||||
[Token(Token = "0x400C3B0")]
|
||||
[SerializeField]
|
||||
[Header("Settings")]
|
||||
private Collider easyAccessCollider;
|
||||
|
||||
// Token: 0x0400C3B1 RID: 50097
|
||||
[FieldOffset(Offset = "0x50")]
|
||||
[Token(Token = "0x400C3B1")]
|
||||
[SerializeField]
|
||||
[Header("Bag Slots")]
|
||||
private BattleRoyaleGearBag.BattleRoyaleGearSlotDescriptor[] bagSlotDescriptors;
|
||||
|
||||
// Token: 0x0400C3B2 RID: 50098
|
||||
[FieldOffset(Offset = "0x58")]
|
||||
[Token(Token = "0x400C3B2")]
|
||||
[SerializeField]
|
||||
[Header("Audio")]
|
||||
private RecRoomAudioClip putOnSFX;
|
||||
|
||||
// Token: 0x0400C3B3 RID: 50099
|
||||
[FieldOffset(Offset = "0x60")]
|
||||
[Token(Token = "0x400C3B3")]
|
||||
[SerializeField]
|
||||
private RecRoomAudioClip takeOffSFX;
|
||||
|
||||
// Token: 0x0400C3B4 RID: 50100
|
||||
[FieldOffset(Offset = "0x68")]
|
||||
[Token(Token = "0x400C3B4")]
|
||||
[SerializeField]
|
||||
private RecRoomAudioClip hipAttachSFX;
|
||||
|
||||
// Token: 0x0400C3B5 RID: 50101
|
||||
[FieldOffset(Offset = "0x70")]
|
||||
[Token(Token = "0x400C3B5")]
|
||||
[SerializeField]
|
||||
private RecRoomAudioClip hipDetachSFX;
|
||||
|
||||
// Token: 0x0400C3B6 RID: 50102
|
||||
[FieldOffset(Offset = "0x78")]
|
||||
[Token(Token = "0x400C3B6")]
|
||||
[SerializeField]
|
||||
private RecRoomAudioClip[] modifyStoredToolSFX;
|
||||
|
||||
// Token: 0x0400C3B7 RID: 50103
|
||||
[FieldOffset(Offset = "0x80")]
|
||||
[Token(Token = "0x400C3B7")]
|
||||
private HKKOHFHADKK CMHGDPOKGOA;
|
||||
|
||||
// Token: 0x0400C3B8 RID: 50104
|
||||
[FieldOffset(Offset = "0x88")]
|
||||
[Token(Token = "0x400C3B8")]
|
||||
private AGAJMBPABDL FBFBJFNHNOG;
|
||||
|
||||
// Token: 0x0400C3B9 RID: 50105
|
||||
[FieldOffset(Offset = "0x90")]
|
||||
[Token(Token = "0x400C3B9")]
|
||||
private Player MJFIFBHFJOC;
|
||||
|
||||
// Token: 0x0400C3BA RID: 50106
|
||||
[FieldOffset(Offset = "0x98")]
|
||||
[Token(Token = "0x400C3BA")]
|
||||
public List<FNCLOCJLFDG> bagSlots;
|
||||
|
||||
// Token: 0x0400C3BB RID: 50107
|
||||
[Token(Token = "0x400C3BB")]
|
||||
private static Dictionary<string, object> ALKGFHKHEPA;
|
||||
|
||||
// Token: 0x0400C3BC RID: 50108
|
||||
[FieldOffset(Offset = "0xA0")]
|
||||
[Token(Token = "0x400C3BC")]
|
||||
private Tool EPHLNFKJGNB;
|
||||
|
||||
// Token: 0x0400C3BD RID: 50109
|
||||
[Token(Token = "0x400C3BD")]
|
||||
private static readonly string NFGPFLPBCBN = "PEB.WEARER_ID";
|
||||
|
||||
// Token: 0x0400C3BE RID: 50110
|
||||
[Token(Token = "0x400C3BE")]
|
||||
private static readonly string IHEGGDCPIEH = "Purpose";
|
||||
|
||||
// Token: 0x02002BCC RID: 11212
|
||||
[Token(Token = "0x2002BCC")]
|
||||
private enum DLADIMOEPGJ
|
||||
{
|
||||
// Token: 0x0400C3C0 RID: 50112
|
||||
[Token(Token = "0x400C3C0")]
|
||||
ON_BACK,
|
||||
// Token: 0x0400C3C1 RID: 50113
|
||||
[Token(Token = "0x400C3C1")]
|
||||
NOT_ON_BACK
|
||||
}
|
||||
|
||||
// Token: 0x02002BCD RID: 11213
|
||||
[Token(Token = "0x2002BCD")]
|
||||
[Serializable]
|
||||
private struct BattleRoyaleGearSlotDescriptor
|
||||
{
|
||||
// Token: 0x170034A6 RID: 13478
|
||||
// (get) Token: 0x06012E1E RID: 77342 RVA: 0x00458A04 File Offset: 0x00456C04
|
||||
[Token(Token = "0x170034A6")]
|
||||
public OGNBCNBPFCC[] SupportedEquipmentTypes
|
||||
{
|
||||
[Token(Token = "0x6012E1E")]
|
||||
[Address(RVA = "0x867290", Offset = "0x866090", VA = "0x180867290")]
|
||||
get
|
||||
{
|
||||
OGNBCNBPFCC[] supportedEquipmentTypes = this._supportedEquipmentTypes;
|
||||
if (supportedEquipmentTypes == 0)
|
||||
{
|
||||
SerializedGuid[] supportedEquipmentTypeIds = this.SupportedEquipmentTypeIds;
|
||||
if (supportedEquipmentTypeIds != 0)
|
||||
{
|
||||
int num;
|
||||
Func<SerializedGuid, OGNBCNBPFCC> func = new Func(num.CCFEJLNMDLG);
|
||||
num = 0;
|
||||
OGNBCNBPFCC[] array = Enumerable.ToArray<OGNBCNBPFCC>(Enumerable.Select<SerializedGuid, OGNBCNBPFCC>(supportedEquipmentTypeIds, func));
|
||||
this._supportedEquipmentTypes = array;
|
||||
return array;
|
||||
}
|
||||
}
|
||||
return supportedEquipmentTypes;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x0400C3C2 RID: 50114
|
||||
[FieldOffset(Offset = "0x0")]
|
||||
[Token(Token = "0x400C3C2")]
|
||||
[SerializeField]
|
||||
public string Name;
|
||||
|
||||
// Token: 0x0400C3C3 RID: 50115
|
||||
[FieldOffset(Offset = "0x8")]
|
||||
[Token(Token = "0x400C3C3")]
|
||||
[SerializeField]
|
||||
public Transform SlotTransform;
|
||||
|
||||
// Token: 0x0400C3C4 RID: 50116
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x400C3C4")]
|
||||
[SerializeField]
|
||||
[HELOBGLDDLH.KBCDAGDEHAO(false)]
|
||||
public SerializedGuid[] SupportedEquipmentTypeIds;
|
||||
|
||||
// Token: 0x0400C3C5 RID: 50117
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400C3C5")]
|
||||
[NonSerialized]
|
||||
private OGNBCNBPFCC[] _supportedEquipmentTypes;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user