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

◆ RefreshActionJuncture()

void RefreshActionJuncture ( ActionData action_data)
protected

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

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

1237 {
1239 if (action_data.m_ReservedInventoryLocations)
1240 {
1242 for (int i = 0; i < action_data.m_ReservedInventoryLocations.Count(); i++)
1243 {
1244 il = action_data.m_ReservedInventoryLocations.Get(i);
1245 EntityAI entity = il.GetItem();
1246 if (entity)
1247 {
1248 g_Game.ExtendActionJuncture(action_data.m_Player, entity, 10000);
1249 }
1250 }
1251 }
1252 }
DayZGame g_Game
Определения DayZGame.c:4074
PlayerBase m_Player
Определения ActionBase.c:40
ref array< ref InventoryLocation > m_ReservedInventoryLocations
Определения ActionBase.c:42
proto native EntityAI GetItem()
returns item of current inventory location
InventoryLocation.
Определения InventoryLocation.c:30

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