221 lines
10 KiB
C#
221 lines
10 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom
|
|
{
|
|
// Token: 0x02001C76 RID: 7286
|
|
[Token(Token = "0x2001C76")]
|
|
[Serializable]
|
|
[StructLayout(3)]
|
|
public sealed class ScenePhysicsSettings : KCIGBIPBBBJ
|
|
{
|
|
// Token: 0x17001E90 RID: 7824
|
|
// (get) Token: 0x0600C360 RID: 50016 RVA: 0x002E18FC File Offset: 0x002DFAFC
|
|
[Token(Token = "0x17001E90")]
|
|
public ScenePhysicsSettings.PhysicsLODSettings LODSettings
|
|
{
|
|
[Token(Token = "0x600C360")]
|
|
[Address(RVA = "0x3C1220", Offset = "0x3BFC20", VA = "0x1803C1220")]
|
|
get
|
|
{
|
|
return this.lodSettings;
|
|
}
|
|
}
|
|
|
|
// Token: 0x0600C361 RID: 50017 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600C361")]
|
|
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "4")]
|
|
public void IHGCLBJNCCH(RecRoomSceneManager LJPBCKELDPM)
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600C362 RID: 50018 RVA: 0x002E1910 File Offset: 0x002DFB10
|
|
[Token(Token = "0x600C362")]
|
|
[Address(RVA = "0x10EA530", Offset = "0x10E8F30", VA = "0x1810EA530", Slot = "5")]
|
|
public void DJFDPJKOGMJ()
|
|
{
|
|
float z = this.gravity.z;
|
|
Physics.bounceThreshold = this.bounceThreshold;
|
|
}
|
|
|
|
// Token: 0x0600C363 RID: 50019 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600C363")]
|
|
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "6")]
|
|
public void JCINJNBJMGN()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600C364 RID: 50020 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600C364")]
|
|
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "7")]
|
|
public void OPEMIFENIJM()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600C365 RID: 50021 RVA: 0x0000220F File Offset: 0x0000040F
|
|
[Token(Token = "0x600C365")]
|
|
[Address(RVA = "0x3C9F60", Offset = "0x3C8960", VA = "0x1803C9F60", Slot = "8")]
|
|
public void DFGGGKEBGHP()
|
|
{
|
|
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
|
|
}
|
|
|
|
// Token: 0x0600C366 RID: 50022 RVA: 0x002E1934 File Offset: 0x002DFB34
|
|
[Token(Token = "0x600C366")]
|
|
[Address(RVA = "0x10EA570", Offset = "0x10E8F70", VA = "0x1810EA570")]
|
|
public ScenePhysicsSettings()
|
|
{
|
|
int num = 0;
|
|
int num2 = 0;
|
|
this.gravity.z = (float)num;
|
|
this.bounceThreshold = 2f;
|
|
this.IHGCLBJNCCH(num2);
|
|
}
|
|
|
|
// Token: 0x0400813B RID: 33083
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400813B")]
|
|
[SerializeField]
|
|
private Vector3 gravity;
|
|
|
|
// Token: 0x0400813C RID: 33084
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x400813C")]
|
|
[SerializeField]
|
|
private float bounceThreshold;
|
|
|
|
// Token: 0x0400813D RID: 33085
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x400813D")]
|
|
[SerializeField]
|
|
private ScenePhysicsSettings.PhysicsLODSettings lodSettings;
|
|
|
|
// Token: 0x02001C77 RID: 7287
|
|
[Token(Token = "0x2001C77")]
|
|
[Serializable]
|
|
public sealed class PhysicsLODSettings
|
|
{
|
|
// Token: 0x0600C367 RID: 50023 RVA: 0x002E1964 File Offset: 0x002DFB64
|
|
[Token(Token = "0x600C367")]
|
|
[Address(RVA = "0x10D7FA0", Offset = "0x10D69A0", VA = "0x1810D7FA0")]
|
|
public float EEIGFHPOPJH(EEDONNAHMFK EJJGPPDAPDJ)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (0600C367)
|
|
|
|
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single RecRoom.ScenePhysicsSettings/PhysicsLODSettings::EEIGFHPOPJH(EEDONNAHMFK)
|
|
|
|
---> System.Exception: Basic block has to end with unconditional control flow.
|
|
{
|
|
IL_54:
|
|
stloc:InvalidOperationException(var_5_65, newobj:InvalidOperationException(InvalidOperationException::.ctor, call:string(string::Format, ldstr:string("Unknown update LOD {0}!"), ldloc:NullReferenceException[exp:object](var_4))))
|
|
}
|
|
|
|
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.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
|
|
at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
|
|
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: 0x0600C368 RID: 50024 RVA: 0x002E19D8 File Offset: 0x002DFBD8
|
|
[Token(Token = "0x600C368")]
|
|
[Address(RVA = "0x10D8190", Offset = "0x10D6B90", VA = "0x1810D8190")]
|
|
private void GCKHHECMAAK()
|
|
{
|
|
Dictionary<EEDONNAHMFK, float> dictionary = new Dictionary();
|
|
throw new NullReferenceException();
|
|
}
|
|
|
|
// Token: 0x0600C369 RID: 50025 RVA: 0x002E1A28 File Offset: 0x002DFC28
|
|
[Token(Token = "0x600C369")]
|
|
[Address(RVA = "0x10D8350", Offset = "0x10D6D50", VA = "0x1810D8350")]
|
|
public PhysicsLODSettings()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400813E RID: 33086
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x400813E")]
|
|
[SerializeField]
|
|
private float UnderTwoPointFiveMeterUpdateRate = -1f;
|
|
|
|
// Token: 0x0400813F RID: 33087
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x14")]
|
|
[Token(Token = "0x400813F")]
|
|
[SerializeField]
|
|
private float UnderFiveMeterUpdateRate = -1f;
|
|
|
|
// Token: 0x04008140 RID: 33088
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4008140")]
|
|
[SerializeField]
|
|
private float UnderTenMeterUpdateRate = 60f;
|
|
|
|
// Token: 0x04008141 RID: 33089
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x1C")]
|
|
[Token(Token = "0x4008141")]
|
|
[SerializeField]
|
|
private float UnderTwentyMeterUpdateRate = 30f;
|
|
|
|
// Token: 0x04008142 RID: 33090
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4008142")]
|
|
[SerializeField]
|
|
private float UnderFiftyMeterUpdateRate = 10f;
|
|
|
|
// Token: 0x04008143 RID: 33091
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x24")]
|
|
[Token(Token = "0x4008143")]
|
|
[SerializeField]
|
|
private float UnderHundredMeterUpdateRate = 2f;
|
|
|
|
// Token: 0x04008144 RID: 33092
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4008144")]
|
|
[SerializeField]
|
|
private float UnderFiveHundredMeterUpdateRate = 0.25f;
|
|
|
|
// Token: 0x04008145 RID: 33093
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x2C")]
|
|
[Token(Token = "0x4008145")]
|
|
[SerializeField]
|
|
private float GreaterThanFiveHundredMeterUpdateRate = 0.01f;
|
|
|
|
// Token: 0x04008146 RID: 33094
|
|
[global::Cpp2IlInjected.FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x4008146")]
|
|
private Dictionary<EEDONNAHMFK, float> updateRates;
|
|
|
|
// Token: 0x04008147 RID: 33095
|
|
[Token(Token = "0x4008147")]
|
|
public static readonly ScenePhysicsSettings.PhysicsLODSettings DefaultPhysicsSettings = new ScenePhysicsSettings.PhysicsLODSettings
|
|
{
|
|
UnderTwoPointFiveMeterUpdateRate = -1f,
|
|
UnderFiveMeterUpdateRate = -1f,
|
|
UnderTenMeterUpdateRate = 60f,
|
|
UnderTwentyMeterUpdateRate = 30f,
|
|
UnderFiftyMeterUpdateRate = 10f,
|
|
UnderHundredMeterUpdateRate = 2f,
|
|
UnderFiveHundredMeterUpdateRate = 0.25f,
|
|
GreaterThanFiveHundredMeterUpdateRate = 0.01f
|
|
};
|
|
}
|
|
}
|
|
}
|