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

Public Member Functions

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)
 
 OneAxisInputControl ()
 

Static Public Member Functions

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

Public Attributes

float FirstRepeatDelay
 
float RepeatDelay
 
bool Raw
 

Protected Attributes

bool isNullControl
 
bool ownerEnabled
 

Package Functions

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

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

void PrepareForUpdate (ulong updateTick)
 

Private Attributes

ulong< UpdateTickk__BackingField
 
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 10 of file OneAxisInputControl.cs.


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