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

◆ AI_194_HorsemanPumpkin()

void Terraria.Projectile.AI_194_HorsemanPumpkin ( )
inlineprivate

Definition at line 2016 of file Projectile.cs.

2017 {
2018 int num = 32768;
2019 Vector2 center = base.Center;
2020 if (num == 0)
2021 {
2022 }
2023 Vector2 center2 = base.Center;
2024 float num3;
2025 int num2 = Math.Sign(num3);
2026 float y = this.velocity.Y;
2027 float x = this.velocity.X;
2028 int num4 = Math.Sign(num3);
2029 float y2 = this.velocity.Y;
2030 float x2 = this.velocity.X;
2031 int num5 = this.timeLeft;
2032 int num6 = this.alpha;
2033 int num7 = 32768;
2034 this.alpha = num7;
2035 if (num7 == 0)
2036 {
2037 }
2038 int num8;
2039 if (num8 != 0)
2040 {
2041 float x3 = this.position.X;
2042 float y3 = this.position.Y;
2043 int width = this.width;
2044 bool wet = this.wet;
2045 float x4 = this.velocity.X;
2046 float y4 = this.velocity.Y;
2047 int num9 = 39322;
2048 int num10 = 52429;
2049 int num11 = 1;
2050 Dust dust;
2051 dust.scale = (float)num9;
2052 dust.fadeIn = (float)num10;
2053 dust.noGravity = num11 != 0;
2054 dust.noLight = num11 != 0;
2055 }
2056 }
class f__AnonymousType0<< Count > j__TPar
static int Sign(double value)
Definition Math.cs:252
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460

References Terraria.Projectile.alpha, j__TPar, Terraria.Entity.position, System.Math.Sign(), Terraria.Projectile.timeLeft, Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.