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

◆ Interrupt()

void ActionBaseCB::Interrupt ( )
inlineprotected

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

84 {
85 if ( GetGame().IsServer() )
86 {
87 if ( LogManager.IsActionLogEnable() )
88 {
89 Debug.ActionLog("n/a", this.ToString() , "n/a", "Interrupt", m_ActionData.m_Player.ToString() );
90 }
91 if ( GetGame().IsMultiplayer() )
92 {
93 DayZPlayerSyncJunctures.SendActionInterrupt(m_ActionData.m_Player);
94 }
95 }
96 else
97 {
98 if (ScriptInputUserData.CanStoreInputUserData())
99 {
100 ScriptInputUserData ctx = new ScriptInputUserData;
102 ctx.Write(DayZPlayerConstants.CMD_ACTIONINT_INTERRUPT);
103 ctx.Send();
104 }
105 }
106 m_Interrupted = true;
107 }
const int INPUT_UDT_STANDARD_ACTION_END_REQUEST
Определения _constants.c:3
proto string ToString()
void Debug()
Определения UniversalTemperatureSource.c:349
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
proto native CGame GetGame()

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