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

◆ ReserveInventory()

bool ReserveInventory ( )

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

178 {
180 if (!il)
181 {
182 il = GetSrc();
183 }
184
185 if (il && !m_Player.GetHumanInventory().HasInventoryReservation(il.GetItem(),il))
186 {
187 if (m_Player.GetHumanInventory().AddInventoryReservationEx(il.GetItem(), il, GameInventory.c_InventoryReservationTimeoutShortMS))
188 {
189 return true;
190 }
191 }
192
193 return false;
194 }
map m_Player
InventoryLocation GetSrc()
Определения Hand_Events.c:80
InventoryLocation GetDst()
Определения Hand_Events.c:90
const int c_InventoryReservationTimeoutShortMS
script counterpart to engine's class Inventory
proto native EntityAI GetItem()
returns item of current inventory location
InventoryLocation.
Определения InventoryLocation.c:30

Перекрестные ссылки GameInventory::c_InventoryReservationTimeoutShortMS, HandEventBase::GetDst(), InventoryLocation::GetItem() и GetSrc().