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

◆ OnEndServer()

override void ActionWashHeadWettingClothesBase::OnEndServer ( ActionData action_data)
inlineprotected

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

60 {
61 float progress = action_data.m_ActionComponent.GetProgress();
62 if (progress > 0)
63 {
64 action_data.m_Player.m_AgentPool.ReduceAgent(eAgents.EYES_IRRITATION, GetEyeIrritationReduction() * progress);
65 action_data.m_Player.GetThermalBiasHandler().Add(-PlayerConstants.THERMAL_BIAS_WASH_HEAD_DECREMENT * progress);
66 ApplyWetnessToClothes(action_data.m_Player, IsFromContainer(), progress);
67 }
68
69 super.OnEndServer(action_data);
70 }
eAgents
Определения EAgents.c:3
PlayerBase m_Player
Определения ActionBase.c:40
ref CABase m_ActionComponent
Определения ActionBase.c:37
void ApplyWetnessToClothes(PlayerBase player, bool fromContainer, float scale)
float GetProgress()
Определения CABase.c:62

Перекрестные ссылки ApplyWetnessToClothes(), GetEyeIrritationReduction(), CABase::GetProgress(), IsFromContainer(), ActionData::m_ActionComponent, ActionData::m_Player и PlayerConstants::THERMAL_BIAS_WASH_HEAD_DECREMENT.