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

void Terraria.Projectile.AI_043 ( )
inlineprivate

Definition at line 5966 of file Projectile.cs.

5967 {
5968 int num = 1;
5969 float x = this.velocity.X;
5970 float y = this.velocity.Y;
5971 if (num == 0)
5972 {
5973 }
5974 if (this.soundDelay == 0)
5975 {
5976 int num2 = this.type;
5977 float x2 = this.position.X;
5978 float y2 = this.position.Y;
5979 int num3 = 32640;
5981 float x3 = this.position.X;
5982 float y3 = this.position.Y;
5983 int width = this.width;
5984 bool wet = this.wet;
5985 if (num2 == 0)
5986 {
5987 }
5988 if (num3 == 0)
5989 {
5990 }
5991 float x4 = this.velocity.X;
5992 float y4 = this.velocity.Y;
5993 if (num3 == 0)
5994 {
5995 }
5996 }
5997 int num4 = this.timeLeft;
5998 int num5 = this.frameCounter;
5999 Vector2 center = base.Center;
6000 Vector2 velocity = this.velocity;
6001 if (num5 == 0)
6002 {
6003 }
6004 if (17279 == 0)
6005 {
6006 }
6007 Vector2 center2 = base.Center;
6008 int num6;
6009 if (num6 == 0)
6010 {
6011 float x5 = this.position.X;
6012 float y5 = this.position.Y;
6013 int width2 = this.width;
6014 bool wet2 = this.wet;
6015 int num7 = 1;
6016 Dust dust;
6017 dust.noGravity = num7 != 0;
6018 float x6 = dust.velocity.X;
6019 float y6 = dust.velocity.Y;
6020 if (num7 == 0)
6021 {
6022 }
6023 int num8 = 16320;
6026 dust.scale = (float)num8;
6027 float x7 = this.velocity.X;
6028 float y7 = this.velocity.Y;
6029 if (num8 == 0)
6030 {
6031 }
6032 int num9 = 100;
6033 int num10 = 1;
6036 Color color;
6037 dust.color = color;
6038 dust.color.R = (byte)width2;
6039 dust.alpha = num9;
6040 dust.noLight = num10 != 0;
6041 }
6042 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460

References Terraria.Projectile.frameCounter, j__TPar, Terraria.Entity.position, Terraria.Projectile.soundDelay, Terraria.Projectile.timeLeft, Terraria.Projectile.type, Terraria.Dust.velocity, Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.