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

◆ RefreshActionJuncture()

void ActionBase::RefreshActionJuncture ( ActionData action_data)
inlineprotected

kumarjac: No longer necessary as we pass in the ActionData with 'OnJunctureTimedOut' function to automatically refresh

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

1128 {
1130 if (action_data.m_ReservedInventoryLocations)
1131 {
1132 InventoryLocation il;
1133 for (int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
1134 {
1135 il = action_data.m_ReservedInventoryLocations.Get(i);
1136 EntityAI entity = il.GetItem();
1137 if (entity)
1138 {
1139 g_Game.ExtendActionJuncture(action_data.m_Player, entity, 10000);
1140 }
1141 }
1142 }
1143 }
class LogManager EntityAI
DayZGame g_Game
Определения DayZGame.c:3942
proto native EntityAI GetItem()
returns item of current inventory location

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