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

◆ Update()

void HumanInventory::Update ( float delta_time)
inlineprotected

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

580 {
582 if ( m_syncClearUserReservationindex != -1 && ScriptInputUserData.CanStoreInputUserData())
583 {
584 ScriptInputUserData ctx = new ScriptInputUserData();
586 ctx.Write(InventoryCommandType.USER_RESERVATION_CANCEL);
588 ctx.Send();
589
590 InventoryLocation il = new InventoryLocation();
591
594 EntityAI item = il.GetItem();
595 item.GetOnReleaseLock().Invoke(item);
597 }
598 }
InventoryCommandType
Определения Inventory.c:3
const int INPUT_UDT_INVENTORY
Определения _constants.c:9
class LogManager EntityAI
int m_syncClearUserReservationindex
Определения HumanInventory.c:11
void HandleInventoryManipulation()
proto native void GetUserReservedLocation(int index, out notnull InventoryLocation dst)
proto native bool ClearUserReservedLocationAtIndex(int index)
proto native EntityAI GetItem()
returns item of current inventory location
proto native void Send()
proto bool Write(void value_out)

Перекрестные ссылки ScriptInputUserData::CanStoreInputUserData(), ClearUserReservedLocationAtIndex(), InventoryLocation::GetItem(), GetUserReservedLocation(), HandleInventoryManipulation(), INPUT_UDT_INVENTORY, m_syncClearUserReservationindex, ScriptInputUserData::Send() и Serializer::Write().