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
InControl.TouchInputDevice Class Reference
+ Inheritance diagram for InControl.TouchInputDevice:
+ Collaboration diagram for InControl.TouchInputDevice:

Public Member Functions

 TouchInputDevice ()
 
bool HasControl (InputControlType controlType)
 
InputControl GetControl (InputControlType controlType)
 
InputControl GetControlByName (string controlName)
 
InputControl AddControl (InputControlType controlType, string handle)
 
InputControl AddControl (InputControlType controlType, string handle, float lowerDeadZone, float upperDeadZone)
 
void ClearInputState ()
 
void UpdateLeftStickWithValue (Vector2 value, ulong updateTick, float deltaTime)
 
void UpdateLeftStickWithRawValue (Vector2 value, ulong updateTick, float deltaTime)
 
void CommitLeftStick ()
 
void UpdateRightStickWithValue (Vector2 value, ulong updateTick, float deltaTime)
 
void UpdateRightStickWithRawValue (Vector2 value, ulong updateTick, float deltaTime)
 
void CommitRightStick ()
 
virtual void Update (ulong updateTick, float deltaTime)
 
void Commit (ulong updateTick, float deltaTime)
 
bool LastInputAfter (InputDevice device)
 
virtual void Vibrate (float leftMotor, float rightMotor)
 
void Vibrate (float intensity)
 
void StopVibration ()
 
virtual void SetLightColor (float red, float green, float blue)
 
void SetLightColor (Color color)
 
virtual void SetLightFlash (float flashOnDuration, float flashOffDuration)
 
void StopLightFlash ()
 
virtual bool ReadRawButtonState (int index)
 
virtual float ReadRawAnalogValue (int index)
 
void TakeSnapshot ()
 
UnknownDeviceControl GetFirstPressedAnalog ()
 
UnknownDeviceControl GetFirstPressedButton ()
 

Static Public Member Functions

static InputControlType GetInputControlTypeByName (string inputControlName)
 

Public Attributes

bool Passive
 

Static Public Attributes

static readonly InputDevice Null
 

Protected Member Functions

void AddAliasControls ()
 
void ClearControls ()
 
void UpdateWithState (InputControlType controlType, bool state, ulong updateTick, float deltaTime)
 
void UpdateWithValue (InputControlType controlType, float value, ulong updateTick, float deltaTime)
 

Package Functions

void OnAttached ()
 
void OnDetached ()
 
void RequestActivation ()
 

Properties

string Name [get, set, protected set]
 
string Meta [get, set, protected set]
 
int SortOrder [get, set, protected set]
 
InputDeviceClass DeviceClass [get, set, protected set]
 
InputDeviceStyle DeviceStyle [get, set, protected set]
 
Guid GUID [get, set, private set]
 
ulong LastInputTick [get, set, private set]
 
bool IsActive [get, set, private set]
 
bool IsAttached [get, set, private set]
 
bool RawSticks [protected get, set, private set]
 
ReadOnlyCollection< InputControlControls [get, set, protected set]
 
InputControl[] ControlsByTarget [protected get, set, private set]
 
TwoAxisInputControl LeftStick [get, set, private set]
 
TwoAxisInputControl RightStick [get, set, private set]
 
TwoAxisInputControl DPad [get, set, private set]
 
InputDevice.AnalogSnapshotEntry[] AnalogSnapshot [get, set]
 
InputControl this[InputControlType controlType] [get, set]
 
virtual bool IsSupportedOnThisPlatform [get, set]
 
virtual bool IsKnown [get, set]
 
bool IsUnknown [get, set]
 
bool MenuIsPressed [get, set]
 
bool MenuWasPressed [get, set]
 
bool MenuWasReleased [get, set]
 
bool CommandIsPressed [get, set]
 
bool CommandWasPressed [get, set]
 
bool CommandWasReleased [get, set]
 
InputControl AnyButton [get, set]
 
bool AnyButtonIsPressed [get, set]
 
bool AnyButtonWasPressed [get, set]
 
