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

Public Member Functions

 InputControl (string handle, InputControlType target)
 
 InputControl (string handle, InputControlType target, bool passive)
 
bool UpdateWithState (bool state, ulong updateTick, float deltaTime)
 
bool UpdateWithValue (float value, ulong updateTick, float deltaTime)
 
void ClearInputState ()
 
void Commit ()
 
void CommitWithState (bool state, ulong updateTick, float deltaTime)
 
void CommitWithValue (float value, ulong updateTick, float deltaTime)
 

Static Public Member Functions

static implicit operator bool (OneAxisInputControl instance)
 
static implicit operator float (OneAxisInputControl instance)
 

Public Attributes

bool Passive
 
float FirstRepeatDelay
 
float RepeatDelay
 
bool Raw
 

Static Public Attributes

static readonly InputControl Null
 

Protected Attributes

bool isNullControl
 
bool ownerEnabled
 

Package Functions

void SetZeroTick ()
 
bool UpdateWithRawValue (float value, ulong updateTick, float deltaTime)
 
void SetValue (float value, ulong updateTick)
 
void CommitWithSides (InputControl negativeSide, InputControl positiveSide, ulong updateTick, float deltaTime)
 

Properties

string Handle [get, set, protected set]
 
InputControlType Target [get, set, protected set]
 
bool IsButton [get, set, protected set]
 
bool IsAnalog [get, set, protected set]
 
bool IsOnZeroTick [get, set]
 
bool IsStandard [get, set]
 
ulong UpdateTick [get, set, protected set]
 
bool State [get, set]
 
bool LastState [get, set]
 
float Value [get, set]
 
float LastValue [get, set]
 
float RawValue [get, set]
 
float NextRawValue [get, set]
 
bool HasInput [get, set]
 
bool HasChanged [get, set]
 
bool IsPressed [get, set]
 
bool WasPressed [get, set]
 
bool WasReleased [get, set]
 
bool WasRepeated [get, set]
 
float Sensitivity [get, set]
 
float LowerDeadZone [get, set]
 
float UpperDeadZone [get, set]
 
float StateThreshold [get, set]
 
bool IsNullControl [get, set]
 
bool Enabled [get, set]
 
bool EnabledInHierarchy [get, set]
 

Private Member Functions

 InputControl ()
 
void PrepareForUpdate (ulong updateTick)
 

Static Private Member Functions

static InputControl ()
 

Private Attributes

string< Handlek__BackingField
 
InputControlType< Targetk__BackingField
 
bool< IsButtonk__BackingField
 
bool< IsAnalogk__BackingField
 
ulong zeroTick
 
float sensitivity
 
float lowerDeadZone
 
float upperDeadZone
 
float stateThreshold
 
bool enabled
 
ulong pendingTick
 
bool pendingCommit
 
float nextRepeatTime
 
bool wasRepeated
 
bool clearInputState
 
InputControlState lastState
 
InputControlState nextState
 
InputControlState thisState
 

Detailed Description

Definition at line 9 of file InputControl.cs.


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