DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ CancelCondition()

bool ActionInteractLoopBaseCB::CancelCondition ( )
inlineprivate

См. определение в файле ActionInteractLoopBase.c строка 4

5 {
6 if ( !m_ActionData )
7 {
9 }
10 //SetCommand(DayZPlayerConstants.CMD_ACTIONINT_ACTIONLOOP);
11 //Print("cancel condition enabled: " + GetState().ToString() );
13 {
14 AnimatedActionBase action = AnimatedActionBase.Cast(m_ActionData.m_Action);
15 action.Do(m_ActionData,m_ActionData.m_State);
16 }
17 return DefaultCancelCondition();
18 }
bool m_Interrupted
Определения AnimatedActionBase.c:6
ActionData m_ActionData
Определения AnimatedActionBase.c:3
void Do(ActionData action_data, int state)
Определения AnimatedActionBase.c:382
static const int STATE_LOOP_LOOP
Определения human.c:353
proto native int GetState()
returns one of STATE_...
Определения StaminaHandler.c:31
static const int STATE_LOOP_LOOP2
Определения human.c:356
proto native bool DefaultCancelCondition()
system implemented cancel condition (now raise or sprint cancels action)

Перекрестные ссылки DefaultCancelCondition(), AnimatedActionBase::Do(), GetState(), ActionBaseCB::m_ActionData, ActionBaseCB::m_Interrupted, STATE_LOOP_LOOP и STATE_LOOP_LOOP2.