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

◆ GetSingleInventoryItemWeightEx()

override float GetSingleInventoryItemWeightEx ( )
protected

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

3498 {
3499 //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
3500 float weightEx = GetWeightEx();//overall weight of the item
3501 float special = GetInventoryAndCargoWeight();//cargo and attachment weight
3502 return weightEx - special;
3503 }

Используется в GetSingleInventoryItemWeight() и Entity::OnAction().