Files
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

219 lines
9.7 KiB
C#

using System;
using System.Collections.Generic;
using Cpp2IlInjected;
using UnityEngine;
namespace RecRoom
{
// Token: 0x020020E9 RID: 8425
[Token(Token = "0x20020E9")]
[Serializable]
public sealed class ScenePhysicsSettings : KCIGBIPBBBJ
{
// Token: 0x170021ED RID: 8685
// (get) Token: 0x0600D485 RID: 54405 RVA: 0x0030994C File Offset: 0x00307B4C
[Token(Token = "0x170021ED")]
public ScenePhysicsSettings.PhysicsLODSettings LODSettings
{
[Token(Token = "0x600D485")]
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0")]
get
{
return this.lodSettings;
}
}
// Token: 0x0600D486 RID: 54406 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x600D486")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "4")]
public void IHGCLBJNCCH(RecRoomSceneManager LJPBCKELDPM)
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600D487 RID: 54407 RVA: 0x00309960 File Offset: 0x00307B60
[Token(Token = "0x600D487")]
[Address(RVA = "0x14A4540", Offset = "0x14A3540", VA = "0x1814A4540", Slot = "5")]
public void DJFDPJKOGMJ()
{
float z = this.gravity.z;
Physics.bounceThreshold = this.bounceThreshold;
}
// Token: 0x0600D488 RID: 54408 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x600D488")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "6")]
public void JCINJNBJMGN()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600D489 RID: 54409 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x600D489")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "7")]
public void OPEMIFENIJM()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600D48A RID: 54410 RVA: 0x0000220F File Offset: 0x0000040F
[Token(Token = "0x600D48A")]
[Address(RVA = "0x4242D0", Offset = "0x4232D0", VA = "0x1804242D0", Slot = "8")]
public void DFGGGKEBGHP()
{
throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
}
// Token: 0x0600D48B RID: 54411 RVA: 0x00309984 File Offset: 0x00307B84
[Token(Token = "0x600D48B")]
[Address(RVA = "0x14A4580", Offset = "0x14A3580", VA = "0x1814A4580")]
public ScenePhysicsSettings()
{
int num = 0;
int num2 = 0;
this.gravity.z = (float)num;
this.bounceThreshold = 2f;
this.IHGCLBJNCCH(num2);
}
// Token: 0x04008735 RID: 34613
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4008735")]
[SerializeField]
private Vector3 gravity;
// Token: 0x04008736 RID: 34614
[FieldOffset(Offset = "0x1C")]
[Token(Token = "0x4008736")]
[SerializeField]
private float bounceThreshold;
// Token: 0x04008737 RID: 34615
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4008737")]
[SerializeField]
private ScenePhysicsSettings.PhysicsLODSettings lodSettings;
// Token: 0x020020EA RID: 8426
[Token(Token = "0x20020EA")]
[Serializable]
public sealed class PhysicsLODSettings
{
// Token: 0x0600D48C RID: 54412 RVA: 0x003099B4 File Offset: 0x00307BB4
[Token(Token = "0x600D48C")]
[Address(RVA = "0x1492160", Offset = "0x1491160", VA = "0x181492160")]
public float EEIGFHPOPJH(EEDONNAHMFK EJJGPPDAPDJ)
{
/*
An exception occurred when decompiling this method (0600D48C)
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: 0x0600D48D RID: 54413 RVA: 0x00309A28 File Offset: 0x00307C28
[Token(Token = "0x600D48D")]
[Address(RVA = "0x1492350", Offset = "0x1491350", VA = "0x181492350")]
private void GCKHHECMAAK()
{
Dictionary<EEDONNAHMFK, float> dictionary = new Dictionary();
throw new NullReferenceException();
}
// Token: 0x0600D48E RID: 54414 RVA: 0x00309A78 File Offset: 0x00307C78
[Token(Token = "0x600D48E")]
[Address(RVA = "0x1492510", Offset = "0x1491510", VA = "0x181492510")]
public PhysicsLODSettings()
{
}
// Token: 0x04008738 RID: 34616
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4008738")]
[SerializeField]
private float UnderTwoPointFiveMeterUpdateRate = -1f;
// Token: 0x04008739 RID: 34617
[FieldOffset(Offset = "0x14")]
[Token(Token = "0x4008739")]
[SerializeField]
private float UnderFiveMeterUpdateRate = -1f;
// Token: 0x0400873A RID: 34618
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x400873A")]
[SerializeField]
private float UnderTenMeterUpdateRate = 60f;
// Token: 0x0400873B RID: 34619
[FieldOffset(Offset = "0x1C")]
[Token(Token = "0x400873B")]
[SerializeField]
private float UnderTwentyMeterUpdateRate = 30f;
// Token: 0x0400873C RID: 34620
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x400873C")]
[SerializeField]
private float UnderFiftyMeterUpdateRate = 10f;
// Token: 0x0400873D RID: 34621
[FieldOffset(Offset = "0x24")]
[Token(Token = "0x400873D")]
[SerializeField]
private float UnderHundredMeterUpdateRate = 2f;
// Token: 0x0400873E RID: 34622
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x400873E")]
[SerializeField]
private float UnderFiveHundredMeterUpdateRate = 0.25f;
// Token: 0x0400873F RID: 34623
[FieldOffset(Offset = "0x2C")]
[Token(Token = "0x400873F")]
[SerializeField]
private float GreaterThanFiveHundredMeterUpdateRate = 0.01f;
// Token: 0x04008740 RID: 34624
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x4008740")]
private Dictionary<EEDONNAHMFK, float> updateRates;
// Token: 0x04008741 RID: 34625
[Token(Token = "0x4008741")]
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
};
}
}
}