tModLoader v2024.10
A mod to make and play Terraria mods
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]