|
terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Collaboration diagram for Terraria.GameInput.LockOnHelper:Public Types | |
| enum | LockOnMode { FocusTarget , TargetClosest , ThreeDS } |
Public Member Functions | |
| LockOnHelper () | |
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) |
Properties | |
| static LockOnHelper.LockOnMode | UseMode [get, set] |
| static bool | _enabled [get, set] |
| static bool | _canLockOn [get, set] |
| static List< int > | _targets [get, set] |
| static int | _pickedTarget [get, set] |
| static int | _lifeTimeCounter [get, set] |
| static int | _lifeTimeArrowDisplay [get, set] |
| static int | _threeDSTarget [get, set] |
| static int | _targetClosestTarget [get, set] |
| static bool | ForceUsability [get, set] |
| static bool | LockOnAvailable [get, set] |
| static int | _lastFrame [get, set] |
| static float[,] | _drawProgress [get, set] |
| static NPC | AimedTarget [get, set] |
| static Vector2 | PredictedPosition [get, set] |
| static bool | Enabled [get, set] |
| static Vector2 | MouseWorld [get, set] |
Static Private Member Functions | |
| static bool | ShouldLockOn (Player p) |
| static void | FindMostViableTarget (LockOnHelper.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 | LockOnHelper () |
Static Private Attributes | |
| const float | LOCKON_RANGE = 2000f |
| const int | LOCKON_HOLD_LIFETIME = 40 |
| static List< int > | tempTargets |
Definition at line 13 of file LockOnHelper.cs.