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

◆ Update()

void HumanInventory::Update ( float delta_time)
inlineprotected

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

531 {
533 if ( m_syncClearUserReservationindex != -1 && ScriptInputUserData.CanStoreInputUserData())
534 {
535 ScriptInputUserData ctx = new ScriptInputUserData();
537 ctx.Write(InventoryCommandType.USER_RESERVATION_CANCEL);
539 ctx.Send();
540
541 InventoryLocation il = new InventoryLocation();
542
545 EntityAI item = il.GetItem();
546 item.GetOnReleaseLock().Invoke(item);
548 }
549 }
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().