DayZ 1.24
Loading...
Searching...
No Matches
ActionSequentialBase.c File Reference

Go to the source code of this file.

Classes

class  SequentialActionData
 

Functions

SequentialActionData ActionData ActionMultiStageBase ()
 
void MultiStageBaseActionData ()
 
override ActionData CreateActionData ()
 
override int GetStanceMask (PlayerBase player)
 
override int GetActionCategory ()
 
override GetInputType ()
 
override bool CanBePerformedFromInventory ()
 
override bool CanBeUsedOnBack ()
 
override bool CanBeUsedRaised ()
 
override void Start (ActionData action_data)
 
void SetStage (int stage, SequentialActionData action_data)
 
void OnStageStart (SequentialActionData action_data)
 
void OnStageEnd (SequentialActionData action_data)
 
override float GetProgress (ActionData action_data)
 

Variables

int m_Stage
 

Function Documentation

◆ ActionMultiStageBase()

SequentialActionData ActionData ActionMultiStageBase ( )

Definition at line 1 of file ActionSequentialBase.c.

13 {
14 }

◆ CanBePerformedFromInventory()

override bool CanBePerformedFromInventory ( )

Definition at line 37 of file ActionSequentialBase.c.

38 {
39 return true;
40 }

◆ CanBeUsedOnBack()

override bool CanBeUsedOnBack ( )

Definition at line 42 of file ActionSequentialBase.c.

43 {
44 return true;
45 }

◆ CanBeUsedRaised()

override bool CanBeUsedRaised ( )

Definition at line 47 of file ActionSequentialBase.c.

48 {
49 return true;
50 }

◆ CreateActionData()

override ActionData CreateActionData ( )

◆ GetActionCategory()

override int GetActionCategory ( )

Definition at line 27 of file ActionSequentialBase.c.

28 {
29 return AC_SINGLE_USE;
30 }
const int AC_SINGLE_USE
Definition _constants.c:2

References AC_SINGLE_USE.

◆ GetInputType()

override GetInputType ( )

Definition at line 32 of file ActionSequentialBase.c.

◆ GetProgress()

override float GetProgress ( ActionData action_data)

Definition at line 75 of file ActionSequentialBase.c.

76 {
77 return -1;
78 }

◆ GetStanceMask()

override int GetStanceMask ( PlayerBase player)

Definition at line 22 of file ActionSequentialBase.c.

23 {
24 return DayZPlayerConstants.STANCEMASK_ALL;
25 }
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:597

◆ MultiStageBaseActionData()

void ActionMultiStageBase::MultiStageBaseActionData ( )

Definition at line 14 of file ActionSequentialBase.c.

17 {

◆ OnStageEnd()

void OnStageEnd ( SequentialActionData action_data)

Definition at line 71 of file ActionSequentialBase.c.

72 {
73 }

Referenced by SetStage().

◆ OnStageStart()

void OnStageStart ( SequentialActionData action_data)

Definition at line 67 of file ActionSequentialBase.c.

68 {
69 }

Referenced by SetStage(), and Start().

◆ SetStage()

void SetStage ( int stage,
SequentialActionData action_data )

Definition at line 60 of file ActionSequentialBase.c.

61 {
63 action_data.m_Stage = stage;
65 }
void OnStageEnd(SequentialActionData action_data)
void OnStageStart(SequentialActionData action_data)

References OnStageEnd(), and OnStageStart().

Referenced by FirearmActionDetachMagazine::OnUpdate().

◆ Start()

override void Start ( ActionData action_data)

Definition at line 52 of file ActionSequentialBase.c.

References OnStageStart().

Variable Documentation

◆ m_Stage

int m_Stage

Definition at line 13 of file ActionSequentialBase.c.