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

◆ ProcessHandEvent()

override bool HumanInventoryWithFSM::ProcessHandEvent ( HandEventBase e)
inlineprotected

hand's fsm handling of events @NOTE: warning: ProcessHandEvent can be called only within DayZPlayer::HandleInventory (or CommandHandler)

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

97 {
98 //SyncRemote(e);
99 if (m_FSM.ProcessEvent(e) == ProcessEventResult.FSM_OK)
100 {
101 #ifdef ENABLE_LOGGING
102 if ( LogManager.IsInventoryHFSMLogEnable() )
103 {
104 Debug.InventoryHFSMLog("STS = " + GetManOwner().GetSimulationTimeStamp() , e.ToString(), "ProcessHandEvent", e.m_Player.ToString() );
105 }
106 #endif
107 return true;
108 }
109 else
110 {
111 //if (LogManager.IsInventoryHFSMLogEnable()) hndDebugPrint("FSM refused to process event (no transition): src=" + GetCurrentState().ToString() + " event=" + e.ToString());
112 return false;
113 }
114 }
ProcessEventResult
Определения FSMBase.c:41
void Debug()
Определения UniversalTemperatureSource.c:349
Man GetManOwner()
Определения HumanInventory.c:102
ref HandFSM m_FSM
Определения HumanInventoryWithFSM.c:7

Перекрестные ссылки HumanInventory::GetManOwner(), Debug::InventoryHFSMLog(), LogManager::IsInventoryHFSMLogEnable() и m_FSM.