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

◆ GetSingleInventoryItemWeightEx()

override float InventoryItem::GetSingleInventoryItemWeightEx ( )
inlineprotected

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

3468 {
3469 //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
3470 float weightEx = GetWeightEx();//overall weight of the item
3471 float special = GetInventoryAndCargoWeight();//cargo and attachment weight
3472 return weightEx - special;
3473 }