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

◆ ProcessDigestion()

bool StomachItem::ProcessDigestion ( float digestion_points,
out float water,
out float energy,
out float toxicity,
out float volume,
out int agents,
out float consumed_amount )
inlineprotected

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

82 {
83 agents = m_Agents;
84 consumed_amount = GetNutritions(digestion_points, m_Profile, water, energy, toxicity);
85 m_Amount -= consumed_amount;
86 volume = m_Profile.GetFullnessIndex() * m_Amount;
87 return(m_Amount < 0.001);
88 }
float GetNutritions(float digestion_points, NutritionalProfile profile, out float water, out float energy, out float toxicity)
Определения PlayerStomach.c:90
ref NutritionalProfile m_Profile
Определения PlayerStomach.c:3
int m_Agents
Определения PlayerStomach.c:8
float m_Amount
Определения PlayerStomach.c:4

Перекрестные ссылки GetNutritions(), m_Agents, m_Amount и m_Profile.

Используется в ProcessNutrients().