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

◆ SpawnFartCloud()

static void Terraria.DelegateMethods.Minecart.SpawnFartCloud ( Player Player,
Vector2 Position,
int Width,
int Height,
bool useDelay = true )
inlinestatic

Definition at line 861 of file DelegateMethods.cs.

862 {
863 int fartKartCloudDelay = Player.fartKartCloudDelay;
864 int num = 20;
866 if (num == 0)
867 {
868 }
869 float x = Player.velocity.X;
870 float y = Player.velocity.Y;
871 Vector2 vector;
872 float num2 = vector.Length();
873 if (!true)
874 {
875 }
876 int num3 = 1;
877 if (num3 != 0)
878 {
879 return;
880 }
881 int value = num3.m_value;
882 int num4 = 1;
883 if (num4 == 0)
884 {
885 }
886 int value2 = num4.m_value;
887 Terraria.Mount mount = Player.mount;
888 if (mount._active)
889 {
890 if (mount._type == 0)
891 {
892 }
893 int num5 = 1;
894 Dust dust;
895 float x2 = dust.velocity.X;
896 float y2 = dust.velocity.Y;
897 dust.velocity.X = x;
898 dust.velocity.X = x;
899 float y3 = dust.velocity.Y;
900 float x3 = dust.velocity.X;
902 dust.fadeIn = x3;
904 }
905 }
class f__AnonymousType0<< Count > j__TPar

References Terraria.Mount._active, Terraria.Mount._type, Terraria.Player.fartKartCloudDelay, j__TPar, Microsoft.Xna.Framework.Vector2.Length(), Terraria.Player.mount, System.value, Terraria.Dust.velocity, Terraria.Entity.velocity, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.