using System; using Cpp2IlInjected; using UnityEngine; // Token: 0x020003B9 RID: 953 [Token(Token = "0x20003B9")] [AttributeUsage(AttributeTargets.Field)] public class InspectorButtonAttribute : PropertyAttribute { // Token: 0x170001FB RID: 507 // (get) Token: 0x060023FD RID: 9213 RVA: 0x00055DE4 File Offset: 0x00053FE4 // (set) Token: 0x060023FE RID: 9214 RVA: 0x00055DF8 File Offset: 0x00053FF8 [Token(Token = "0x170001FB")] public float ButtonWidth { [Token(Token = "0x60023FD")] [Address(RVA = "0x75AF40", Offset = "0x759F40", VA = "0x18075AF40")] get { return this._buttonWidth; } [Token(Token = "0x60023FE")] [Address(RVA = "0x75AF60", Offset = "0x759F60", VA = "0x18075AF60")] set { this._buttonWidth = value; } } // Token: 0x060023FF RID: 9215 RVA: 0x00055E0C File Offset: 0x0005400C [Token(Token = "0x60023FF")] [Address(RVA = "0x1042790", Offset = "0x1041790", VA = "0x181042790")] public InspectorButtonAttribute(string MethodName) { /* An exception occurred when decompiling this method (060023FF) ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Void InspectorButtonAttribute::.ctor(System.String) ---> System.Exception: Basic block has to end with unconditional control flow. {; Block_0:; stloc:float32(var_0_05, ldsfld:float32(InspectorButtonAttribute::kDefaultButtonWidth)); stfld:float32(InspectorButtonAttribute::_buttonWidth, ldloc:InspectorButtonAttribute(this), ldloc:float32(var_0_05)); call:void(PropertyAttribute::.ctor, ldloc:InspectorButtonAttribute[exp:PropertyAttribute](this)); stfld:string(InspectorButtonAttribute::MethodName, ldloc:InspectorButtonAttribute(this), ldloc:string(MethodName)); }; at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1810 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 344 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 1618 */; } // Token: 0x04002D7B RID: 11643 [Token(Token = "0x4002D7B")] public static float kDefaultButtonWidth; // Token: 0x04002D7C RID: 11644 [FieldOffset(Offset = "0x10")] [Token(Token = "0x4002D7C")] public readonly string MethodName; // Token: 0x04002D7D RID: 11645 [FieldOffset(Offset = "0x18")] [Token(Token = "0x4002D7D")] private float _buttonWidth; }