Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ActionInput Class Reference
Inheritance diagram for ActionInput:
ActionInput_Basic NoIndicationActionInputBase ContinuousWeaponManipulationActionInput DropActionInput ExternalControlledActionInput InventoryOnlyActionInput WeaponManipulationActionInput QuickaBarActionInput

Protected Member Functions

void ActionsSelectReset ()
void ClearForcedAction ()
void ClearForcedTarget ()
void ForceAction (ActionBase action, ActionTarget target, ItemBase item)
bool ForceActionCheck (PlayerBase player)
void ForceActionTarget (ActionTarget target)
ActionBase GetAction ()
int GetInputType ()
ActionBase GetPossibleAction ()
int GetPossibleActionIndex ()
array< ActionBaseGetPossibleActions ()
int GetPossibleActionsCount ()
int GetPriority ()
UAInput GetUAInput ()
ActionTarget GetUsedActionTarget ()
ItemBase GetUsedMainItem ()
bool HasInput ()
bool HasTarget ()
bool IsActive ()
bool JustActivate ()
void OnActionEnd ()
void OnActionStart ()
void Reset ()
void SelectNextAction ()
void SelectPrevAction ()
void SetInput (string input_name)
void Update ()
void UpdatePossibleActions (PlayerBase player, ActionTarget target, ItemBase item, int action_condition_mask)
bool WasEnded ()

Private Member Functions

void ActionInput ()
void Init (PlayerBase player, ActionManagerClient am)
void SetEnablity (bool value)

Private Attributes

bool m_Active
int m_ConditionMask
bool m_DetectFromItem
bool m_DetectFromPlayer
bool m_DetectFromTarget
bool m_Enabled
ref ForcedActionData m_ForcedActionData
ref ActionTarget m_ForcedTarget
bool m_HasTarget
UAIDWrapper m_input
int m_InputType
bool m_JustActivate
ItemBase m_MainItem
PlayerBase m_Player
int m_Priority
ref ActionTarget m_Target

Detailed Description

Definition at line 19 of file actioninput.c.

Constructor & Destructor Documentation

◆ ActionInput()

Member Function Documentation

◆ ActionsSelectReset()

void ActionsSelectReset ( )
inlineprotected

Definition at line 227 of file actioninput.c.

Referenced by OnActionStart(), Reset(), and ActionManagerClient::ResetInputsActions().

◆ ClearForcedAction()

void ClearForcedAction ( )
inlineprotected

Definition at line 243 of file actioninput.c.

References m_ForcedActionData.

Referenced by ActionManagerClient::EjectAction().

◆ ClearForcedTarget()

void ClearForcedTarget ( )
inlineprotected

Definition at line 248 of file actioninput.c.

References m_ForcedTarget.

◆ ForceAction()

void ForceAction ( ActionBase action,
ActionTarget target,
ItemBase item )
inlineprotected

Definition at line 230 of file actioninput.c.

References ActionTarget, and m_ForcedActionData.

Referenced by ActionManagerClient::InjectAction().

◆ ForceActionCheck()

bool ForceActionCheck ( PlayerBase player)
inlineprotected

Definition at line 253 of file actioninput.c.

References m_ForcedActionData, m_MainItem, and m_Target.

Referenced by NoIndicationActionInputBase::GetAction().

◆ ForceActionTarget()

void ForceActionTarget ( ActionTarget target)
inlineprotected

Definition at line 238 of file actioninput.c.

References ActionTarget, and m_ForcedTarget.

◆ GetAction()

ActionBase GetAction ( )
inlineprotected

◆ GetInputType()

◆ GetPossibleAction()

ActionBase GetPossibleAction ( )
inlineprotected

Definition at line 202 of file actioninput.c.

◆ GetPossibleActionIndex()

int GetPossibleActionIndex ( )
inlineprotected

Definition at line 207 of file actioninput.c.

Referenced by ActionManagerClient::GetPossibleActionIndex().

◆ GetPossibleActions()

array< ActionBase > GetPossibleActions ( )
inlineprotected

Definition at line 197 of file actioninput.c.

Referenced by ActionManagerClient::GetPossibleActions().

◆ GetPossibleActionsCount()

int GetPossibleActionsCount ( )
inlineprotected

◆ GetPriority()

int GetPriority ( )
inlineprotected

Definition at line 284 of file actioninput.c.

References m_Priority.

Referenced by ActionManagerClient::SetActioninputOrder().

◆ GetUAInput()

UAInput GetUAInput ( )
inlineprotected

Definition at line 94 of file actioninput.c.

References m_input.

◆ GetUsedActionTarget()

ActionTarget GetUsedActionTarget ( )
inlineprotected

Definition at line 187 of file actioninput.c.

References ActionTarget, and m_Target.

