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

◆ GetQuantityMax()

override int InventoryItem::GetQuantityMax ( )
inlineprotected

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

3409 {
3410 int slot = -1;
3411 if (GetInventory())
3412 {
3413 InventoryLocation il = new InventoryLocation;
3414 GetInventory().GetCurrentInventoryLocation(il);
3415 slot = il.GetSlot();
3416 }
3417
3418 return GetTargetQuantityMax(slot);
3419 }
override int GetTargetQuantityMax(int attSlotID=-1)
Определения ItemBase.c:3421
proto native int GetSlot()
returns slot id if current type is Attachment

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

Используется в CanBeCombined().