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

◆ MoveEntityToFinalPositionSinglePlayer()

void ActionDeployBase::MoveEntityToFinalPositionSinglePlayer ( ActionData action_data,
InventoryLocation source,
InventoryLocation destination )
inlineprotected

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

233 {
234 if (HasProgress())
235 action_data.m_Player.GetInventory().TakeToDst(InventoryMode.LOCAL, source, destination); // from ground to target position
236 else
237 action_data.m_Player.GetDayZPlayerInventory().RedirectToHandEvent(InventoryMode.LOCAL, source, destination); // placing directly from inventory
238 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
override bool HasProgress()
Определения ActionDeployBase.c:45

Перекрестные ссылки ActionData и HasProgress().

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