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

void Terraria.NPC.AI_109_DarkMage ( )
inlineprivate

Definition at line 4018 of file NPC.cs.

4019 {
4020 int num = 1;
4021 NPCAimedTarget targetData = this.GetTargetData(num != 0);
4022 int num2 = this.type;
4023 int direction = this.direction;
4024 float x = this.velocity.X;
4025 float[] array = this.localAI;
4026 this.rotation = x;
4028 Vector2 top = base.Top;
4029 Vector2 bottom = base.Bottom;
4030 int width = this.width;
4031 float[] array2 = this.ai;
4032 float[] array3 = this.ai;
4033 if (17056 == 0)
4034 {
4035 }
4036 Vector2 center = base.Center;
4037 float[] array4 = this.ai;
4038 if (17024 == 0)
4039 {
4040 }
4041 bool logicHost = Main.LogicHost;
4043 Vector2 center2 = base.Center;
4044 int direction2 = this.direction;
4045 if (49696 == 0)
4046 {
4047 }
4048 if (!true)
4049 {
4050 }
4051 int myPlayer = Main.myPlayer;
4052 Vector2 center3 = base.Center;
4053 float[] array5 = this.ai;
4054 Vector2 center4 = base.Center;
4055 if (this.direction == 0)
4056 {
4057 }
4058 if (!true)
4059 {
4060 }
4061 bool logicHost2 = Main.LogicHost;
4063 Vector2 center5 = base.Center;
4064 int direction3 = this.direction;
4065 if (direction3 == 0)
4066 {
4067 }
4068 if (direction3 == 0)
4069 {
4070 }
4071 int myPlayer2 = Main.myPlayer;
4072 float[] array6 = this.ai;
4073 int num3 = 17148;
4074 if (array6 == null)
4075 {
4076 }
4077 Vector2 center6 = base.Center;
4078 if (this.ai == null)
4079 {
4080 }
4081 bool logicHost3 = Main.LogicHost;
4082 float[] array7 = this.ai;
4083 Vector2 center7 = base.Center;
4084 int direction4 = this.direction;
4085 Vector2 center8 = base.Center;
4087 if (num3 == 0)
4088 {
4089 }
4090 if (!true)
4091 {
4092 }
4093 int num4 = num3.m_value;
4094 int myPlayer3 = Main.myPlayer;
4095 if (num3 == 0)
4096 {
4097 }
4098 float[] array8 = this.ai;
4099 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
float[] localAI
Definition NPC.cs:11387
NPCAimedTarget GetTargetData(bool ignorePlayerTankPets=true)
Definition NPC.cs:250
float[] ai
Definition NPC.cs:11384
IEntitySource GetSpawnSource_ForProjectile()
Definition NPC.cs:7682

References Terraria.NPC.ai, System.array, Terraria.Entity.direction, Terraria.NPC.GetSpawnSource_ForProjectile(), Terraria.NPC.GetTargetData(), j__TPar, Terraria.NPC.localAI, Terraria.Main.LogicHost, Terraria.Main.myPlayer, Terraria.NPC.type, Terraria.Entity.velocity, Terraria.Entity.width, and Microsoft.Xna.Framework.Vector2.X.