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

void Terraria.NPC.AI_065_Butterflies ( )
inlineprivate

Definition at line 2188 of file NPC.cs.

2189 {
2190 float[] array = this.ai;
2191 int num = this.type;
2192 if (array == null)
2193 {
2194 }
2195 Color color;
2196 Vector3 vector = color.ToVector3();
2197 if (array == null)
2198 {
2199 }
2200 int num2 = 1;
2201 if (num2 != 0)
2202 {
2203 return;
2204 }
2205 Vector2 center = base.Center;
2206 if (num2 == 0)
2207 {
2208 }
2209 int num3 = 1;
2210 bool invalid = this.GetTargetData(num3 != 0).Invalid;
2211 Vector2 center2 = base.Center;
2212 }
class f__AnonymousType0<< Count > j__TPar
NPCAimedTarget GetTargetData(bool ignorePlayerTankPets=true)
Definition NPC.cs:250
float[] ai
Definition NPC.cs:11384
Color color
Definition NPC.cs:11444

References Terraria.NPC.ai, System.array, Terraria.NPC.color, Terraria.NPC.GetTargetData(), Terraria.DataStructures.NPCAimedTarget.Invalid, j__TPar, Microsoft.Xna.Framework.Graphics.Color.ToVector3(), and Terraria.NPC.type.