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

◆ Interrupt()

void ActionBaseCB::Interrupt ( )
inlineprotected

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

86 {
87 if ( g_Game.IsServer() )
88 {
89#ifdef ENABLE_LOGGING
90 if ( LogManager.IsActionLogEnable() )
91 {
92 Debug.ActionLog("n/a", this.ToString() , "n/a", "Interrupt", m_ActionData.m_Player.ToString() );
93 }
94#endif
95 if ( g_Game.IsMultiplayer() )
96 {
97 DayZPlayerSyncJunctures.SendActionInterrupt(m_ActionData.m_Player);
98 }
99 }
100 else
101 {
102 if (ScriptInputUserData.CanStoreInputUserData())
103 {
104 ScriptInputUserData ctx = new ScriptInputUserData;
106 ctx.Write(DayZPlayerConstants.CMD_ACTIONINT_INTERRUPT);
107 ctx.Send();
108 }
109 }
110 m_Interrupted = true;
111 }
const int INPUT_UDT_STANDARD_ACTION_END_REQUEST
string Debug()
Определения CachedEquipmentStorageBase.c:26
DayZGame g_Game
Определения DayZGame.c:4074
proto string ToString()
bool m_Interrupted
Определения AnimatedActionBase.c:6
ActionData m_ActionData
Определения AnimatedActionBase.c:3
proto native void Send()
proto bool Write(void value_out)
DayZPlayerConstants
defined in C++
Определения dayzplayer.c:602

Перекрестные ссылки Debug::ActionLog(), ScriptInputUserData::CanStoreInputUserData(), g_Game, INPUT_UDT_STANDARD_ACTION_END_REQUEST, LogManager::IsActionLogEnable(), m_ActionData, m_Interrupted, ActionData::m_Player, ScriptInputUserData::Send(), DayZPlayerSyncJunctures::SendActionInterrupt(), ToString() и Serializer::Write().

Используется в AnimatedActionBase::Do() и AnimatedActionBase::End().