oh dear
This commit is contained in:
@@ -0,0 +1,82 @@
|
||||
using System;
|
||||
using Cpp2IlInjected;
|
||||
using UnityEngine;
|
||||
|
||||
namespace RecRoom.Core.UI
|
||||
{
|
||||
// Token: 0x02003022 RID: 12322
|
||||
[Token(Token = "0x2003022")]
|
||||
public class UIInputMaxRayDistance : MonoBehaviour
|
||||
{
|
||||
// Token: 0x170039B1 RID: 14769
|
||||
// (get) Token: 0x06014F81 RID: 85889 RVA: 0x004E7764 File Offset: 0x004E5964
|
||||
// (set) Token: 0x06014F82 RID: 85890 RVA: 0x004E7778 File Offset: 0x004E5978
|
||||
[Token(Token = "0x170039B1")]
|
||||
public float FAMLGBOPMLI
|
||||
{
|
||||
[Token(Token = "0x6014F81")]
|
||||
[Address(RVA = "0x7634E0", Offset = "0x7622E0", VA = "0x1807634E0")]
|
||||
get
|
||||
{
|
||||
return this.maximumRaycastDistance;
|
||||
}
|
||||
[Token(Token = "0x6014F82")]
|
||||
[Address(RVA = "0x731040", Offset = "0x72FE40", VA = "0x180731040")]
|
||||
set
|
||||
{
|
||||
this.maximumRaycastDistance = value;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06014F83 RID: 85891 RVA: 0x004E778C File Offset: 0x004E598C
|
||||
[Token(Token = "0x6014F83")]
|
||||
[Address(RVA = "0x9BB260", Offset = "0x9BA060", VA = "0x1809BB260")]
|
||||
public bool IsInRange(float FAONCIOCBGG)
|
||||
{
|
||||
/*
|
||||
An exception occurred when decompiling this method (06014F83)
|
||||
|
||||
ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean RecRoom.Core.UI.UIInputMaxRayDistance::IsInRange(System.Single)
|
||||
|
||||
---> System.Exception: Basic block has to end with unconditional control flow.
|
||||
{
|
||||
Block_0:
|
||||
stloc:float32(var_0_06, ldfld:float32(UIInputMaxRayDistance::maximumRaycastDistance, ldloc:UIInputMaxRayDistance(this)))
|
||||
}
|
||||
|
||||
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: 0x06014F84 RID: 85892 RVA: 0x004E77A0 File Offset: 0x004E59A0
|
||||
[Token(Token = "0x6014F84")]
|
||||
[Address(RVA = "0x9BB270", Offset = "0x9BA070", VA = "0x1809BB270")]
|
||||
private void OnDrawGizmosSelected()
|
||||
{
|
||||
Gizmos.color = 0;
|
||||
Transform transform = base.transform;
|
||||
Vector3 vector;
|
||||
float z = vector.z;
|
||||
}
|
||||
|
||||
// Token: 0x06014F85 RID: 85893 RVA: 0x004E77C8 File Offset: 0x004E59C8
|
||||
[Token(Token = "0x6014F85")]
|
||||
[Address(RVA = "0x9BB320", Offset = "0x9BA120", VA = "0x1809BB320")]
|
||||
public UIInputMaxRayDistance()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0400DE08 RID: 56840
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x400DE08")]
|
||||
[SerializeField]
|
||||
[IKJMHFGIDEP("Visualize Gizmos to see the range (although not necessarily the area) from which you can raycast the children of this gameobject")]
|
||||
private float maximumRaycastDistance = 5f;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user