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

◆ OnEntry() [12/12]

void HandStateBase::OnEntry ( HandEventBase e)
inlineprivate

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

50 {
51 if (HasFSM() && !m_FSM.IsRunning())
52 {
53 if (e)
54 {
55 if (LogManager.IsInventoryHFSMLogEnable()) hndDebugPrint("[hndfsm] { " + Object.GetDebugName(e.m_Player) + " STS = " + e.m_Player.GetSimulationTimeStamp() + " " + this.Type().ToString() + " Has Sub-FSM! Starting submachine...");
56 }
57 else
58 {
59 if (LogManager.IsInventoryHFSMLogEnable()) hndDebugPrint("[hndfsm] { " + this.Type().ToString() + " Has Sub-FSM! Starting submachine...");
60 }
61 m_FSM.Start(e);
62 }
63 else
64 {
65 if (e)
66 {
67 if (LogManager.IsInventoryHFSMLogEnable()) hndDebugPrint("[hndfsm] { " + Object.GetDebugName(e.m_Player) + " STS = " + e.m_Player.GetSimulationTimeStamp() + " " + this.Type().ToString());
68 }
69 else
70 {
71 if (LogManager.IsInventoryHFSMLogEnable()) hndDebugPrint("[hndfsm] { " + this.Type().ToString());
72 }
73 }
74 }
proto string ToString()
void hndDebugPrint(string s)
Определения HandFSM.c:1
string Type
Определения JsonDataContaminatedArea.c:11
bool HasFSM()
Определения HandStateBase.c:22
ref HandFSM m_FSM
hierarchical parent state of this state (or null)
Определения HandStateBase.c:10
class LOD Object

Перекрестные ссылки HasFSM(), hndDebugPrint(), LogManager::IsInventoryHFSMLogEnable(), m_FSM, ToString() и Type.