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

◆ WaterCollision()

void Terraria.Player.WaterCollision ( bool fallThrough,
bool ignorePlats )
inline

Definition at line 7547 of file Player.cs.

7548 {
7549 bool flag = this.onTrack;
7550 int width = this.width;
7551 bool wet = this.wet;
7552 float x = this.velocity.X;
7553 float y = this.velocity.Y;
7554 float x2 = this.position.X;
7555 float y2 = this.position.Y;
7556 float num = this.gravDir;
7557 int num2 = 32768;
7558 if (num2 == 0)
7559 {
7560 }
7561 float x3 = this.velocity.X;
7562 float y3 = this.velocity.Y;
7563 float x4 = this.position.X;
7564 float y4 = this.position.Y;
7565 if (num2 == 0)
7566 {
7567 }
7568 this.TryFloatingInFluid();
7569 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460
void TryFloatingInFluid()
Definition Player.cs:7572

References Terraria.Player.gravDir, j__TPar, Terraria.Player.onTrack, Terraria.Entity.position, Terraria.Player.TryFloatingInFluid(), Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.