83 lines
4.3 KiB
C#
83 lines
4.3 KiB
C#
using System;
|
|
using Cpp2IlInjected;
|
|
using UnityEngine;
|
|
|
|
namespace RecRoom.Core.UI
|
|
{
|
|
// Token: 0x0200310C RID: 12556
|
|
[Token(Token = "0x200310C")]
|
|
public class UIInputMaxRayDistance : MonoBehaviour
|
|
{
|
|
// Token: 0x17003A6A RID: 14954
|
|
// (get) Token: 0x060153CE RID: 86990 RVA: 0x004F186C File Offset: 0x004EFA6C
|
|
// (set) Token: 0x060153CF RID: 86991 RVA: 0x004F1880 File Offset: 0x004EFA80
|
|
[Token(Token = "0x17003A6A")]
|
|
public float FAMLGBOPMLI
|
|
{
|
|
[Token(Token = "0x60153CE")]
|
|
[Address(RVA = "0x7A91F0", Offset = "0x7A81F0", VA = "0x1807A91F0")]
|
|
get
|
|
{
|
|
return this.maximumRaycastDistance;
|
|
}
|
|
[Token(Token = "0x60153CF")]
|
|
[Address(RVA = "0x7A9210", Offset = "0x7A8210", VA = "0x1807A9210")]
|
|
set
|
|
{
|
|
this.maximumRaycastDistance = value;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060153D0 RID: 86992 RVA: 0x004F1894 File Offset: 0x004EFA94
|
|
[Token(Token = "0x60153D0")]
|
|
[Address(RVA = "0x1606870", Offset = "0x1605870", VA = "0x181606870")]
|
|
public bool IsInRange(float FAONCIOCBGG)
|
|
{
|
|
/*
|
|
An exception occurred when decompiling this method (060153D0)
|
|
|
|
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: 0x060153D1 RID: 86993 RVA: 0x004F18A8 File Offset: 0x004EFAA8
|
|
[Token(Token = "0x60153D1")]
|
|
[Address(RVA = "0x1606880", Offset = "0x1605880", VA = "0x181606880")]
|
|
private void OnDrawGizmosSelected()
|
|
{
|
|
Gizmos.color = 0;
|
|
Transform transform = base.transform;
|
|
Vector3 vector;
|
|
float z = vector.z;
|
|
}
|
|
|
|
// Token: 0x060153D2 RID: 86994 RVA: 0x004F18D0 File Offset: 0x004EFAD0
|
|
[Token(Token = "0x60153D2")]
|
|
[Address(RVA = "0x1606930", Offset = "0x1605930", VA = "0x181606930")]
|
|
public UIInputMaxRayDistance()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400E037 RID: 57399
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x400E037")]
|
|
[SerializeField]
|
|
[CFNAPIMJMLJ("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;
|
|
}
|
|
}
|