Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
actionmanagerbase.c File Reference

Go to the source code of this file.

Data Structures

class  array< ref TSelectableActionInfo >

Functions

void ActionManagerBase (PlayerBase player)
bool ActionPossibilityCheck (int pCurrentCommandID)
void EnableActions (bool enable)
void EndActionInput ()
void EndOrInterruptCurrentAction ()
ActionTarget FindActionTarget ()
float GetACProgressWidgetMultiplier ()
static ActionBase GetAction (int actionID)
static ActionBase GetAction (typename actionName)
float GetActionComponentProgress ()
int GetActionState ()
int GetActionState (ActionBase action)
static ActionBase GetActionVariant (typename actionName)
ActionBase GetContinuousAction ()
ActionReciveData GetReciveData ()
ActionBase GetRunningAction ()
 returns -1 when no action is running or RELOAD,MECHANISM, ....
ItemBase GetRunningActionMainitem ()
TSelectableActionInfoArray GetSelectableActions ()
 GetSelectedActionCategory ()
int GetSelectedActionIndex ()
ActionBase GetSingleUseAction ()
void Interrupt ()
void InterruptNoSync ()
bool IsSelectableActionsChanged ()
void LocalInterrupt ()
void OnActionEnd ()
void OnContinuousCancel ()
void OnContinuousStart ()
bool OnInputUserDataProcess (int userDataType, ParamsReadContext ctx)
void OnInstantAction (typename user_action_type, Param data=null)
void OnInteractAction ()
void OnJumpStart ()
void OnSingleUse ()
void OnSyncJuncture (int pJunctureID, ParamsReadContext pCtx)
void RequestEndAction ()
void RequestInterruptAction ()
void SelectFirstActionCategory ()
void SelectNextAction ()
void SelectNextActionCategory ()
void SelectPrevAction ()
void SelectPrevActionCategory ()
void SetActionContext (ActionTarget target, ItemBase item)
void StartDeliveredAction ()
void Update (int pCurrentCommandID)

Variables

bool m_ActionInputWantEnd
static ref map< typename, ActionBasem_ActionNameActionMap
static ref array< ref ActionBasem_ActionsArray
bool m_ActionsAvaibale
bool m_ActionsEnabled
bool m_ActionWantEndRequest
ref ActionData m_CurrentActionData
bool m_Interrupted
bool m_IsRestrictedLookLimits
int m_PendingActionAcknowledgmentID
class TSelectableActionInfoArray extends array< ref TSelectableActionInfom_Player
ActionBase m_PrimaryAction
bool m_PrimaryActionEnabled
ItemBase m_PrimaryActionItem
ActionTarget m_PrimaryActionTarget
ActionBase m_SecondaryAction
bool m_SecondaryActionEnabled
ItemBase m_SecondaryActionItem
ActionTarget m_SecondaryActionTarget
ref TSelectableActionInfoArray m_SelectableActions
bool m_SelectableActionsHasChanged
int m_SelectedActionIndex
bool m_TertiaryActionEnabled
ItemBase m_TestedActionItem
ActionTarget m_TestedActionTarget

Function Documentation

◆ ActionManagerBase()

◆ ActionPossibilityCheck()

bool ActionPossibilityCheck ( int pCurrentCommandID)
protected

◆ EnableActions()

void EnableActions ( bool enable)
protected

Definition at line 107 of file actionmanagerbase.c.

References m_ActionsEnabled.

◆ EndActionInput()

void EndActionInput ( )
protected

◆ EndOrInterruptCurrentAction()

void EndOrInterruptCurrentAction ( )
protected

◆ FindActionTarget()

ActionTarget FindActionTarget ( )
protected

References ActionTarget.

◆ GetACProgressWidgetMultiplier()

float GetACProgressWidgetMultiplier ( )
protected

Definition at line 342 of file actionmanagerbase.c.

References m_CurrentActionData.

◆ GetAction() [1/2]

ActionBase GetAction ( int actionID)
staticprotected

Definition at line 204 of file actionmanagerbase.c.

References m_ActionsArray.

◆ GetAction() [2/2]

ActionBase GetAction ( typename actionName )
staticprotected

