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

Public Member Functions

void Destroy ()
 
PlayerAction GetPlayerActionByName (string actionName)
 
void Reset ()
 
void ClearInputState ()
 
bool HasBinding (BindingSource binding)
 
void RemoveBinding (BindingSource binding)
 
byte[] SaveData ()
 
void LoadData (byte[] data)
 
string Save ()
 
void Load (string data)
 

Public Attributes

BindingSourceType LastInputType
 
ulong LastInputTypeChangedTick
 
InputDeviceClass LastDeviceClass
 
InputDeviceStyle LastDeviceStyle
 

Protected Member Functions

 PlayerActionSet ()
 
PlayerAction CreatePlayerAction (string name)
 
PlayerOneAxisAction CreateOneAxisPlayerAction (PlayerAction negativeAction, PlayerAction positiveAction)
 
PlayerTwoAxisAction CreateTwoAxisPlayerAction (PlayerAction negativeXAction, PlayerAction positiveXAction, PlayerAction negativeYAction, PlayerAction positiveYAction)
 

Package Functions

void AddPlayerAction (PlayerAction action)
 
void Update (ulong updateTick, float deltaTime)
 

Package Attributes

PlayerAction listenWithAction
 

Properties

InputDevice Device [get, set]
 
List< InputDeviceIncludeDevices [get, set, private set]
 
List< InputDeviceExcludeDevices [get, set, private set]
 
ReadOnlyCollection< PlayerActionActions [get, set, private set]
 
ulong UpdateTick [get, set, protected set]
 
Action< BindingSourceTypeOnLastInputTypeChanged [set]
 
bool Enabled [get, set]
 
bool PreventInputWhileListeningForBinding [get, set]
 
object UserData [get, set]
 
PlayerAction this[string actionName] [get, set]
 
bool IsListeningForBinding [get, set]
 
BindingListenOptions ListenOptions [get, set]
 
InputDevice ActiveDevice [get, set]
 

Private Member Functions

InputDevice FindActiveDevice ()
 

Private Attributes

InputDevice< Devicek__BackingField
 
List< InputDevice >< IncludeDevicesk__BackingField
 
List< InputDevice >< ExcludeDevicesk__BackingField
 
ReadOnlyCollection< PlayerAction >< Actionsk__BackingField
 
ulong< UpdateTickk__BackingField
 
bool< Enabledk__BackingField
 
bool< PreventInputWhileListeningForBindingk__BackingField
 
object< UserDatak__BackingField
 
List< PlayerActionactions
 
List< PlayerOneAxisActiononeAxisActions
 
List< PlayerTwoAxisActiontwoAxisActions
 
Dictionary< string, PlayerActionactionsByName
 
BindingListenOptions listenOptions
 
InputDevice activeDevice
 

Static Private Attributes

const ushort currentDataFormatVersion = 2
 

Detailed Description

Definition at line 14 of file PlayerActionSet.cs.


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