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

◆ AddTransition()

void BotStateBase::AddTransition ( FSMTransition< BotStateBase, BotEventBase, BotActionBase, BotGuardBase > t)
inlineprivate

adds transition into m_FSM transition table

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

44 {
45 if (HasFSM())
46 m_FSM.AddTransition(t);
47 else
48 Error("[botfsm] adding transition to state without FSM. Configure FSM first.");
49 }
ref BotFSM m_FSM
hierarchical parent state of this state (or null)
Определения BotStates.c:15
bool HasFSM()
Определения BotStates.c:30
void Error(string err)
Messagebox with error message.
Определения EnDebug.c:90

Перекрестные ссылки Error(), HasFSM() и m_FSM.