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

◆ SetTargetTrackingValues()

void Terraria.NPC.SetTargetTrackingValues ( bool faceTarget,
float realDist,
int tankTarget )
inlineprivate

Definition at line 4744 of file NPC.cs.

4745 {
4746 if (!true)
4747 {
4748 }
4749 int num = 32640;
4750 int num2 = 1;
4751 num.m_value = (int)realDist;
4752 int width = this.targetRect.Width;
4753 int width2 = this.width;
4755 float x = this.position.X;
4758 int height = this.targetRect.Height;
4759 int height2 = this.height;
4760 int y = this.targetRect.Y;
4761 float y2 = this.position.Y;
4764 }
class f__AnonymousType0<< Count > j__TPar
Vector2 position
Definition Entity.cs:460
Rectangle targetRect
Definition NPC.cs:11435

References Microsoft.Xna.Framework.Rectangle.Height, Terraria.Entity.height, j__TPar, Terraria.Entity.position, Terraria.NPC.targetRect, Microsoft.Xna.Framework.Rectangle.Width, Terraria.Entity.width, Microsoft.Xna.Framework.Vector2.X, Microsoft.Xna.Framework.Rectangle.Y, and Microsoft.Xna.Framework.Vector2.Y.