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

◆ CalcAndSetQuantity()

void CAContinuousQuantityRepeat::CalcAndSetQuantity ( ActionData action_data)
inlineprotected

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

93 {
94 if ( GetGame().IsServer() )
95 {
96 if ( m_SpentUnits )
97 {
100 }
101
102 action_data.m_MainItem.AddQuantity( -m_SpentQuantity, false, false );
103 }
104 }
void SetACData(Param units)
Определения CABase.c:40
ref Param1< float > m_SpentUnits
Определения CAContinuousQuantityRepeat.c:10
proto native CGame GetGame()

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