Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
ActionManagerClient Class Reference
Inheritance diagram for ActionManagerClient:

Protected Member Functions

void ActionManagerClient (PlayerBase player)
void ActionStart (ActionBase action, ActionTarget target, ItemBase item, Param extra_data=NULL)
bool CanPerformActionFromInventory (ItemBase mainItem, ItemBase targetItem)
bool CanPerformActionFromQuickbar (ItemBase mainItem, ItemBase targetItem)
bool CanSetActionFromInventory (ItemBase mainItem, ItemBase targetItem)
void ClearForceTarget ()
void EjectAction (ActionBase action)
void EjectAction (typename actionType)
override void EndActionInput ()
override void EndOrInterruptCurrentAction ()
ItemBase FindActionItem ()
override ActionTarget FindActionTarget ()
void FindContextualUserActions (int pCurrentCommandID)
void ForceTarget (Object targetObject)
ActionBase GetPossibleAction (typename inputType)
int GetPossibleActionCount (typename inputType)
int GetPossibleActionIndex (typename inputType)
array< ActionBaseGetPossibleActions (typename inputType)
override GetSelectedActionCategory ()
void HandleInputsOnActionEnd ()
void HandleInputsOnActionStart (ActionBase action)
bool HasHandInventoryReservation ()
void InjectAction (ActionBase action, ActionTarget target, ItemBase item)
void InjectAction (typename actionType, ActionTarget target, ItemBase item)
void InputsUpdate ()
bool LockInventory (ActionData action_data)
override void OnActionEnd ()
override void OnInstantAction (typename user_action_type, Param data=NULL)
override void OnJumpStart ()
void PerformActionFromInventory (ItemBase mainItem, ItemBase targetItem)
void PerformActionFromQuickbar (ItemBase mainItem, ItemBase targetItem)
void PerformActionStart (ActionBase action, ActionTarget target, ItemBase item, Param extra_data=NULL)
void ProcessActionInputEnd ()
void ProcessActionRequestEnd ()
void RegisterInputs (PlayerBase player)
override void RequestEndAction ()
override void RequestInterruptAction ()
 client requests action interrupt
void ResetInputsActions ()
void ResetInputsState ()
override void SelectFirstActionCategory ()
override void SelectNextAction ()
override void SelectNextActionCategory ()
override void SelectPrevAction ()
override void SelectPrevActionCategory ()
void SetActionFromInventory (ItemBase mainItem, ItemBase targetItem)
void SetActioninputOrder ()
void SetDefaultInputsOrder ()
void SetIgnoreAutomaticInputEnd (bool state)
void SetInventoryAction (ActionBase action_name, ActionTarget target, ItemBase main_item)
void SetInventoryAction (ActionBase action_name, ItemBase target_item, ItemBase main_item)
void UnlockInventory (ActionData action_data)
void UnsetInventoryAction ()
override void Update (int pCurrentCommandID)
void UpdateActionCategoryPriority ()

Static Protected Member Functions

static ActionVariantManager GetVariantManager (typename actionName)

Protected Attributes

bool m_ActionInputWantEnd_Send
bool m_ActionPossible
bool m_ActionWantEndRequest_Send
ref array< ActionInputm_DefaultOrderOfActionInputs
ref InventoryLocation m_HandInventoryLocationTest
bool m_IgnoreAutoInputEnd
ref InventoryActionHandler m_InventoryActionHandler
int m_LastAcknowledgmentID
ref array< ActionInputm_OrderedStandartActionInputs
ref array< ActionInputm_OrederedAllActionInput
ref ActionData m_PendingActionData
ref TTypeNameActionInputMap m_RegistredInputsMap
ref array< ref InventoryLocationm_ReservedInventoryLocations
int m_SelectedActionInputToSrollIndex

Private Attributes

ref ActionTarget m_ForceTarget
ref ActionTargets m_Targets

Detailed Description

Definition at line 4 of file actionmanagerclient.c.

Constructor & Destructor Documentation

◆ ActionManagerClient()

Member Function Documentation

◆ ActionStart()

◆ CanPerformActionFromInventory()

◆ CanPerformActionFromQuickbar()

bool CanPerformActionFromQuickbar ( ItemBase mainItem,
ItemBase targetItem )
inlineprotected

◆ CanSetActionFromInventory()

◆ ClearForceTarget()

void ClearForceTarget ( )
inlineprotected

◆ EjectAction() [1/2]

