PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
ActionManagerBase.c File Reference

Data Structures

class  array< ref TSelectableActionInfo >
 

Functions

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

Variables

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

Function Documentation

◆ ActionManagerBase()

◆ ActionPossibilityCheck()

◆ EnableActions()

void EnableActions ( bool  enable)

References m_ActionsEnabled.

◆ EndActionInput()

void EndActionInput ( )

◆ EndOrInterruptCurrentAction()

void EndOrInterruptCurrentAction ( )

◆ FindActionTarget()

ActionTarget FindActionTarget ( )

◆ GetACProgressWidgetMultiplier()

float GetACProgressWidgetMultiplier ( )

References m_CurrentActionData.

◆ GetAction() [1/2]

static ActionBase GetAction ( int  actionID)
static

References m_ActionsArray.

◆ GetAction() [2/2]

static ActionBase GetAction ( typename actionName  )
static

References m_ActionNameActionMap.

◆ GetActionComponentProgress()

float GetActionComponentProgress ( )

References m_CurrentActionData.

◆ GetActionState() [1/2]

int GetActionState ( )

References m_CurrentActionData, and UA_NONE.

◆ GetActionState() [2/2]

int GetActionState ( ActionBase  action)

References m_CurrentActionData, and UA_NONE.

◆ GetActionVariant()

◆ GetContinuousAction()

ActionBase GetContinuousAction ( )

References m_PrimaryAction.

◆ GetReciveData()

ActionReciveData GetReciveData ( )

◆ GetRunningAction()

ActionBase GetRunningAction ( )

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

References m_CurrentActionData.

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

◆ GetRunningActionMainitem()

ItemBase GetRunningActionMainitem ( )

References m_CurrentActionData.

◆ GetSelectableActions()

TSelectableActionInfoArray GetSelectableActions ( )

References m_SelectableActions.

◆ GetSelectedActionCategory()

GetSelectedActionCategory ( )

◆ GetSelectedActionIndex()

int GetSelectedActionIndex ( )

References m_SelectedActionIndex.

◆ GetSingleUseAction()

ActionBase GetSingleUseAction ( )

References m_SecondaryAction.

◆ Interrupt()

void Interrupt ( )

◆ InterruptNoSync()

void InterruptNoSync ( )

References m_Interrupted.

Referenced by Interrupt().

◆ IsSelectableActionsChanged()

bool IsSelectableActionsChanged ( )

◆ LocalInterrupt()

protected void LocalInterrupt ( )

References m_CurrentActionData, and m_Interrupted.

Referenced by Update().

◆ OnActionEnd()

◆ OnContinuousCancel()

void OnContinuousCancel ( )

◆ OnContinuousStart()

void OnContinuousStart ( )

◆ OnInputUserDataProcess()

bool OnInputUserDataProcess ( int  userDataType,
ParamsReadContext  ctx 
)

◆ OnInstantAction()

void OnInstantAction ( typename user_action_type  ,
Param  data = null 
)

◆ OnInteractAction()

void OnInteractAction ( )

◆ OnJumpStart()

void OnJumpStart ( )

◆ OnSingleUse()

void OnSingleUse ( )

◆ OnSyncJuncture()

◆ RequestEndAction()

void RequestEndAction ( )

◆ RequestInterruptAction()

void RequestInterruptAction ( )

Referenced by Interrupt().

◆ SelectFirstActionCategory()

void SelectFirstActionCategory ( )

◆ SelectNextAction()

void SelectNextAction ( )

◆ SelectNextActionCategory()

void SelectNextActionCategory ( )

◆ SelectPrevAction()

void SelectPrevAction ( )

◆ SelectPrevActionCategory()

void SelectPrevActionCategory ( )

◆ SetActionContext()

protected void SetActionContext ( ActionTarget  target,
ItemBase  item 
)

◆ StartDeliveredAction()

void StartDeliveredAction ( )

◆ Update()

Variable Documentation

◆ m_ActionInputWantEnd

◆ m_ActionNameActionMap

ref map<typename, ActionBase> m_ActionNameActionMap
static

◆ m_ActionsArray

ref array<ref ActionBase> m_ActionsArray
static

◆ m_ActionsAvaibale

◆ m_ActionsEnabled

protected bool m_ActionsEnabled

◆ m_ActionWantEndRequest

◆ m_CurrentActionData

◆ m_Interrupted

◆ m_IsRestrictedLookLimits

protected bool m_IsRestrictedLookLimits

Referenced by Update().

◆ m_PendingActionAcknowledgmentID

◆ m_Player

class TSelectableActionInfoArray extends array< ref TSelectableActionInfo > m_Player

◆ m_PrimaryAction

protected ActionBase m_PrimaryAction

Referenced by GetContinuousAction().

◆ m_PrimaryActionEnabled

bool m_PrimaryActionEnabled

◆ m_PrimaryActionItem

protected ItemBase m_PrimaryActionItem

◆ m_PrimaryActionTarget

protected ActionTarget m_PrimaryActionTarget

◆ m_SecondaryAction

protected ActionBase m_SecondaryAction

Referenced by GetSingleUseAction().

◆ m_SecondaryActionEnabled

bool m_SecondaryActionEnabled

◆ m_SecondaryActionItem

protected ItemBase m_SecondaryActionItem

◆ m_SecondaryActionTarget

protected ActionTarget m_SecondaryActionTarget

◆ m_SelectableActions

ref TSelectableActionInfoArray m_SelectableActions

◆ m_SelectableActionsHasChanged

bool m_SelectableActionsHasChanged

◆ m_SelectedActionIndex

int m_SelectedActionIndex

◆ m_TertiaryActionEnabled

bool m_TertiaryActionEnabled

◆ m_TestedActionItem

protected ItemBase m_TestedActionItem

Referenced by SetActionContext().

◆ m_TestedActionTarget

protected ActionTarget m_TestedActionTarget

Referenced by SetActionContext().