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

◆ EndActionComponent()

override void ActionFishingNewCB::EndActionComponent ( )
inlineprivate

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

93 {
94 bool animateRod = false;
95 if (m_ActionDataFishing.m_State == UA_CANCEL)
96 m_Canceled = true;
97
98 if (m_ActionDataFishing.m_State == UA_FINISHED)
99 {
100 if (m_ActionDataFishing.m_FishingResult == 1)
101 {
102 SetCommand(DayZPlayerConstants.CMD_ACTIONINT_END);
103 }
104 else
105 {
106 SetCommand(DayZPlayerConstants.CMD_ACTIONINT_FINISH);
107 animateRod = true;
108 }
109 }
110 else
111 {
112 SetCommand(DayZPlayerConstants.CMD_ACTIONINT_INTERRUPT);
113 animateRod = true;
114 }
115
116 animateRod |= m_Canceled;
117 if (animateRod)
118 {
119 m_ActionDataFishing.AnimateRod(false,m_Canceled);
120 }
121
123 }
bool m_Canceled
Определения AnimatedActionBase.c:5
void SetCommand(int command_uid)
Определения AnimatedActionBase.c:54
void DestroySplashEffectSynced()
Destroys the effecter, but lets the rest of the particle play out.
Определения ActionFishingNew.c:142
FishingActionData m_ActionDataFishing
Определения ActionFishingNew.c:71
DayZPlayerConstants
defined in C++
Определения dayzplayer.c:602
const int UA_FINISHED
Определения constants.c:464
const int UA_CANCEL
Определения constants.c:465

Перекрестные ссылки DestroySplashEffectSynced(), m_ActionDataFishing, ActionBaseCB::m_Canceled, ActionBaseCB::SetCommand(), UA_CANCEL и UA_FINISHED.