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

◆ RefreshActionJuncture()

void ActionBase::RefreshActionJuncture ( ActionData action_data)
inlineprotected

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

1145 {
1146 if (action_data.m_ReservedInventoryLocations)
1147 {
1148 InventoryLocation il;
1149 for (int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
1150 {
1151 il = action_data.m_ReservedInventoryLocations.Get(i);
1152 EntityAI entity = il.GetItem();
1153 if (entity)
1154 {
1155 GetGame().ExtendActionJuncture(action_data.m_Player, entity, 10000);
1156 }
1157 }
1158 }
1159 }
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().