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

◆ ShimmerCollision()

void Terraria.Player.ShimmerCollision ( bool fallThrough,
bool ignorePlats,
bool noCollision )
inline

Definition at line 7493 of file Player.cs.

7494 {
7495 bool flag = this.onTrack;
7496 int height = this.height;
7497 float x = this.velocity.X;
7498 float y = this.velocity.Y;
7499 float x2 = this.position.X;
7500 float y2 = this.position.Y;
7501 int width = this.width;
7502 float num = this.gravDir;
7503 int num2 = 32768;
7504 if (num2 == 0)
7505 {
7506 }
7507 float x3 = this.velocity.X;
7508 float y3 = this.velocity.Y;
7509 float x4 = this.position.X;
7510 float y4 = this.position.Y;
7511 if (num2 == 0)
7512 {
7513 }
7514 if (this.shimmerImmune)
7515 {
7516 this.TryFloatingInFluid();
7517 return;
7518 }
7519 }
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, Terraria.Entity.height, j__TPar, Terraria.Player.onTrack, Terraria.Entity.position, Terraria.Player.shimmerImmune, Terraria.Player.TryFloatingInFluid(), Terraria.Entity.velocity, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.