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

◆ ChangeDir()

void Terraria.Player.ChangeDir ( int dir)
inline

Definition at line 13595 of file Player.cs.

13596 {
13597 if (this.pulley)
13598 {
13599 byte b = this.pulleyDir;
13600 int direction = this.direction;
13601 int width = this.width;
13602 float x = this.position.X;
13603 float y = this.position.Y;
13604 int width2 = this.width;
13605 bool wet = this.wet;
13606 if (width == 0)
13607 {
13608 }
13609 int whoAmI = this.whoAmI;
13610 if (width == 0)
13611 {
13612 }
13613 int myPlayer = Main.myPlayer;
13614 if (width == 0)
13615 {
13616 }
13617 float x2 = this.position.X;
13618 int num = 1;
13619 this.pulleyDir = (byte)num;
13620 }
13622 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460

References Terraria.Entity.direction, j__TPar, Terraria.Main.myPlayer, Terraria.Entity.position, Terraria.Player.pulley, Terraria.Player.pulleyDir, Terraria.Entity.wet, Terraria.Entity.whoAmI, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.

Referenced by Terraria.Player.ItemCheck_HackHoldStyles(), and Terraria.Player.PetAnimal().