Definition at line 196 of file actionmanagerbase.c.

References m_ActionNameActionMap.

◆ GetActionComponentProgress()

float GetActionComponentProgress ( )
protected

Definition at line 334 of file actionmanagerbase.c.

References m_CurrentActionData.

◆ GetActionState() [1/2]

int GetActionState ( )
protected

Definition at line 350 of file actionmanagerbase.c.

References m_CurrentActionData, and UA_NONE.

◆ GetActionState() [2/2]

int GetActionState ( ActionBase action)
protected

Definition at line 263 of file actionmanagerbase.c.

References m_CurrentActionData, and UA_NONE.

◆ GetActionVariant()

◆ GetContinuousAction()

ActionBase GetContinuousAction ( )
protected

Definition at line 209 of file actionmanagerbase.c.

References m_PrimaryAction.

◆ GetReciveData()

ActionReciveData GetReciveData ( )
protected

Definition at line 358 of file actionmanagerbase.c.

◆ GetRunningAction()

ActionBase GetRunningAction ( )
protected

returns -1 when no action is running or RELOAD,MECHANISM, ....

Definition at line 91 of file actionmanagerbase.c.

References m_CurrentActionData.

Referenced by ManBase::CanBeRestrained(), ManBase::CanChangeStance(), ActionManagerClient::FindContextualUserActions(), ManBase::HeadingModel(), and ManBase::OnQuickBarSingleUse().

◆ GetRunningActionMainitem()

ItemBase GetRunningActionMainitem ( )
protected

Definition at line 99 of file actionmanagerbase.c.

References m_CurrentActionData.

◆ GetSelectableActions()

TSelectableActionInfoArray GetSelectableActions ( )
protected

Definition at line 219 of file actionmanagerbase.c.

References m_SelectableActions.

◆ GetSelectedActionCategory()

GetSelectedActionCategory ( )
protected

◆ GetSelectedActionIndex()

int GetSelectedActionIndex ( )
protected

Definition at line 224 of file actionmanagerbase.c.

References m_SelectedActionIndex.

◆ GetSingleUseAction()

ActionBase GetSingleUseAction ( )
protected

Definition at line 214 of file actionmanagerbase.c.

References m_SecondaryAction.

◆ Interrupt()

void Interrupt ( )
protected

Definition at line 284 of file actionmanagerbase.c.

References g_Game, InterruptNoSync(), m_CurrentActionData, and RequestInterruptAction().

Referenced by OnUpdateServer().

◆ InterruptNoSync()

void InterruptNoSync ( )
protected

Definition at line 279 of file actionmanagerbase.c.

References m_Interrupted.

Referenced by Interrupt().

◆ IsSelectableActionsChanged()

bool IsSelectableActionsChanged ( )
protected

Definition at line 238 of file actionmanagerbase.c.

References m_SelectableActionsHasChanged.

◆ LocalInterrupt()

void LocalInterrupt ( )
protected

Definition at line 300 of file actionmanagerbase.c.

References m_CurrentActionData, and m_Interrupted.

Referenced by Update().

◆ OnActionEnd()

void OnActionEnd ( )
protected

◆ OnContinuousCancel()

void OnContinuousCancel ( )
protected

◆ OnContinuousStart()

void OnContinuousStart ( )
protected

◆ OnInputUserDataProcess()

bool OnInputUserDataProcess ( int userDataType,
ParamsReadContext ctx )
protected

Definition at line 329 of file actionmanagerbase.c.

◆ OnInstantAction()

void OnInstantAction ( typename user_action_type ,
Param data = null )
protected

◆ OnInteractAction()

void OnInteractAction ( )
protected

◆ OnJumpStart()

void OnJumpStart ( )
protected

◆ OnSingleUse()

void OnSingleUse ( )
protected

◆ OnSyncJuncture()

◆ RequestEndAction()

void RequestEndAction ( )
protected

◆ RequestInterruptAction()

void RequestInterruptAction ( )
protected

Referenced by Interrupt().

◆ SelectFirstActionCategory()

void SelectFirstActionCategory ( )
protected

◆ SelectNextAction()

