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

◆ Update()

void HumanInventory::Update ( float delta_time)
inlineprotected

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

594 {
596 if ( m_syncClearUserReservationindex != -1 && ScriptInputUserData.CanStoreInputUserData())
597 {
598 ScriptInputUserData ctx = new ScriptInputUserData();
600 ctx.Write(InventoryCommandType.USER_RESERVATION_CANCEL);
602 ctx.Send();
603
604 InventoryLocation il = new InventoryLocation();
605
608 EntityAI item = il.GetItem();
609 item.GetOnReleaseLock().Invoke(item);
611 }
612 }
InventoryCommandType
const int INPUT_UDT_INVENTORY
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().