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

◆ StickyMovement()

void Terraria.Player.StickyMovement ( )
inline

Definition at line 7120 of file Player.cs.

7121 {
7122 if (this.shimmering)
7123 {
7124 return;
7125 }
7126 int type = this.mount._type;
7127 if (this.mount._type != 0)
7128 {
7129 float x = this.velocity.X;
7130 return;
7131 }
7132 int width = this.width;
7133 bool wet = this.wet;
7134 float x2 = this.position.X;
7135 float y = this.position.Y;
7136 float x3 = this.position.X;
7137 float y2 = this.position.Y;
7138 float x4 = this.velocity.X;
7139 float y3 = this.velocity.Y;
7140 int width2 = this.width;
7141 bool wet2 = this.wet;
7142 if (width == 0)
7143 {
7144 }
7145 Tile tile;
7146 ushort type2 = tile.type;
7147 int whoAmI = this.whoAmI;
7148 int myPlayer = Main.myPlayer;
7149 float x5 = this.velocity.X;
7150 float y4 = this.velocity.Y;
7151 int num = this.stickyBreak;
7153 if (num == 0)
7154 {
7155 }
7156 long num2 = 0L;
7157 long num3 = 0L;
7158 long num4 = 0L;
7159 WorldGen.KillTile(wet2 ? 1 : 0, width2, num2 != 0L, num3 != 0L, num4 != 0L);
7160 bool netClientOnly = Main.NetClientOnly;
7161 Tile tile2;
7162 bool flag = tile2.active();
7163 bool netClient = Main.NetClient;
7164 float y5 = this.position.Y;
7165 int num5 = 15744;
7167 float x6 = this.velocity.X;
7168 this.velocity.X = y;
7169 float num6 = this.gravDir;
7171 float y6 = this.velocity.Y;
7172 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460

References Terraria.Mount._type, Terraria.Tile.active(), Terraria.Player.gravDir, j__TPar, Terraria.WorldGen.KillTile(), System.L, Terraria.Player.mount, Terraria.Main.myPlayer, Terraria.Main.NetClient, Terraria.Main.NetClientOnly, Terraria.Entity.position, Terraria.Player.shimmering, Terraria.Player.stickyBreak, Terraria.Tile.type, Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.whoAmI, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.