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

◆ CreateActionComponent()

override void ActionBandageSelfCB::CreateActionComponent ( )
inlineprivate

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

4 {
5 float effectivity = m_ActionData.m_MainItem.GetBandagingEffectivity();
6 float adjustedTimeSpent = 0;
7
8 if (effectivity > 0)
9 adjustedTimeSpent = UATimeSpent.BANDAGE / effectivity;
10
11 m_ActionData.m_ActionComponent = new CAContinuousRepeat(adjustedTimeSpent);
12 }
ActionData m_ActionData
Определения AnimatedActionBase.c:3

Перекрестные ссылки UATimeSpent::BANDAGE и ActionBaseCB::m_ActionData.