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

void Terraria.Projectile.AI_003 ( )
inlineprivate

Definition at line 4916 of file Projectile.cs.

4917 {
4918 if (this.soundDelay == 0)
4919 {
4920 int num = this.type;
4921 int num2 = 8;
4923 if (num2 == 0)
4924 {
4925 }
4926 float x = this.position.X;
4927 float y = this.position.Y;
4928 }
4929 int num3 = this.type;
4930 if (num3 == 0)
4931 {
4932 }
4933 int num4;
4934 if (num4 != 0)
4935 {
4936 int num5 = this.type;
4937 int num6 = this.owner;
4938 if (num5 == 0)
4939 {
4940 }
4941 int myPlayer = Main.myPlayer;
4942 int num7 = this.damage;
4943 float num9;
4944 int num8 = this.FindTargetWithLineOfSight(num9);
4945 int num10 = 1;
4946 this.netUpdate = num10 != 0;
4947 int num11;
4948 if (num11 == 0)
4949 {
4950 }
4951 return;
4952 }
4953 float x2 = this.position.X;
4954 float y2 = this.position.Y;
4955 int width = this.width;
4956 bool wet = this.wet;
4957 float x3 = this.velocity.X;
4958 float y3 = this.velocity.Y;
4959 if (num3 == 0)
4960 {
4961 }
4962 int num12;
4963 if (num12 == 0)
4964 {
4965 if (26214 == 0)
4966 {
4967 }
4968 return;
4969 }
4970 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
Vector2 position
Definition Entity.cs:460
int FindTargetWithLineOfSight(float maxRange=800f)

References Terraria.Projectile.damage, Terraria.Projectile.FindTargetWithLineOfSight(), j__TPar, Terraria.Main.myPlayer, Terraria.Projectile.owner, Terraria.Entity.position, Terraria.Projectile.soundDelay, Terraria.Projectile.type, Terraria.Entity.velocity, Terraria.Entity.wet, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, and Microsoft.Xna.Framework.Vector2.Y.