Referenced by ActionManagerClient::InputsUpdate().

◆ GetUsedMainItem()

ItemBase GetUsedMainItem ( )
inlineprotected

Definition at line 192 of file actioninput.c.

References m_MainItem.

Referenced by ActionManagerClient::InputsUpdate().

◆ HasInput()

bool HasInput ( )
inlineprotected

Definition at line 279 of file actioninput.c.

References m_input.

◆ HasTarget()

bool HasTarget ( )
inlineprotected

Definition at line 212 of file actioninput.c.

◆ Init()

void Init ( PlayerBase player,
ActionManagerClient am )
inlineprivate

◆ IsActive()

bool IsActive ( )
inlineprotected

Definition at line 104 of file actioninput.c.

References m_Active.

Referenced by ManBase::OnQuickBarContinuousUseEnd(), and ManBase::SetActionEndInput().

◆ JustActivate()

bool JustActivate ( )
inlineprotected

Definition at line 99 of file actioninput.c.

References m_JustActivate.

Referenced by ActionManagerClient::InputsUpdate().

◆ OnActionEnd()

void OnActionEnd ( )
inlineprotected

Definition at line 222 of file actioninput.c.

References Reset().

◆ OnActionStart()

void OnActionStart ( )
inlineprotected

Definition at line 217 of file actioninput.c.

References ActionsSelectReset().

Referenced by ActionManagerClient::HandleInputsOnActionStart().

◆ Reset()

void Reset ( )
inlineprotected

◆ SelectNextAction()

void SelectNextAction ( )
inlineprotected

Definition at line 267 of file actioninput.c.

Referenced by ActionManagerClient::SelectNextAction().

◆ SelectPrevAction()

void SelectPrevAction ( )
inlineprotected

Definition at line 271 of file actioninput.c.

Referenced by ActionManagerClient::SelectPrevAction().

◆ SetEnablity()

void SetEnablity ( bool value)
inlineprivate

Definition at line 71 of file actioninput.c.

References m_Enabled.

◆ SetInput()

◆ Update()

void Update ( )
inlineprotected

Definition at line 114 of file actioninput.c.

References m_Active, m_Enabled, m_input, m_InputType, and m_JustActivate.

Referenced by ActionManagerClient::InputsUpdate().

◆ UpdatePossibleActions()

void UpdatePossibleActions ( PlayerBase player,
ActionTarget target,
ItemBase item,
int action_condition_mask )
inlineprotected

Definition at line 178 of file actioninput.c.

References ActionTarget.

Referenced by ActionManagerClient::FindContextualUserActions().

◆ WasEnded()

bool WasEnded ( )
inlineprotected

Definition at line 109 of file actioninput.c.

References m_Active.

Referenced by ActionManagerClient::InputsUpdate().

Field Documentation

◆ m_Active

bool m_Active
private

Definition at line 41 of file actioninput.c.

Referenced by ActionInput(), IsActive(), Reset(), Update(), and WasEnded().

◆ m_ConditionMask

int m_ConditionMask
private

◆ m_DetectFromItem

bool m_DetectFromItem
private

Definition at line 24 of file actioninput.c.

Referenced by ActionInput().

◆ m_DetectFromPlayer

bool m_DetectFromPlayer
private

Definition at line 26 of file actioninput.c.

Referenced by ActionInput().

◆ m_DetectFromTarget

bool m_DetectFromTarget
private

◆ m_Enabled

bool m_Enabled
private

Definition at line 27 of file actioninput.c.

Referenced by ActionInput(), SetEnablity(), and Update().

◆ m_ForcedActionData

ref ForcedActionData m_ForcedActionData
private

◆ m_ForcedTarget

ref ActionTarget m_ForcedTarget
private

Definition at line 33 of file actioninput.c.

Referenced by ActionInput(), ClearForcedTarget(), and ForceActionTarget().

◆ m_HasTarget

bool m_HasTarget
private

Definition at line 29 of file actioninput.c.

Referenced by ActionInput().

◆ m_input

UAIDWrapper m_input
private

Definition at line 21 of file actioninput.c.

Referenced by GetUAInput(), HasInput(), SetInput(), and Update().

◆ m_InputType

◆ m_JustActivate

bool m_JustActivate
private

Definition at line 28 of file actioninput.c.

Referenced by ActionInput(), JustActivate(), and Update().

◆ m_MainItem

◆ m_Player

Definition at line 31 of file actioninput.c.

Referenced by NoIndicationActionInputBase::GetAction(), and Init().

◆ m_Priority

int m_Priority
private

Definition at line 23 of file actioninput.c.

Referenced by ActionInput(), and GetPriority().

◆ m_Target


The documentation for this class was generated from the following file:
  • F:/Games/Dayz/scripts/4_world/classes/useractionscomponent/actioninput.c