Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Terraria.Utilities.NPCUtils.TargetSearchResults Struct Reference

Public Member Functions

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

Properties

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

Private Attributes

TargetType _nearestTargetType
 
int _nearestNPCIndex
 
float _nearestNPCDistance
 
int _nearestTankIndex
 
float _nearestTankDistance
 
float _adjustedTankDistance
 
TargetType _nearestTankType
 

Detailed Description

Definition at line 58 of file NPCUtils.cs.


The documentation for this struct was generated from the following file: