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

◆ MaxPixelScale

float XNAWorldCameraSettings.MaxPixelScale
get

Definition at line 92 of file XNAWorldCameraSettings.cs.

93 {
94 get
95 {
96 /*
97An exception occurred when decompiling this method (0600124F)
98
99ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single XNAWorldCameraSettings::get_MaxPixelScale()
100
101 ---> System.Exception: Basic block has to end with unconditional control flow.
102{
103 Block_0:
104 stloc:int32(var_0_06, callgetter:int32(XNAWorldCameraSettings::get_NativeHeight, ldloc:XNAWorldCameraSettings(this)))
105 stloc:float32(var_1_0D, ldfld:float32(DeviceVPPICalculator::VPPI, ldloc:XNAWorldCameraSettings[exp:DeviceVPPICalculator](this)))
106 stloc:float32(var_2_14, ldfld:float32(DeviceVPPICalculator::DPI, ldloc:XNAWorldCameraSettings[exp:DeviceVPPICalculator](this)))
107 stloc:int32(var_3_1B, callgetter:int32(XNAWorldCameraSettings::get_NativeWidth, ldloc:XNAWorldCameraSettings(this)))
108 stloc:float32(var_4_22, ldfld:float32(DeviceVPPICalculator::VPPI, ldloc:XNAWorldCameraSettings[exp:DeviceVPPICalculator](this)))
109 stloc:float32(var_5_2A, ldfld:float32(DeviceVPPICalculator::DPI, ldloc:XNAWorldCameraSettings[exp:DeviceVPPICalculator](this)))
110}
111
112 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
113 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
114 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
115 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
116 --- End of inner exception stack trace ---
117 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
118 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
119*/;
120 }
121 }

Referenced by UpdateViewport().