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

◆ AddAction()

void AddAction ( typename actionName )
protected

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

2595 {
2596 ActionBase action = ActionManagerBase.GetAction(actionName);
2597
2598 if (!action)
2599 {
2600 Debug.LogError("Action " + actionName + " dosn't exist!");
2601 return;
2602 }
2603
2604 typename ai = action.GetInputType();
2605 if (!ai)
2606 {
2607 m_ActionsInitialize = false;
2608 return;
2609 }
2610 array<ActionBase_Basic> action_array = m_InputActionMap.Get(ai);
2611
2612 if (!action_array)
2613 {
2614 action_array = new array<ActionBase_Basic>;
2615 m_InputActionMap.Insert(ai, action_array);
2616 }
2617
2619 {
2620 Debug.ActionLog(action.ToString() + " -> " + ai, this.ToString() , "n/a", "Add action" );
2621 }
2622 action_array.Insert(action);
2623 }
void ActionManagerBase(PlayerBase player)
Определения ActionManagerBase.c:63
TInputActionMap m_InputActionMap
Определения AdvancedCommunication.c:137
bool m_ActionsInitialize
Определения AdvancedCommunication.c:138
GetInputType()
Определения ActionBase.c:215
Определения ActionBase.c:53
static void LogError(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Prints debug message as error message.
Определения Debug.c:245
static void ActionLog(string message=LOG_DEFAULT, string plugin=LOG_DEFAULT, string author=LOG_DEFAULT, string label=LOG_DEFAULT, string entity=LOG_DEFAULT)
Определения Debug.c:127
Определения Debug.c:2
static bool IsActionLogEnable()
Определения Debug.c:638
Определения Debug.c:594
Result for an object found in CGame.IsBoxCollidingGeometryProxy.

Перекрестные ссылки Debug::ActionLog(), ActionManagerBase(), ActionBase::GetInputType(), LogManager::IsActionLogEnable(), Debug::LogError(), m_ActionsInitialize и m_InputActionMap.