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

◆ RefreshActionJuncture()

void ActionBase::RefreshActionJuncture ( ActionData action_data)
inlineprotected

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

1106 {
1107 if (action_data.m_ReservedInventoryLocations)
1108 {
1109 InventoryLocation il;
1110 for (int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
1111 {
1112 il = action_data.m_ReservedInventoryLocations.Get(i);
1113 EntityAI entity = il.GetItem();
1114 if (entity)
1115 {
1116 GetGame().ExtendActionJuncture(action_data.m_Player, entity, 10000);
1117 }
1118 }
1119 }
1120 }
class LogManager EntityAI
proto native bool ExtendActionJuncture(Man player, notnull EntityAI item, int timeout_ms)
proto native EntityAI GetItem()
returns item of current inventory location
proto native CGame GetGame()

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

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