terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ CreateSubcategoryButton< T >()

GroupOptionButton< int > Terraria.GameContent.UI.States.UICreativePowersMenu.CreateSubcategoryButton< T > ( CreativePowerUIElementRequestInfo request,
int subcategoryDepth,
string subcategoryName,
int subcategoryIndex,
int currentSelectedInSubcategory,
Dictionary< int, GroupOptionButton< int > > subcategoryButtons,
Dictionary< int, UIElement > slidersSet )
inlineprivate
Type Constraints
T :class 
T :ICreativePower 
T :IProvideSliderElement 
T :IPowerSubcategoryElement 

Definition at line 276 of file UICreativePowersMenu.cs.

277 {
278 /*
279An exception occurred when decompiling this method (06004F01)
280
281ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.GameContent.UI.Elements.GroupOptionButton`1<System.Int32> Terraria.GameContent.UI.States.UICreativePowersMenu::CreateSubcategoryButton<T>(Terraria.GameContent.Creative.CreativePowerUIElementRequestInfo,System.Int32,System.String,System.Int32,System.Int32,System.Collections.Generic.Dictionary`2<System.Int32,Terraria.GameContent.UI.Elements.GroupOptionButton`1<System.Int32>>,System.Collections.Generic.Dictionary`2<System.Int32,Terraria.UI.UIElement>)
282
283 ---> System.Exception: Basic block has to end with unconditional control flow.
284{
285 Block_0:
286 stloc:CreativePowerManager(var_1_07, callgetter:CreativePowerManager(CreativePowerManager::get_Instance))
287}
288
289 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
290 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
291 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
292 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
293 --- End of inner exception stack trace ---
294 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
295 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 1683
296*/;
297 }