void EjectAction ( ActionBase action)
inlineprotected

◆ EjectAction() [2/2]

void EjectAction ( typename actionType )
inlineprotected

Definition at line 454 of file actionmanagerclient.c.

References EjectAction(), and GetAction().

◆ EndActionInput()

override void EndActionInput ( )
inlineprotected

◆ EndOrInterruptCurrentAction()

override void EndOrInterruptCurrentAction ( )
inlineprotected

◆ FindActionItem()

ItemBase FindActionItem ( )
inlineprotected

Definition at line 510 of file actionmanagerclient.c.

Referenced by FindContextualUserActions().

◆ FindActionTarget()

override ActionTarget FindActionTarget ( )
inlineprotected

Definition at line 476 of file actionmanagerclient.c.

References ActionTarget, m_ForceTarget, m_Targets, and vector::Zero.

Referenced by FindContextualUserActions().

◆ FindContextualUserActions()

◆ ForceTarget()

void ForceTarget ( Object targetObject)
inlineprotected

◆ GetPossibleAction()

ActionBase GetPossibleAction ( typename inputType )
inlineprotected

Definition at line 393 of file actionmanagerclient.c.

References ActionInput::GetAction(), and m_RegistredInputsMap.

◆ GetPossibleActionCount()

int GetPossibleActionCount ( typename inputType )
inlineprotected

◆ GetPossibleActionIndex()

int GetPossibleActionIndex ( typename inputType )
inlineprotected

◆ GetPossibleActions()

array< ActionBase > GetPossibleActions ( typename inputType )
inlineprotected

◆ GetSelectedActionCategory()

override GetSelectedActionCategory ( )
inlineprotected

◆ GetVariantManager()

ActionVariantManager GetVariantManager ( typename actionName )
inlinestaticprotected

◆ HandleInputsOnActionEnd()

void HandleInputsOnActionEnd ( )
inlineprotected

Definition at line 700 of file actionmanagerclient.c.

References ResetInputsState().

Referenced by OnActionEnd().

◆ HandleInputsOnActionStart()

void HandleInputsOnActionStart ( ActionBase action)
inlineprotected

◆ HasHandInventoryReservation()

bool HasHandInventoryReservation ( )
inlineprotected

Definition at line 520 of file actionmanagerclient.c.

References m_HandInventoryLocationTest.

Referenced by FindContextualUserActions().

◆ InjectAction() [1/2]

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

Definition at line 436 of file actionmanagerclient.c.

References ActionTarget, ActionInput::ForceAction(), and ActionBase::GetInput().

Referenced by InjectAction().

◆ InjectAction() [2/2]

void InjectAction ( typename actionType ,
ActionTarget target,
ItemBase item )
inlineprotected

Definition at line 442 of file actionmanagerclient.c.

References ActionTarget, GetAction(), and InjectAction().

◆ InputsUpdate()

◆ LockInventory()

bool LockInventory ( ActionData action_data)
inlineprotected

◆ OnActionEnd()

override void OnActionEnd ( )
inlineprotected

◆ OnInstantAction()

override void OnInstantAction ( typename user_action_type ,
Param data = NULL )
inlineprotected

Definition at line 745 of file actionmanagerclient.c.

References ActionStart(), and GetAction().

◆ OnJumpStart()

override void OnJumpStart ( )
inlineprotected

Definition at line 723 of file actionmanagerclient.c.

References EndOrInterruptCurrentAction().

◆ PerformActionFromInventory()

void PerformActionFromInventory ( ItemBase mainItem,
ItemBase targetItem )
inlineprotected

◆ PerformActionFromQuickbar()

void PerformActionFromQuickbar ( ItemBase mainItem,
ItemBase targetItem )
inlineprotected

◆ PerformActionStart()

◆ ProcessActionInputEnd()

◆ ProcessActionRequestEnd()

◆ RegisterInputs()

void RegisterInputs ( PlayerBase player)
inlineprotected

◆ RequestEndAction()

override void RequestEndAction ( )
inlineprotected

◆ RequestInterruptAction()

override void RequestInterruptAction ( )
inlineprotected

◆ ResetInputsActions()

void ResetInputsActions ( )
inlineprotected

◆ ResetInputsState()

void ResetInputsState ( )
inlineprotected

Definition at line 705 of file actionmanagerclient.c.

References m_OrederedAllActionInput, and ActionInput::Reset().

