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

◆ RefreshReservations()

void ActionBase::RefreshReservations ( ActionData action_data)
inlineprotected

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

1059 {
1060 if (action_data.m_Player.GetInstanceType() != DayZPlayerInstanceType.INSTANCETYPE_SERVER)
1061 {
1062 if (action_data.m_ReservedInventoryLocations)
1063 {
1064 InventoryLocation il;
1065 for (int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
1066 {
1067 il = action_data.m_ReservedInventoryLocations.Get(i);
1068 EntityAI entity = il.GetItem();
1069 action_data.m_Player.GetInventory().ExtendInventoryReservationEx(il.GetItem() , il, 10000);
1070 }
1071 }
1072 }
1073 }
class LogManager EntityAI
proto native EntityAI GetItem()
returns item of current inventory location
DayZPlayerInstanceType
defined in C++
Определения dayzplayer.c:1071

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

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