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

◆ TargetClosestDownwindFromNPC()

static void Terraria.Utilities.NPCUtils.TargetClosestDownwindFromNPC ( NPC searcher,
float distanceMaxX,
bool faceTarget = true,
[Optional] Vector2? checkPosition )
inlinestatic

Definition at line 80 of file NPCUtils.cs.

81 {
82 int nearestTargetIndex = NPCUtils.SearchForTarget(searcher, NPCUtils.TargetSearchFlag.Players, distanceMaxX, 3).NearestTargetIndex;
87 searcher.FaceTarget();
88 }
class f__AnonymousType0<< Count > j__TPar

References j__TPar, and Terraria.Utilities.NPCUtils.SearchForTarget().