Referenced by HandleInputsOnActionEnd().

◆ SelectFirstActionCategory()

override void SelectFirstActionCategory ( )
inlineprotected

◆ SelectNextAction()

override void SelectNextAction ( )
inlineprotected

◆ SelectNextActionCategory()

override void SelectNextActionCategory ( )
inlineprotected

◆ SelectPrevAction()

override void SelectPrevAction ( )
inlineprotected

◆ SelectPrevActionCategory()

override void SelectPrevActionCategory ( )
inlineprotected

◆ SetActionFromInventory()

◆ SetActioninputOrder()

void SetActioninputOrder ( )
inlineprotected

◆ SetDefaultInputsOrder()

void SetDefaultInputsOrder ( )
inlineprotected

◆ SetIgnoreAutomaticInputEnd()

void SetIgnoreAutomaticInputEnd ( bool state)
inlineprotected

Definition at line 1274 of file actionmanagerclient.c.

References m_IgnoreAutoInputEnd.

◆ SetInventoryAction() [1/2]

void SetInventoryAction ( ActionBase action_name,
ActionTarget target,
ItemBase main_item )
inlineprotected

Definition at line 793 of file actionmanagerclient.c.

References ActionTarget, and m_InventoryActionHandler.

◆ SetInventoryAction() [2/2]

void SetInventoryAction ( ActionBase action_name,
ItemBase target_item,
ItemBase main_item )
inlineprotected

◆ UnlockInventory()

void UnlockInventory ( ActionData action_data)
inlineprotected

Definition at line 588 of file actionmanagerclient.c.

References ActionData, Debug::ActionLog(), and LogManager::IsActionLogEnable().

Referenced by OnActionEnd(), and OnExecute().

◆ UnsetInventoryAction()

void UnsetInventoryAction ( )
inlineprotected

Definition at line 798 of file actionmanagerclient.c.

References m_InventoryActionHandler.

◆ Update()

◆ UpdateActionCategoryPriority()

void UpdateActionCategoryPriority ( )
inlineprotected

Field Documentation

◆ m_ActionInputWantEnd_Send

bool m_ActionInputWantEnd_Send
protected

◆ m_ActionPossible

bool m_ActionPossible
protected

Definition at line 9 of file actionmanagerclient.c.

Referenced by FindContextualUserActions(), and Update().

◆ m_ActionWantEndRequest_Send

bool m_ActionWantEndRequest_Send
protected

◆ m_DefaultOrderOfActionInputs

ref array<ActionInput> m_DefaultOrderOfActionInputs
protected

Definition at line 16 of file actionmanagerclient.c.

Referenced by SetDefaultInputsOrder(), and UpdateActionCategoryPriority().

◆ m_ForceTarget

ref ActionTarget m_ForceTarget
private

Definition at line 1291 of file actionmanagerclient.c.

Referenced by ClearForceTarget(), FindActionTarget(), and ForceTarget().

◆ m_HandInventoryLocationTest

ref InventoryLocation m_HandInventoryLocationTest
protected

Definition at line 12 of file actionmanagerclient.c.

Referenced by ActionManagerClient(), and HasHandInventoryReservation().

◆ m_IgnoreAutoInputEnd

bool m_IgnoreAutoInputEnd
protected

Definition at line 18 of file actionmanagerclient.c.

Referenced by InputsUpdate(), and SetIgnoreAutomaticInputEnd().

◆ m_InventoryActionHandler

ref InventoryActionHandler m_InventoryActionHandler
protected

◆ m_LastAcknowledgmentID

int m_LastAcknowledgmentID
protected

Definition at line 8 of file actionmanagerclient.c.

Referenced by ActionManagerClient(), and ActionStart().

◆ m_OrderedStandartActionInputs

◆ m_OrederedAllActionInput

◆ m_PendingActionData

ref ActionData m_PendingActionData
protected

Definition at line 20 of file actionmanagerclient.c.

Referenced by PerformActionStart(), and Update().

◆ m_RegistredInputsMap

◆ m_ReservedInventoryLocations

ref array<ref InventoryLocation> m_ReservedInventoryLocations
protected

Definition at line 10 of file actionmanagerclient.c.

◆ m_SelectedActionInputToSrollIndex

◆ m_Targets

ref ActionTargets m_Targets
private

Definition at line 1292 of file actionmanagerclient.c.

Referenced by ActionManagerClient(), FindActionTarget(), and Update().


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