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

◆ RemoveAction()

void InventoryItem::RemoveAction ( typename actionName )
inlineprivate

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

357 {
358 PlayerBase player = PlayerBase.Cast(GetGame().GetPlayer());
359 ActionBase action = player.GetActionManager().GetAction(actionName);
360 typename ai = action.GetInputType();
361 array<ActionBase_Basic> action_array = m_InputActionMap.Get(ai);
362
363 if (action_array)
364 {
365 action_array.RemoveItem(action);
366 }
367 }
PlayerBase GetPlayer()
Определения ModifierBase.c:51
GetInputType()
Определения ActionBase.c:215
TInputActionMap m_InputActionMap
Определения ItemBase.c:17
proto native CGame GetGame()

Перекрестные ссылки GetGame(), ActionBase::GetInputType(), GetPlayer() и m_InputActionMap.