DayZ 1.24
Loading...
Searching...
No Matches
ActionInteractBaseCB Class Reference
Inheritance diagram for ActionInteractBaseCB:
[legend]
Collaboration diagram for ActionInteractBaseCB:
[legend]

Private Member Functions

override void CreateActionComponent ()
 
override void OnAnimationEvent (int pEventID)
 
override void InitActionComponent ()
 
override void EndActionComponent ()
 
- Private Member Functions inherited from ActionBaseCB
void ActionBaseCB ()
 
int GetPossileStanceMask ()
 
override void OnFinish (bool pCanceled)
 
void SetCommand (int command_uid)
 
void CreateActionComponent ()
 
void InitActionComponent ()
 
void ProgressActionComponent ()
 
void EndActionComponent ()
 
void Interrupt ()
 
void SetActionData (ActionData action_data)
 
override bool IsUserActionCallback ()
 
float GetActionComponentProgress ()
 
int GetActionState ()
 
ActionTarget GetTarget ()
 

Additional Inherited Members

- Private Attributes inherited from ActionBaseCB
ActionData m_ActionData
 
SoundOnVehicle m_SoundObject
 
bool m_Canceled
 
bool m_Interrupted
 

Detailed Description

Definition at line 1 of file ActionInteractBase.c.

Member Function Documentation

◆ CreateActionComponent()

override void ActionInteractBaseCB::CreateActionComponent ( )
inlineprivate

Definition at line 3 of file ActionInteractBase.c.

4 {
6 }
ActionData m_ActionData
ref CABase m_ActionComponent
Definition ActionBase.c:30

References ActionData::m_ActionComponent, and ActionBaseCB::m_ActionData.

Referenced by InitActionComponent().

◆ EndActionComponent()

override void ActionInteractBaseCB::EndActionComponent ( )
inlineprivate

Definition at line 41 of file ActionInteractBase.c.

42 {
43 SetCommand(DayZPlayerConstants.CMD_ACTIONINT_END);
45 }
void SetCommand(int command_uid)
DayZPlayerConstants
defined in C++
Definition dayzplayer.c:597
const int UA_FINISHED
Definition constants.c:436

References ActionBaseCB::m_ActionData, ActionData::m_State, ActionBaseCB::SetCommand(), and UA_FINISHED.

◆ InitActionComponent()

override void ActionInteractBaseCB::InitActionComponent ( )
inlineprivate

Definition at line 24 of file ActionInteractBase.c.

25 {
26#ifdef DIAG_DEVELOPER
28 Debug.ActionLog("n/a", m_ActionData.m_Action.ToString(), "n/a", "InitActionComponent", m_ActionData.m_Player.ToString());
29#endif
30 m_Interrupted = false;
31 m_Canceled = false;
32
39 }
class DayZCreatureAnimInterface RegisterAnimationEvent(string event_name, string function_name)
SoundOnVehicle m_SoundObject
PlayerBase m_Player
Definition ActionBase.c:33
ref ActionBase m_Action
Definition ActionBase.c:27
override void CreateActionComponent()
Definition Debug.c:14
static void ActionLog(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Definition Debug.c:143
static bool IsActionLogEnable()
Definition Debug.c:719
const int UA_ANIM_EVENT
Definition constants.c:443
const int UA_PROCESSING
Definition constants.c:434

References Debug::ActionLog(), CreateActionComponent(), LogManager::IsActionLogEnable(), ActionData::m_Action, ActionData::m_ActionComponent, ActionBaseCB::m_ActionData, ActionBaseCB::m_Canceled, ActionBaseCB::m_Interrupted, ActionData::m_Player, ActionBaseCB::m_SoundObject, ActionData::m_State, RegisterAnimationEvent(), UA_ANIM_EVENT, and UA_PROCESSING.

◆ OnAnimationEvent()

override void ActionInteractBaseCB::OnAnimationEvent ( int pEventID)
inlineprivate

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