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

◆ Bottom

Vector2 Terraria.Entity.Bottom
getsetinherited

Definition at line 317 of file Entity.cs.

318 {
319 get
320 {
321 /*
322An exception occurred when decompiling this method (060027FC)
323
324ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Vector2 Terraria.Entity::get_Bottom()
325
326 ---> System.Exception: Basic block has to end with unconditional control flow.
327{
328 Block_0:
329 stloc:int32(var_0_06, ldfld:int32(Entity::width, ldloc:Entity(this)))
330 stloc:int32(var_1_0D, ldfld:int32(Entity::height, ldloc:Entity(this)))
331 stloc:float32(var_2_19, ldfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Entity::position, ldloc:Entity(this))))
332 stloc:float32(var_3_25, ldfld:float32(Vector2::Y, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](Entity::position, ldloc:Entity(this))))
333}
334
335 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
336 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
337 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
338 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
339 --- End of inner exception stack trace ---
340 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
341 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
342*/;
343 }
344 set
345 {
346 int num = this.width;
347 int num2 = this.height;
348 this.position = num;
349 }
350 }
class f__AnonymousType0<< Count > j__TPar

Referenced by Terraria.GameContent.Events.DD2Event.AnnounceGoblinDeath(), Terraria.Cinematics.DD2Film.CreateOgre(), Terraria.Collision.GetEntityEdgeTilesExtents(), Terraria.GameContent.Golf.GolfHelper.HitGolfBall(), Terraria.GameContent.PlayerSittingHelper.SitDown(), Terraria.GameContent.PlayerSleepingHelper.StartSleeping(), Terraria.GameContent.PlayerSittingHelper.TryGetSittingBlock(), Terraria.GameContent.ShimmerUnstuckHelper.Update(), Terraria.DataStructures.NPCFollowState.UpdateBreadcrumbs(), and Terraria.GameContent.PlayerSittingHelper.UpdateSitting().