void SelectNextAction ( )
protected

Definition at line 496 of file actioninput.c.

References m_SelectActions, and m_selectedActionIndex.

◆ SelectNextActionCategory()

void SelectNextActionCategory ( )
protected

◆ SelectPrevAction()

void SelectPrevAction ( )
protected

Definition at line 508 of file actioninput.c.

References m_SelectActions, and m_selectedActionIndex.

◆ SelectPrevActionCategory()

void SelectPrevActionCategory ( )
protected

◆ SetActionContext()

void SetActionContext ( ActionTarget target,
ItemBase item )
protected

◆ StartDeliveredAction()

void StartDeliveredAction ( )
protected

◆ Update()

Variable Documentation

◆ m_ActionInputWantEnd

◆ m_ActionNameActionMap

ref map<typename, ActionBase> m_ActionNameActionMap
staticprotected

Definition at line 51 of file actionmanagerbase.c.

Referenced by ActionManagerBase(), GetAction(), and GetActionVariant().

◆ m_ActionsArray

ref array<ref ActionBase> m_ActionsArray
staticprotected

◆ m_ActionsAvaibale

◆ m_ActionsEnabled

bool m_ActionsEnabled
protected

Definition at line 54 of file actionmanagerbase.c.

Referenced by ActionManagerBase(), ActionPossibilityCheck(), and EnableActions().

◆ m_ActionWantEndRequest

◆ m_CurrentActionData

◆ m_Interrupted

◆ m_IsRestrictedLookLimits

bool m_IsRestrictedLookLimits
protected

Definition at line 56 of file actionmanagerbase.c.

Referenced by Update().

◆ m_PendingActionAcknowledgmentID

◆ m_Player

class TSelectableActionInfoArray extends array< ref TSelectableActionInfo > m_Player

◆ m_PrimaryAction

ActionBase m_PrimaryAction
protected

Definition at line 37 of file actionmanagerbase.c.

Referenced by GetContinuousAction().

◆ m_PrimaryActionEnabled

bool m_PrimaryActionEnabled
protected

Definition at line 43 of file actionmanagerbase.c.

◆ m_PrimaryActionItem

ItemBase m_PrimaryActionItem
protected

Definition at line 39 of file actionmanagerbase.c.

◆ m_PrimaryActionTarget

ActionTarget m_PrimaryActionTarget
protected

Definition at line 38 of file actionmanagerbase.c.

◆ m_SecondaryAction

ActionBase m_SecondaryAction
protected

Definition at line 40 of file actionmanagerbase.c.

Referenced by GetSingleUseAction().

◆ m_SecondaryActionEnabled

bool m_SecondaryActionEnabled
protected

Definition at line 44 of file actionmanagerbase.c.

◆ m_SecondaryActionItem

ItemBase m_SecondaryActionItem
protected

Definition at line 42 of file actionmanagerbase.c.

◆ m_SecondaryActionTarget

ActionTarget m_SecondaryActionTarget
protected

Definition at line 41 of file actionmanagerbase.c.

◆ m_SelectableActions

ref TSelectableActionInfoArray m_SelectableActions
protected

Definition at line 46 of file actionmanagerbase.c.

Referenced by ActionManagerBase(), and GetSelectableActions().

◆ m_SelectableActionsHasChanged

bool m_SelectableActionsHasChanged
protected

Definition at line 48 of file actionmanagerbase.c.

Referenced by ActionManagerBase(), and IsSelectableActionsChanged().

◆ m_SelectedActionIndex

int m_SelectedActionIndex
protected

Definition at line 47 of file actionmanagerbase.c.

Referenced by ActionManagerBase(), and GetSelectedActionIndex().

◆ m_TertiaryActionEnabled

bool m_TertiaryActionEnabled
protected

Definition at line 45 of file actionmanagerbase.c.

◆ m_TestedActionItem

ItemBase m_TestedActionItem
protected

Definition at line 35 of file actionmanagerbase.c.

Referenced by SetActionContext().

◆ m_TestedActionTarget

ActionTarget m_TestedActionTarget
protected

Definition at line 34 of file actionmanagerbase.c.

Referenced by SetActionContext().