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

◆ GetQuantityMax()

override int InventoryItem::GetQuantityMax ( )
inlineprivate

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

3339 {
3340 int slot = -1;
3341 if (GetInventory())
3342 {
3343 InventoryLocation il = new InventoryLocation;
3344 GetInventory().GetCurrentInventoryLocation(il);
3345 slot = il.GetSlot();
3346 }
3347
3348 return GetTargetQuantityMax(slot);
3349 }
override int GetTargetQuantityMax(int attSlotID=-1)
Определения ItemBase.c:3351
proto native int GetSlot()
returns slot id if current type is Attachment

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

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