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

◆ SlopingCollision()

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

Definition at line 7674 of file Player.cs.

7675 {
7676 int[] array;
7677 if (!this.controlDown)
7678 {
7679 array = this.grappling;
7680 float num = this.gravDir;
7681 }
7682 this.stairFall = true;
7683 float x = this.position.X;
7684 float y = this.position.Y;
7685 float x2 = this.velocity.X;
7686 float y2 = this.velocity.Y;
7687 int width = this.width;
7688 bool wet = this.wet;
7689 float num2 = this.gravity;
7690 if (array == null)
7691 {
7692 }
7693 float y3 = this.position.Y;
7694 float x3 = this.velocity.X;
7695 float y4 = this.position.Y;
7696 float num3 = this.gfxOffY;
7697 this.stepSpeed = (float)16512;
7698 this.gfxOffY = y4;
7699 float num4 = this.gravDir;
7700 this.position.X = y;
7702 this.velocity.X = x;
7704 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460

References System.array, Terraria.Player.controlDown, Terraria.Player.gfxOffY, Terraria.Player.grappling, Terraria.Player.gravDir, Terraria.Player.gravity, j__TPar, Terraria.Entity.position, Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.