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

◆ CalcAndSetQuantity()

void CAContinuousEmpty::CalcAndSetQuantity ( ActionData action_data)
inlineprotected

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

100 {
102 if (GetGame().IsServer())
103 {
104 if ( m_SpentUnits )
105 {
108 }
109
110 if (action_data.m_MainItem.GetQuantity() > 0.0)
111 action_data.m_MainItem.AddQuantity(-m_SpentQuantity);
112 }
113 m_SpentQuantity = 0;
114 }
void SetACData(Param units)
Определения CABase.c:40
float m_SpentQuantity_total
Определения CAContinuousEmpty.c:5
float m_SpentQuantity
Определения CAContinuousEmpty.c:4
ref Param1< float > m_SpentUnits
Определения CAContinuousEmpty.c:9
proto native CGame GetGame()

Перекрестные ссылки ActionData, GetGame(), m_SpentQuantity, m_SpentQuantity_total, m_SpentUnits и CABase::SetACData().