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

◆ GetCargoCapacity()

int Container::GetCargoCapacity ( )
inlineprotected

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

383 {
384 #ifdef PLATFORM_CONSOLE
385 #ifndef PLATFORM_WINDOWS
386 return CargoList.Cast( m_Cargo ).GetTotalWeight( null );
387 #endif
388 #endif
389 int total_size = 0;
390 for ( int i = 0; i < m_Cargo.GetItemCount(); ++i )
391 {
392 int x, y;
393 m_Cargo.GetItemSize( i, x, y );
394 total_size += x * y;
395 }
396 return total_size;
397 }
Icon x
Icon y
CargoBase m_Cargo
Определения CargoContainer.c:6

Перекрестные ссылки m_Cargo, x и y.

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