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

◆ RefreshReservations()

void ActionBase::RefreshReservations ( ActionData action_data)
inlineprotected

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

1041 {
1042 if (action_data.m_ReservedInventoryLocations)
1043 {
1044 InventoryLocation il;
1045 for (int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
1046 {
1047 il = action_data.m_ReservedInventoryLocations.Get(i);
1048 EntityAI entity = il.GetItem();
1049 action_data.m_Player.GetInventory().ExtendInventoryReservationEx(il.GetItem() , il, 10000);
1050 }
1051 }
1052 }
class LogManager EntityAI
proto native EntityAI GetItem()
returns item of current inventory location

Перекрестные ссылки ActionData и InventoryLocation::GetItem().

Используется в OnUpdateClient().