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

◆ GetQuantityMax()

override int GetQuantityMax ( )
protected

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

3436 {
3437 int slot = -1;
3438 GameInventory inventory = GetInventory();
3439 if (inventory)
3440 {
3442 inventory.GetCurrentInventoryLocation(il);
3443 slot = il.GetSlot();
3444 }
3445
3446 return GetTargetQuantityMax(slot);
3447 }
override int GetTargetQuantityMax(int attSlotID=-1)
Определения ItemBase.c:3449
proto native bool GetCurrentInventoryLocation(out notnull InventoryLocation loc)
returns information about current item location
script counterpart to engine's class Inventory
proto native int GetSlot()
returns slot id if current type is Attachment
InventoryLocation.
Определения InventoryLocation.c:30

Перекрестные ссылки GameInventory::GetCurrentInventoryLocation(), InventoryLocation::GetSlot() и GetTargetQuantityMax().

Используется в Bottle_Base::AffectLiquidContainerOnFill(), FilteringBottle::AffectLiquidContainerOnFill(), Bottle_Base::AffectLiquidContainerOnTransfer(), FilteringBottle::AffectLiquidContainerOnTransfer(), CalcAndSetQuantity(), CanBeCombined(), Capture(), ComputeQuantityUsedEx(), DisinfectantAlcohol::GetDisinfectQuantity(), DisinfectantSpray::GetDisinfectQuantity(), IodineTincture::GetDisinfectQuantity(), Mask_Base::GetFilterQuantity01(), Mask_Base::GetFilterQuantityMax(), GetQuantityNormalized(), HasQuantity(), IsFullQuantity(), OnAction(), OnWasAttached(), OnWasDetached(), SetQuantity(), SetQuantityMax(), SetQuantityNormalized(), BroomBase::UpdateParticle() и ItemBase::UpdateSelections().