tModLoader v2024.08
A mod to make and play Terraria mods
LockOnHelper Class Reference

Public Types

enum  LockOnMode { FocusTarget , TargetClosest , ThreeDS }
 

Static Public Member Functions

static bool CanUseLockonSystem ()
 
static void CycleUseModes ()
 
static void Draw (SpriteBatch spriteBatch)
 
static void SetDOWN ()
 
static void SetUP ()
 
static void Toggle (bool forceOff=false)
 
static void Update ()
 

Static Public Attributes

static bool ForceUsability = false
 
static LockOnMode UseMode = LockOnMode.ThreeDS
 

Properties

static NPC AimedTarget [get]
 
static bool Enabled [get]
 
static Vector2 PredictedPosition [get]