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

222 lines
13 KiB
C#

using System;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom.Activities.BattleRoyale
{
// Token: 0x02002BDF RID: 11231
[Token(Token = "0x2002BDF")]
public class BattleRoyaleMapManager : MonoBehaviour
{
// Token: 0x170034BE RID: 13502
// (get) Token: 0x06012ED2 RID: 77522 RVA: 0x0045CF98 File Offset: 0x0045B198
// (set) Token: 0x06012ED3 RID: 77523 RVA: 0x0045CFAC File Offset: 0x0045B1AC
[Token(Token = "0x170034BE")]
public static BattleRoyaleMapManager ONCPNMDGGKG
{
[Token(Token = "0x6012ED2")]
[Address(RVA = "0x8740A0", Offset = "0x872EA0", VA = "0x1808740A0")]
get;
[Token(Token = "0x6012ED3")]
[Address(RVA = "0x873EF0", Offset = "0x872CF0", VA = "0x180873EF0")]
private set;
}
// Token: 0x06012ED4 RID: 77524 RVA: 0x0045CFC0 File Offset: 0x0045B1C0
[Token(Token = "0x6012ED4")]
[Address(RVA = "0x873700", Offset = "0x872500", VA = "0x180873700")]
private void Awake()
{
BattleRoyaleMapManager battleRoyaleMapManager = BattleRoyaleMapManager.<OCDLBPHJMOP>k__BackingField;
int num = 0;
if (battleRoyaleMapManager == num)
{
BattleRoyaleMapManager.<OCDLBPHJMOP>k__BackingField = this;
}
Vector3 up = Vector3.up;
Vector3 vector;
float z = vector.z;
this.OIMCIHEJLBM.z = z;
float num2;
this.APNGOPMMIJF = num2;
Vector3 vector2;
float z2 = vector2.z;
this.OIMCIHEJLBM.z = z2;
Vector3 up2 = Vector3.up;
Vector3 vector3;
float z3 = vector3.z;
this.HNPFFLLONGJ.z = z3;
float num3;
this.GPHJICFDCBH = num3;
Vector3 vector4;
float z4 = vector4.z;
this.HNPFFLLONGJ.z = z4;
}
// Token: 0x06012ED5 RID: 77525 RVA: 0x0045D05C File Offset: 0x0045B25C
[Token(Token = "0x6012ED5")]
[Address(RVA = "0x873F30", Offset = "0x872D30", VA = "0x180873F30")]
private void OnDestroy()
{
if (BattleRoyaleMapManager.<OCDLBPHJMOP>k__BackingField == this)
{
}
}
// Token: 0x06012ED6 RID: 77526 RVA: 0x0045D078 File Offset: 0x0045B278
[Token(Token = "0x6012ED6")]
[Address(RVA = "0x873A10", Offset = "0x872810", VA = "0x180873A10")]
public Vector3 GetMapSpacePoint(Vector3 IJMEBODGPDG, Transform ENKCEKBDOIH, Vector3 ABEGEHOLLPK, float GMJJPIFDHGH = 0f)
{
throw new NullReferenceException();
}
// Token: 0x06012ED7 RID: 77527 RVA: 0x0045D08C File Offset: 0x0045B28C
[Token(Token = "0x6012ED7")]
[Address(RVA = "0x873BF0", Offset = "0x8729F0", VA = "0x180873BF0")]
public Vector3 GetNormalizedMapSpacePoint(Vector3 IJMEBODGPDG, float GMJJPIFDHGH = 0f)
{
/*
An exception occurred when decompiling this method (06012ED7)
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Vector3 RecRoom.Activities.BattleRoyale.BattleRoyaleMapManager::GetNormalizedMapSpacePoint(UnityEngine.Vector3,System.Single)
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:float32(var_1_06, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](var_0)))
}
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 1660
*/;
}
// Token: 0x06012ED8 RID: 77528 RVA: 0x0045D0A4 File Offset: 0x0045B2A4
[Token(Token = "0x6012ED8")]
[Address(RVA = "0x873AE0", Offset = "0x8728E0", VA = "0x180873AE0")]
public Quaternion GetMapSpaceRotation(Vector3 FFHEILCNOEB)
{
/*
An exception occurred when decompiling this method (06012ED8)
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Quaternion RecRoom.Activities.BattleRoyale.BattleRoyaleMapManager::GetMapSpaceRotation(UnityEngine.Vector3)
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:float32(var_0_0A, ldfld:float32(Vector3::z, callgetter:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](Vector3::get_forward)))
stloc:float32(var_2_11, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](var_1)))
}
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 1660
*/;
}
// Token: 0x06012ED9 RID: 77529 RVA: 0x0045D0C4 File Offset: 0x0045B2C4
[Token(Token = "0x6012ED9")]
[Address(RVA = "0x873990", Offset = "0x872790", VA = "0x180873990")]
public float GetMapSpaceDistance(float FAEHMLDJNHB)
{
return Mathf.InverseLerp((float)0, FAEHMLDJNHB, FAEHMLDJNHB);
}
// Token: 0x06012EDA RID: 77530 RVA: 0x0045D0DC File Offset: 0x0045B2DC
[Token(Token = "0x6012EDA")]
[Address(RVA = "0x873D60", Offset = "0x872B60", VA = "0x180873D60")]
private Vector3 LODHDNAKAFE(Vector3 BIBABDPNNKB)
{
/*
An exception occurred when decompiling this method (06012EDA)
ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Vector3 RecRoom.Activities.BattleRoyale.BattleRoyaleMapManager::LODHDNAKAFE(UnityEngine.Vector3)
---> System.Exception: Basic block has to end with unconditional control flow.
{
Block_0:
stloc:int32(var_1_01, ldc.i4:int32(0))
stloc:Vector3(var_2_07, callgetter:Vector3(Vector3::get_right))
stloc:Vector3(var_3_0F, call:Vector3(Vector3::op_Multiply, ldloc:float32(var_0), ldloc:int32[exp:Vector3](var_1_01)))
stloc:int32(var_5_11, ldc.i4:int32(0))
stloc:float32(var_0, ldloc:float32(var_4))
stloc:Vector3(var_6_1B, callgetter:Vector3(Vector3::get_up))
stloc:Vector3(var_7_26, call:Vector3(Vector3::op_Multiply, ldloc:float32(var_4), ldloc:int32[exp:Vector3](var_5_11)))
stloc:float32(var_9_2F, ldfld:float32(Vector3::z, ldloc:Vector3[exp:valuetype [UnityEngine.CoreModule]UnityEngine.Vector3&](var_8)))
}
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 1660
*/;
}
// Token: 0x06012EDB RID: 77531 RVA: 0x0045D11C File Offset: 0x0045B31C
[Token(Token = "0x6012EDB")]
[Address(RVA = "0x873FF0", Offset = "0x872DF0", VA = "0x180873FF0")]
public BattleRoyaleMapManager()
{
float z = Vector3.zero.z;
this.lowerLeftCornerWorldSpacePosition.z = z;
float z2 = Vector3.zero.z;
this.lowerRightCornerWorldSpacePosition.z = z2;
float z3 = Vector3.zero.z;
this.upperLeftCornerWorldSpacePosition.z = z3;
base..ctor();
}
// Token: 0x0400C462 RID: 50274
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400C462")]
[SerializeField]
[Header("World Space Corners")]
private Vector3 lowerLeftCornerWorldSpacePosition;
// Token: 0x0400C463 RID: 50275
[FieldOffset(Offset = "0x24")]
[Token(Token = "0x400C463")]
[SerializeField]
private Vector3 lowerRightCornerWorldSpacePosition;
// Token: 0x0400C464 RID: 50276
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x400C464")]
[SerializeField]
private Vector3 upperLeftCornerWorldSpacePosition;
// Token: 0x0400C465 RID: 50277
[FieldOffset(Offset = "0x3C")]
[Token(Token = "0x400C465")]
private Vector3 OIMCIHEJLBM;
// Token: 0x0400C466 RID: 50278
[FieldOffset(Offset = "0x48")]
[Token(Token = "0x400C466")]
private Vector3 HNPFFLLONGJ;
// Token: 0x0400C467 RID: 50279
[FieldOffset(Offset = "0x54")]
[Token(Token = "0x400C467")]
private float APNGOPMMIJF;
// Token: 0x0400C468 RID: 50280
[FieldOffset(Offset = "0x58")]
[Token(Token = "0x400C468")]
private float GPHJICFDCBH;
}
}