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

◆ UpdateStomachTemperature()

void UpdateStomachTemperature ( )
protected

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

271 {
273
274 int stomachItemsCount = m_StomachContents.Count();
275 if (stomachItemsCount == 0)
276 return;
277
278 StomachItem item;
279
280 for (int i = 0; i < stomachItemsCount; i++)
281 {
282 item = m_StomachContents[i];
284 }
285
286 m_StomachTemperature = m_StomachTemperature / stomachItemsCount;
287 }
float m_StomachTemperature
Определения PlayerStomach.c:138
ref array< ref StomachItem > m_StomachContents
Определения PlayerStomach.c:132
float GetTemperature()
Определения PlayerStomach.c:65
Определения PlayerStomach.c:2

Перекрестные ссылки StomachItem::GetTemperature(), m_StomachContents и m_StomachTemperature.

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