См. определение в файле AnimatedActionBase.c строка 395
396 {
398 {
399#ifdef ENABLE_LOGGING
400 if ( LogManager.IsActionLogEnable() )
401 {
402 Debug.ActionLog(
"ABRUPT CANCEL, CONDITIONS NOT MET", this.
ToString() ,
"n/a",
"Do", action_data.
m_Player.ToString() );
403 }
404#endif
406 {
408 }
409 else
410 {
411 Debug.ActionLog(
"PLAYER LOST", this.
ToString() ,
"n/a",
"Do",
"n/a" );
412 }
413 }
414 else
415 {
416 switch ( state )
417 {
420 {
423 }
424 else
425 {
429 }
430 break;
431
435 break;
436
440 break;
441
444 {
448 }
449 default:
450 Debug.ActionLog(
"Action component returned wrong value", this.
ToString() ,
"n/a",
"Do", action_data.
m_Player.ToString() );
452 break;
453 }
454 }
455 }
void InformPlayers(PlayerBase player, ActionTarget target, int state)
DEPRECATED delivers message ids to clients based on given context.
bool CanContinue(ActionData action_data)
void ProgressActionComponent()
void EndActionComponent()
ref ActionTarget m_Target
ref CABase m_ActionComponent
void Do(ActionData action_data, int state)
Перекрестные ссылки Debug::ActionLog(), CanContinue(), Do(), ActionBaseCB::EndActionComponent(), InformPlayers(), ActionBaseCB::Interrupt(), LogManager::IsActionLogEnable(), ActionData::m_ActionComponent, ActionData::m_Callback, ActionData::m_Player, ActionData::m_Target, ActionBaseCB::ProgressActionComponent(), ToString(), UA_CANCEL, UA_ERROR, UA_FINISHED, UA_INITIALIZE и UA_PROCESSING.
Используется в ActionContinuousBaseCB::CancelCondition(), ActionInteractLoopBaseCB::CancelCondition() и Do().