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

◆ RefreshReservations()

void ActionBase::RefreshReservations ( ActionData action_data)
inlineprotected

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

1080 {
1081 if (action_data.m_ReservedInventoryLocations)
1082 {
1083 InventoryLocation il;
1084 for (int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
1085 {
1086 il = action_data.m_ReservedInventoryLocations.Get(i);
1087 EntityAI entity = il.GetItem();
1088 action_data.m_Player.GetInventory().ExtendInventoryReservationEx(il.GetItem() , il, 10000);
1089 }
1090 }
1091 }
class LogManager EntityAI
proto native EntityAI GetItem()
returns item of current inventory location

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

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