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

◆ WallslideMovement()

void Terraria.Player.WallslideMovement ( )
inline

Definition at line 6571 of file Player.cs.

6572 {
6573 while (this.slideDir != 0)
6574 {
6575 int num = this.spikedBoots;
6576 if (this.mount._active)
6577 {
6578 break;
6579 }
6580 if (this.controlLeft)
6581 {
6582 float x = this.position.X;
6583 return;
6584 }
6585 if (this.controlRight)
6586 {
6587 int width = this.width;
6588 float x2 = this.position.X;
6589 int height = this.height;
6590 float y = this.position.Y;
6591 float num2 = this.gravDir;
6592 if (15744 == 0)
6593 {
6594 }
6595 bool flag;
6596 if (!flag)
6597 {
6598 }
6599 int num3 = this.spikedBoots;
6600 float y2 = this.velocity.Y;
6601 float num4 = this.gravDir;
6602 float num5 = this.gravDir;
6603 float x3 = this.position.X;
6604 float y3 = this.position.Y;
6605 bool flag2 = this.controlDown;
6606 int num6 = 1;
6607 int num7 = 32768;
6608 this.sliding = num6 != 0;
6609 int width2 = this.width;
6611 int height2 = this.height;
6612 int num8 = this.slideDir;
6613 this.velocity.Y = (float)width;
6614 if (height2 == 0)
6615 {
6616 }
6617 int num9 = this.slideDir;
6618 if (num9 == 0)
6619 {
6620 }
6621 float num10 = this.gravDir;
6622 if (num9 == 0)
6623 {
6624 }
6625 if (num9 == 0)
6626 {
6627 }
6628 if (num9 == 0)
6629 {
6630 }
6631 if (!true)
6632 {
6633 }
6634 int num11 = this.cShoe;
6635 return;
6636 }
6637 }
6638 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460

References Terraria.Mount._active, Terraria.Player.controlDown, Terraria.Player.controlLeft, Terraria.Player.controlRight, Terraria.Player.cShoe, Terraria.Player.gravDir, Terraria.Entity.height, j__TPar, Terraria.Player.mount, Terraria.Entity.position, Terraria.Player.slideDir, Terraria.Player.spikedBoots, Terraria.Entity.velocity, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.