tModLoader v2025.03
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
NPCUtils.TargetSearchResults Struct Reference

Public Member Functions

 TargetSearchResults (NPC searcher, int nearestNPCIndex, float nearestNPCDistance, int nearestTankIndex, float nearestTankDistance, float adjustedTankDistance, TargetType tankType)
 

Properties

float AdjustedTankDistance [get]
 
bool FoundNPC [get]
 
bool FoundTank [get]
 
bool FoundTarget [get]
 
NPC NearestNPC [get]
 
float NearestNPCDistance [get]
 
int NearestNPCIndex [get]
 
float NearestTankDistance [get]
 
Player NearestTankOwner [get]
 
int NearestTankOwnerIndex [get]
 
TargetType NearestTankType [get]
 
Rectangle NearestTargetHitbox [get]
 
int NearestTargetIndex [get]
 
TargetType NearestTargetType [get]