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

◆ WingMovement()

void Terraria.Player.WingMovement ( )
inline

Definition at line 6816 of file Player.cs.

6817 {
6818 int num = this.wingsLogic;
6819 if (this.controlUp || this.tryKeepingHoveringUp)
6820 {
6821 float num2 = this.gravDir;
6822 float y = this.velocity.Y;
6823 return;
6824 }
6825 if (!this.controlUp)
6826 {
6827 bool flag = this.tryKeepingHoveringUp;
6828 if (!flag)
6829 {
6830 if ((this.controlDown || this.tryKeepingHoveringDown) && !this.controlJump)
6831 {
6832 float y2 = this.velocity.Y;
6834 return;
6835 }
6836 int num3 = this.wingsLogic;
6837 if (!this.controlUp)
6838 {
6839 bool flag2 = this.tryKeepingHoveringUp;
6840 if (!flag2)
6841 {
6842 if ((this.controlDown || this.tryKeepingHoveringDown) && !this.controlJump)
6843 {
6844 float y3 = this.velocity.Y;
6846 }
6847 int num4 = this.wingsLogic;
6848 if (this.controlDown || this.tryKeepingHoveringDown)
6849 {
6850 float num5 = this.gravDir;
6851 float y4 = this.velocity.Y;
6852 float num6;
6854 return;
6855 }
6856 return;
6857 }
6858 }
6859 float num7 = this.gravDir;
6860 float y5 = this.velocity.Y;
6861 float num8;
6863 return;
6864 }
6865 }
6866 float num9 = this.gravDir;
6867 float y6 = this.velocity.Y;
6868 float num10;
6870 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
bool tryKeepingHoveringDown
Definition Player.cs:21617
bool tryKeepingHoveringUp
Definition Player.cs:21620

References Terraria.Player.controlDown, Terraria.Player.controlJump, Terraria.Player.controlUp, Terraria.Player.gravDir, j__TPar, Terraria.Player.tryKeepingHoveringDown, Terraria.Player.tryKeepingHoveringUp, Terraria.Entity.velocity, Terraria.Player.wingsLogic, and Microsoft.Xna.Framework.Vector2.Y.