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

◆ MoveEntityToFinalPositionSinglePlayer()

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

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

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

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

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