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

◆ OnFinishProgressServer()

override void ActionWetClothingFromContainer::OnFinishProgressServer ( ActionData action_data)
inlineprivate

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

107 {
108 ActionWetClothingFromContainerCB cb = ActionWetClothingFromContainerCB.Cast(action_data.m_Callback);
109 if (!cb) return;
110
111 ItemBase clothing = ItemBase.Cast(action_data.m_Target.GetObject());
112 if (!clothing) return;
113
114 clothing.SetWet(Math.Clamp(clothing.GetWet() + cb.m_WetGainPerStep, 0.0, clothing.GetWetMax()));
115 }
class GP5GasMask extends MaskBase ItemBase
ActionBaseCB m_Callback
Определения ActionBase.c:36
ref ActionTarget m_Target
Определения ActionBase.c:39

Перекрестные ссылки Math::Clamp(), ActionData::m_Callback, ActionData::m_Target и ActionWetClothingFromContainerCB::m_WetGainPerStep.