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
Loading...
Searching...
No Matches
Terraria.GameInput.PlayerInput Class Reference
+ Collaboration diagram for Terraria.GameInput.PlayerInput:

Classes

struct  FastUseItemMemory
 
class  MiscSettingsTEMP
 
class  SettingsForUI
 

Public Member Functions

 PlayerInput ()
 

Static Public Member Functions

static void ListenFor (string triggerName, InputMode inputmode)
 
static void ResetInputsOnActiveStateChange ()
 
static void TryEnteringFastUseModeForInventorySlot (int inventorySlot)
 
static void TryEnteringFastUseModeForMouseItem ()
 
static void TryEndingFastUse ()
 
static void SetSelectedProfile (string name)
 
static void Initialize ()
 
static bool IsGamepadButtonLockedFromUse (string keyName)
 
static void UpdateInput ()
 
static void UpdateMainMouse ()
 
static void CacheZoomableValues ()
 
static void CacheMousePositionForZoom ()
 
static void CacheOriginalScreenDimensions ()
 
static string BuildCommand (string CommandText, bool Last, params List< string >[] Bindings)
 
static void NavigatorCachePosition ()
 
static void NavigatorUnCachePosition ()
 
static void LockOnCachePosition ()
 
static void LockOnUnCachePosition ()
 
static void PrettyPrintProfiles (ref string text)
 
static void PrettyPrintProfilesOld (ref string text)
 
static void Reset (KeyConfiguration c, PresetProfiles style, InputMode mode)
 
static void SetZoom_UI ()
 
static void SetZoom_World ()
 
static void SetZoom_Unscaled ()
 
static void SetZoom_Test ()
 
static void SetZoom_MouseInWorld ()
 
static void SetDesiredZoomContext (ZoomContext context)
 
static void SetZoom_Context ()
 

Static Public Attributes

static Vector2 RawMouseScale
 
static bool GrappleAndInteractAreShared
 
static SmartSelectGamepadPointer smartSelectPointer
 
static int ScrollWheelDeltaForUI
 
static bool GamepadAllowScrolling
 
static int GamepadScrollValue
 
static Vector2 GamepadThumbstickLeft
 
static Vector2 GamepadThumbstickRight
 
static int NavigatorRebindingLock
 
static string BlockedKey
 
static Dictionary< string, PlayerInputProfileProfiles
 
static Dictionary< string, PlayerInputProfileOriginalProfiles
 
static InputMode CurrentInputMode
 
static bool UseSteamDeckIfPossible
 
static List< string > MouseKeys
 
static bool WritingText
 

Properties

static TriggersPack Triggers [get, set]
 
static MouseState MouseInfo [get, set]
 
static MouseState MouseInfoOld [get, set]
 
static int MouseX [get, set]
 
static int MouseY [get, set]
 
static bool LockGamepadTileUseButton [get, set]
 
static int PreUIX [get, set]
 
static int PreUIY [get, set]
 
static int PreLockOnX [get, set]
 
static int PreLockOnY [get, set]
 
static int ScrollWheelValue [get, set]
 
static int ScrollWheelValueOld [get, set]
 
static int ScrollWheelDelta [get, set]
 
static Action OnBindingChange [set]
 
static Action OnActionableInput [set]
 
static string ListeningTrigger [get, set]
 
static bool CurrentlyRebinding [get, set]
 
static bool InvisibleGamepadInMenus [get, set]
 
static PlayerInputProfile CurrentProfile [get, set]
 
static KeyConfiguration ProfileGamepadUI [get, set]
 
static bool UsingGamepad [get, set]
 
static bool UsingGamepadUI [get, set]
 
static bool IgnoreMouseInterface [get, set]
 
static bool SteamDeckIsUsed [get, set]
 
static bool ShouldFastUseItem [get, set]
 
static bool InBuildingMode [get, set]
 
static int RealScreenWidth [get, set]
 
static int RealScreenHeight [get, set]
 
static bool CursorIsBusy [get, set]
 
static Vector2 OriginalScreenSize [get, set]
 

Static Private Member Functions

static bool InvalidateKeyboardSwap ()
 
static void CacheOriginalInput ()
 
static bool GamePadInput ()
 
static void MouseInput ()
 
static bool KeyboardInput ()
 
static void DebugKeys (List< Keys > keys)
 
static void FixDerpedRebinds ()
 
static bool CheckRebindingProcessGamepad (string newKey)
 
static bool CheckRebindingProcessKeyboard (string newKey)
 
static void PostInput ()
 
static void HandleDpadSnap ()
 
static string GenerateGlyphList (List< string > list)
 
static string GenerateRawInputList (List< string > list)
 
static void SetZoom_Scaled (float scale)
 
static PlayerInput ()
 

Static Private Attributes

static StringBuilder _invalidatorCheck
 
static StringBuilder ff
 
static bool _lastActivityState
 
static PlayerInput.FastUseItemMemory _fastUseMemory
 
static string _listeningTrigger
 
static InputMode _listeningInputMode
 
static bool _canReleaseRebindingLock
 
static int _memoOfLastPoint
 
static string _selectedProfile
 
static PlayerInputProfile _currentProfile
 
static Microsoft.Xna.Framework.Input.Buttons[] ButtonsGamepad
 
static bool _InBuildingMode
 
static int _UIPointForBuildingMode
 
static int _originalMouseX
 
static int _originalMouseY
 
static int _originalLastMouseX
 
static int _originalLastMouseY
 
static int _originalScreenWidth
 
static int _originalScreenHeight
 
static ZoomContext _currentWantedZoom
 
static List< string > _buttonsLocked
 
static int[] DpadSnapCooldown
 

Detailed Description

Definition at line 28 of file PlayerInput.cs.


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