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

◆ ReserveInventory()

override bool ReserveInventory ( HumanInventory inventory)

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

23 {
24 if (!inventory.HasInventoryReservation(m_dst.GetItem(), m_dst))
25 {
27 {
28 return true;
29 }
30 }
31 return false;
32 }
ref InventoryLocation m_dst
Определения DayZPlayerInventory.c:13
const int c_InventoryReservationTimeoutShortMS
Определения Inventory.c:713
static proto native bool HasInventoryReservation(EntityAI item, InventoryLocation dst)
Internally: HasInventoryReservationEx(item, dst, FindInventoryReservationMode.LEGACY,...
bool AddInventoryReservationEx(EntityAI item, InventoryLocation dst, int timeout_ms)
Определения Inventory.c:716
script counterpart to engine's class Inventory
Определения Inventory.c:79

Перекрестные ссылки GameInventory::AddInventoryReservationEx(), GameInventory::c_InventoryReservationTimeoutShortMS, GameInventory::HasInventoryReservation() и m_dst.