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

◆ DeactiveAction()

void InventoryActionHandler::DeactiveAction ( )
inlineprivate

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

106 {
107 if( !m_isActive ) return;
108
109 m_isActive = false;
110
111 ActionManagerClient mngr;
112 Class.CastTo(mngr, m_player.GetActionManager());
113
114 mngr.EjectAction(m_action);
115 mngr.ClearForceTarget();
116
117 m_player.GetCraftingManager().ResetInventoryCraft();
118
119 m_action = null;
120 m_target = null;
121 m_mainItem = null;
122 m_useItemInHands = false;
123 }
void ClearForceTarget()
Определения ActionManagerClient.c:469
void EjectAction(ActionBase action)
Определения ActionManagerClient.c:448
bool m_useItemInHands
Определения InventoryActionHandler.c:7
PlayerBase m_player
Определения InventoryActionHandler.c:9
ItemBase m_mainItem
Определения InventoryActionHandler.c:6
ActionTarget m_target
Определения InventoryActionHandler.c:5
ActionBase m_action
Определения InventoryActionHandler.c:4

Перекрестные ссылки Class::CastTo(), ActionManagerClient::ClearForceTarget(), ActionManagerClient::EjectAction(), m_action, m_isActive, m_mainItem, m_player, m_target и m_useItemInHands.

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