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

void Terraria.NPC.AI_125_ClumsySlimeBalloon ( )
inlineprivate

Definition at line 1769 of file NPC.cs.

1770 {
1771 if (this.localAI == null)
1772 {
1773 }
1774 int num = 1;
1775 int num2 = 1;
1776 this.TargetClosest(num != 0);
1777 float[] array = this.localAI;
1778 this.netUpdate = num2 != 0;
1779 int direction = this.direction;
1780 float x = this.velocity.X;
1781 int num3 = 1;
1783 this.rotation = x;
1784 NPCAimedTarget targetData = this.GetTargetData(num3 != 0);
1785 if (direction == 0)
1786 {
1787 }
1788 if (!true)
1789 {
1790 }
1791 }
class f__AnonymousType0<< Count > j__TPar
Vector2 velocity
Definition Entity.cs:463
float[] localAI
Definition NPC.cs:11387
void TargetClosest(bool faceTarget=true)
Definition NPC.cs:4701
NPCAimedTarget GetTargetData(bool ignorePlayerTankPets=true)
Definition NPC.cs:250

References System.array, Terraria.Entity.direction, Terraria.NPC.GetTargetData(), j__TPar, Terraria.NPC.localAI, Terraria.NPC.TargetClosest(), Terraria.Entity.velocity, and Microsoft.Xna.Framework.Vector2.X.