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

◆ ProcessActionInputEnd()

void ActionManagerClient::ProcessActionInputEnd ( )
inlineprotected

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

380 {
382 {
383 if (g_Game.IsMultiplayer() && !m_CurrentActionData.m_Action.IsLocal())
384 {
385 if (!m_ActionInputWantEnd_Send && ScriptInputUserData.CanStoreInputUserData())
386 {
387#ifdef ENABLE_LOGGING
388 if (LogManager.IsActionLogEnable())
389 {
390 Debug.ActionLog("STS = " + m_Player.GetSimulationTimeStamp(), m_CurrentActionData.m_Action.ToString() , "n/a", "EndInput", m_CurrentActionData.m_Player.ToString());
391 }
392#endif
393 ScriptInputUserData ctxi = new ScriptInputUserData;
395 ctxi.Send();
396
398
399 m_ActionInputWantEnd = false;
401 }
402 }
403 else
404 {
406 {
408 m_ActionInputWantEnd = false;
410 }
411 }
412 }
413 }
const int INPUT_UDT_STANDARD_ACTION_INPUT_END
ref ActionData m_CurrentActionData
Определения ActionManagerBase.c:61
bool m_ActionInputWantEnd
Определения ActionManagerBase.c:53
string Debug()
Определения CachedEquipmentStorageBase.c:26
DayZGame g_Game
Определения DayZGame.c:4074
DayZPlayer m_Player
Определения Hand_Events.c:42
PlayerBase m_Player
Определения ActionBase.c:40
ref ActionBase m_Action
Определения ActionBase.c:34
bool m_ActionInputWantEnd_Send
Определения ActionManagerClient.c:23
proto native void Send()
proto bool Write(void value_out)

Перекрестные ссылки Debug::ActionLog(), ScriptInputUserData::CanStoreInputUserData(), g_Game, INPUT_UDT_STANDARD_ACTION_INPUT_END, LogManager::IsActionLogEnable(), m_ActionInputWantEnd, m_ActionInputWantEnd_Send, m_CurrentActionData, m_Player, ScriptInputUserData::Send() и Serializer::Write().

Используется в Update().