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

◆ Collision_MoveWhileDry()

void Terraria.NPC.Collision_MoveWhileDry ( )
inlineprivate

Definition at line 9213 of file NPC.cs.

9214 {
9215 if (!true)
9216 {
9217 }
9218 if (true)
9219 {
9220 this.velocity.Y = (float)55050;
9221 }
9222 float x = this.oldVelocity.X;
9223 float x2 = this.velocity.X;
9224 this.collideX = true;
9225 float y = this.oldVelocity.Y;
9226 float y2 = this.velocity.Y;
9227 this.collideY = true;
9228 Vector2 position = this.position;
9229 int direction = this.direction;
9230 float y3 = this.position.Y;
9233 this.position.X = y;
9234 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460
Vector2 oldVelocity
Definition Entity.cs:469

References Terraria.Entity.direction, j__TPar, Terraria.Entity.oldVelocity, Terraria.Entity.position, Terraria.Entity.velocity, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.

Referenced by Terraria.NPC.UpdateCollision().