HPL3/Amnesia: Rebirth/Scripting/cAction
< HPL3 | Amnesia: Rebirth | Scripting
Jump to navigation
Jump to search
This page has been automatically generated, but it needs descriptions added to the various fields/functions in order to be complete. |
Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!
Contents
Fields
cAction has no public fields.
Functions
Return Type | Function And Description |
---|---|
void | AddGamepadAxis(int alPadIndex, eGamepadAxis aAxis, eGamepadAxisRange aRange, float afMinThreshold, float afMaxThreshold) |
void | AddGamepadButton(int alPadIndex, eGamepadButton aButton) |
void | AddGamepadHat(int alPadIndex, eGamepadHat aHat, eGamepadHatState aHatState) |
void | AddKey(eKey aKey) |
void | AddMouseButton(eMouseButton aButton) |
void | AddSubAction(iSubAction@ apSubAction) |
bool | BecameTriggered() |
void | ClearSubActions() |
bool | DoubleTriggered(float afLimit) |
int | GetId() |
tString | GetName() |
iSubAction | GetSubAction(int alIdx) |
int | GetSubActionNum() |
bool | IsTriggered() |
void | ResetToCurrentState() |
bool | WasTriggered() |
Details
AddGamepadAxis
void AddGamepadAxis(int alPadIndex,
eGamepadAxis aAxis,
eGamepadAxisRange aRange,
float afMinThreshold,
float afMaxThreshold)
Parameters
- alPadIndex (int) —
- aAxis (eGamepadAxis) —
- aRange (eGamepadAxisRange) —
- afMinThreshold (float) —
- afMaxThreshold (float) —
Returns:
- void
AddGamepadButton
void AddGamepadButton(int alPadIndex,
eGamepadButton aButton)
Parameters
- alPadIndex (int) —
- aButton (eGamepadButton) —
Returns:
- void
AddGamepadHat
void AddGamepadHat(int alPadIndex,
eGamepadHat aHat,
eGamepadHatState aHatState)
Parameters
- alPadIndex (int) —
- aHat (eGamepadHat) —
- aHatState (eGamepadHatState) —
Returns:
- void
AddKey
AddMouseButton
AddSubAction
BecameTriggered
bool BecameTriggered()
Returns:
- bool—
ClearSubActions
void ClearSubActions()
Returns:
- void
DoubleTriggered
bool DoubleTriggered(float afLimit)
Parameters
- afLimit (float) —
Returns:
- bool—
GetId
int GetId()
Returns:
- int—
GetName
const tString& GetName()
Returns:
- const tString&—
GetSubAction
iSubAction@ GetSubAction(int alIdx)
Parameters
- alIdx (int) —
Returns:
- iSubAction@—
GetSubActionNum
int GetSubActionNum()
Returns:
- int—
IsTriggered
bool IsTriggered()
Returns:
- bool—
ResetToCurrentState
void ResetToCurrentState()
Returns:
- void
WasTriggered
bool WasTriggered()
Returns:
- bool—