bool AnyButtonWasReleased [get, set]
 
TwoAxisInputControl Direction [get, set]
 
InputControl LeftStickUp [get, set]
 
InputControl LeftStickDown [get, set]
 
InputControl LeftStickLeft [get, set]
 
InputControl LeftStickRight [get, set]
 
InputControl RightStickUp [get, set]
 
InputControl RightStickDown [get, set]
 
InputControl RightStickLeft [get, set]
 
InputControl RightStickRight [get, set]
 
InputControl DPadUp [get, set]
 
InputControl DPadDown [get, set]
 
InputControl DPadLeft [get, set]
 
InputControl DPadRight [get, set]
 
InputControl Action1 [get, set]
 
InputControl Action2 [get, set]
 
InputControl Action3 [get, set]
 
InputControl Action4 [get, set]
 
InputControl LeftTrigger [get, set]
 
InputControl RightTrigger [get, set]
 
InputControl LeftBumper [get, set]
 
InputControl RightBumper [get, set]
 
InputControl LeftStickButton [get, set]
 
InputControl RightStickButton [get, set]
 
InputControl LeftStickX [get, set]
 
InputControl LeftStickY [get, set]
 
InputControl RightStickX [get, set]
 
InputControl RightStickY [get, set]
 
InputControl DPadX [get, set]
 
InputControl DPadY [get, set]
 
InputControl Command [get, set]
 
virtual int NumUnknownAnalogs [get, set]
 
virtual int NumUnknownButtons [get, set]
 

Private Member Functions

void RemoveAliasControls ()
 
void RemoveControl (InputControlType controlType)
 
void ProcessLeftStick (ulong updateTick, float deltaTime)
 
void ProcessRightStick (ulong updateTick, float deltaTime)
 
void ProcessDPad (ulong updateTick, float deltaTime)
 
void ExpireControlCache ()
 

Private Attributes

string< Namek__BackingField
 
string< Metak__BackingField
 
int< SortOrderk__BackingField
 
InputDeviceClass< DeviceClassk__BackingField
 
InputDeviceStyle< DeviceStylek__BackingField
 
Guid< GUIDk__BackingField
 
ulong< LastInputTickk__BackingField
 
bool< IsActivek__BackingField
 
bool< IsAttachedk__BackingField
 
bool< RawSticksk__BackingField
 
ReadOnlyCollection< InputControl >< Controlsk__BackingField
 
InputControl[]< ControlsByTargetk__BackingField
 
TwoAxisInputControl< LeftStickk__BackingField
 
TwoAxisInputControl< RightStickk__BackingField
 
TwoAxisInputControl< DPadk__BackingField
 
InputDevice.AnalogSnapshotEntry[]< AnalogSnapshotk__BackingField
 
readonly List< InputControlcontrols
 
InputControl cachedLeftStickUp
 
InputControl cachedLeftStickDown
 
InputControl cachedLeftStickLeft
 
InputControl cachedLeftStickRight
 
InputControl cachedRightStickUp
 
InputControl cachedRightStickDown
 
InputControl cachedRightStickLeft
 
InputControl cachedRightStickRight
 
InputControl cachedDPadUp
 
InputControl cachedDPadDown
 
InputControl cachedDPadLeft
 
InputControl cachedDPadRight
 
InputControl cachedAction1
 
InputControl cachedAction2
 
InputControl cachedAction3
 
InputControl cachedAction4
 
InputControl cachedLeftTrigger
 
InputControl cachedRightTrigger
 
InputControl cachedLeftBumper
 
InputControl cachedRightBumper
 
InputControl cachedLeftStickButton
 
InputControl cachedRightStickButton
 
InputControl cachedLeftStickX
 
InputControl cachedLeftStickY
 
InputControl cachedRightStickX
 
InputControl cachedRightStickY
 
InputControl cachedDPadX
 
InputControl cachedDPadY
 
InputControl cachedCommand
 

Detailed Description

Definition at line 8 of file TouchInputDevice.cs.


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