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

◆ EmitGolfCartSmoke()

static void Terraria.Mount.EmitGolfCartSmoke ( Player mountedPlayer,
bool rushing )
inlinestaticprivate

Definition at line 1130 of file Mount.cs.

1131 {
1132 Vector2 bottom = mountedPlayer.Bottom;
1133 int direction = mountedPlayer.direction;
1134 float gravDir = mountedPlayer.gravDir;
1135 if (direction == 0)
1136 {
1137 }
1138 int direction2 = mountedPlayer.direction;
1139 float gravDir2 = mountedPlayer.gravDir;
1140 if (direction == 0)
1141 {
1142 }
1143 Dust dust;
1144 float x = dust.velocity.X;
1145 float y = dust.velocity.Y;
1146 dust.velocity.X = x;
1147 dust.velocity.Y = y;
1148 int direction3 = mountedPlayer.direction;
1149 float gravDir3 = mountedPlayer.gravDir;
1150 dust.velocity.X = x;
1151 dust.velocity.Y = y;
1152 dust.scale = (float)16128;
1153 float x2 = mountedPlayer.velocity.X;
1154 dust.fadeIn = (float)52429;
1155 }
class f__AnonymousType0<< Count > j__TPar

References j__TPar, Terraria.Dust.velocity, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.