Terraria v1.4.4.9
Terraria source code documentation
|
Public Types | |
enum | LockOnMode { FocusTarget , TargetClosest , ThreeDS } |
Static Public Member Functions | |
static void | CycleUseModes () |
static void | Update () |
static bool | CanUseLockonSystem () |
static void | SetUP () |
static void | SetDOWN () |
static void | Toggle (bool forceOff=false) |
static void | Draw (SpriteBatch spriteBatch) |
Static Public Attributes | |
static LockOnMode | UseMode = LockOnMode.ThreeDS |
static bool | ForceUsability = false |
Properties | |
static NPC | AimedTarget [get] |
static Vector2 | PredictedPosition [get] |
static bool | Enabled [get] |
Static Private Member Functions | |
static bool | ShouldLockOn (Player p) |
static void | FindMostViableTarget (LockOnMode context, ref int targetVar) |
static void | HandlePressing () |
static void | CycleTargetFocus () |
static void | CycleTargetThreeDS () |
static bool | CanEnable () |
static void | SetActive (bool on) |
static void | RefreshTargets (Vector2 position, float radius) |
static void | GetClosestTarget (Vector2 position) |
static bool | ValidTarget (NPC n) |
static void | SetLockPosition (Vector2 position) |
static void | ResetLockPosition () |
Static Private Attributes | |
const float | LOCKON_RANGE = 2000f |
const int | LOCKON_HOLD_LIFETIME = 40 |
static bool | _enabled |
static bool | _canLockOn |
static List< int > | _targets = new List<int>() |
static int | _pickedTarget |
static int | _lifeTimeCounter |
static int | _lifeTimeArrowDisplay |
static int | _threeDSTarget = -1 |
static int | _targetClosestTarget = -1 |
static float[,] | _drawProgress = new float[200, 2] |
Definition at line 10 of file LockOnHelper.cs.