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

◆ GetSingleInventoryItemWeightEx()

override float InventoryItem::GetSingleInventoryItemWeightEx ( )
inlineprivate

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

3398 {
3399 //this needs to be first stored inside local variables, when returned directly during inside return call, the result is completely different due to enforce script bug
3400 float weightEx = GetWeightEx();//overall weight of the item
3401 float special = GetInventoryAndCargoWeight();//cargo and attachment weight
3402 return weightEx - special;
3403 }