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

◆ OnUpdate() [3/3]

override void MissionBase::OnUpdate ( float timeslice)
inlineprotected

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

103 {
104#ifndef NO_GUI
105#ifdef FEATURE_CURSOR
106 if (GetTimeStamp() == 0)
107 {
109 g_Game.GetUIManager().ShowUICursor(false);
110 }
111#endif
112#endif
113
114 UpdateDummyScheduler();
115 TickScheduler(timeslice);
117 m_WorldData.UpdateBaseEnvTemperature(timeslice); // re-calculate base enviro temperature
118 m_RainProcHandler.Update(timeslice);
119
120 RandomArtillery(timeslice);
121
122 super.OnUpdate(timeslice);
123
124#ifndef NO_GUI
125 UIManager uiManager = g_Game.GetUIManager();
126 UIScriptedMenu menu = uiManager.GetMenu();
127 Input input = g_Game.GetInput();
128
129 if (menu && !menu.UseKeyboard() && menu.UseMouse())
130 {
131 int i;
132 for (i = 0; i < 5; i++)
133 {
137 }
138
139 for (i = 0; i < 6; i++)
140 {
142 }
143 }
144
146 {
149 }
150#endif
151
152 }
DayZGame g_Game
Определения DayZGame.c:3942
WorldData m_WorldData
Определения Environment.c:85
proto native void DisableKey(int key)
Disable key until end of frame.
void RandomArtillery(float deltaTime)
Определения missionServer.c:163
void TickScheduler(float timeslice)
Определения missionGameplay.c:216
ref RainProcurementHandler m_RainProcHandler
Определения missionServer.c:11
void UpdateLogoutPlayers()
Определения missionServer.c:267
bool m_ProcessInputExcludes
Определения missionGameplay.c:41
void PerformRefreshExcludes()
applies queued excludes (0 == clear excludes)
Определения missionGameplay.c:1045
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
override bool UseMouse()
Определения GesturesMenu.c:274
override bool UseKeyboard()
Определения ChatInputMenu.c:24
void UpdateBaseEnvTemperature(float timeslice)
Определения WorldData.c:165
const int INPUT_DEVICE_MOUSE
Определения 1_Core/DayZ/constants.c:24
const int INPUT_ACTION_TYPE_DOUBLETAP
Определения 1_Core/DayZ/constants.c:40
const int INPUT_DEVICE_MOUSE_AXIS
Определения 1_Core/DayZ/constants.c:42
const int INPUT_ACTION_TYPE_DOWN_EVENT
Определения 1_Core/DayZ/constants.c:33

Перекрестные ссылки Input::DisableKey(), g_Game, UIManager::GetMenu(), INPUT_ACTION_TYPE_DOUBLETAP, INPUT_ACTION_TYPE_DOWN_EVENT, INPUT_DEVICE_MOUSE, INPUT_DEVICE_MOUSE_AXIS, m_ProcessInputExcludes, m_RainProcHandler, m_WorldData, PerformRefreshExcludes(), RandomArtillery(), TickScheduler(), UpdateLogoutPlayers(), UIScriptedMenu::UseKeyboard() и UIScriptedMenu::UseMouse().