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

◆ GetSingleInventoryItemWeightEx()

override float InventoryItem::GetSingleInventoryItemWeightEx ( )
inlineprotected

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

3520 {
3521 //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
3522 float weightEx = GetWeightEx();//overall weight of the item
3523 float special = GetInventoryAndCargoWeight();//cargo and attachment weight
3524 return weightEx - special;
3525 }