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_130_FlameBurstTower()

void Terraria.Projectile.AI_130_FlameBurstTower ( )
inlineprivate

Definition at line 6935 of file Projectile.cs.

6936 {
6937 Vector2 center = base.Center;
6938 int num = this.type;
6939 Vector2 center2 = base.Center;
6940 if (num == 0)
6941 {
6942 }
6943 Vector2 bottom = base.Bottom;
6944 if (num == 0)
6945 {
6946 }
6947 Vector2 bottom2 = base.Bottom;
6948 int direction = this.direction;
6949 float x = this.position.X;
6950 float y = this.position.Y;
6951 int width = this.width;
6952 bool wet = this.wet;
6953 int direction2 = this.direction;
6954 if (this.width == 0)
6955 {
6956 }
6957 int num2;
6958 float fadeIn;
6959 if (num2 == 0)
6960 {
6961 int direction3 = this.direction;
6962 if (!wet)
6963 {
6964 }
6965 int num3 = 52429;
6966 int num4 = 1;
6967 Dust dust;
6968 dust.scale = (float)num3;
6969 dust.noGravity = num4 != 0;
6970 dust.fadeIn = x;
6971 dust.noLight = num4 != 0;
6972 int direction4 = this.direction;
6973 fadeIn = dust.fadeIn;
6974 dust.velocity.X = x;
6975 }
6976 Vector2 center3 = base.Center;
6977 Vector2 bottom3 = base.Bottom;
6978 int width2 = this.width;
6979 int direction5 = this.direction;
6980 int height = this.height;
6981 if (direction5 == 0)
6982 {
6983 }
6984 int num5;
6985 if (num5 == 0)
6986 {
6987 int num6 = 16256;
6988 int num7 = 1;
6989 Dust dust2;
6990 dust2.fadeIn = (float)num6;
6991 dust2.scale = (float)num6;
6992 dust2.noGravity = num7 != 0;
6993 dust2.noLight = num7 != 0;
6994 float x2 = dust2.velocity.X;
6995 float y2 = dust2.velocity.Y;
6996 if (num6 == 0)
6997 {
6998 }
6999 dust2.velocity.X = x;
7000 dust2.velocity.Y = fadeIn;
7001 return;
7002 }
7003 int num8 = 17056;
7004 if (num8 == 0)
7005 {
7006 }
7007 if (num8 == 0)
7008 {
7009 }
7012 int num9 = 1;
7013 this.netUpdate = num9 != 0;
7014 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460

References Terraria.Entity.direction, Terraria.Dust.fadeIn, Terraria.Entity.height, j__TPar, Terraria.Entity.position, Terraria.Projectile.type, Terraria.Dust.velocity, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.