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

◆ OnUpdate() [3/3]

override void MissionBase::OnUpdate ( float timeslice)
inlineprotected

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

109 {
110#ifndef NO_GUI
111#ifdef FEATURE_CURSOR
112 if (GetTimeStamp() == 0)
113 {
115 g_Game.GetUIManager().ShowUICursor(false);
116 }
117#endif
118#endif
119
120 UpdateDummyScheduler();
121 TickScheduler(timeslice);
123 m_WorldData.UpdateBaseEnvTemperature(timeslice); // re-calculate base enviro temperature
124 m_RainProcHandler.Update(timeslice);
125 m_BunkerBroadcastHandler.Update(timeslice);
126
127 RandomArtillery(timeslice);
128
129 super.OnUpdate(timeslice);
130
131#ifndef NO_GUI
132 UIManager uiManager = g_Game.GetUIManager();
133 UIScriptedMenu menu = uiManager.GetMenu();
134 Input input = g_Game.GetInput();
135
136 if (menu && !menu.UseKeyboard() && menu.UseMouse())
137 {
138 int i;
139 for (i = 0; i < 5; i++)
140 {
144 }
145
146 for (i = 0; i < 6; i++)
147 {
149 }
150 }
151
153 {
156 }
157#endif
158
159 }
DayZGame g_Game
Определения DayZGame.c:4074
proto native void DisableKey(int key)
Disable key until end of frame.
void RandomArtillery(float deltaTime)
Определения missionServer.c:170
void TickScheduler(float timeslice)
Определения missionGameplay.c:225
BunkerBroadcastHandler m_BunkerBroadcastHandler
Определения missionServer.c:28
ref RainProcurementHandler m_RainProcHandler
Определения missionServer.c:11
void UpdateLogoutPlayers()
Определения missionServer.c:277
bool m_ProcessInputExcludes
Определения missionGameplay.c:41
void PerformRefreshExcludes()
applies queued excludes (0 == clear excludes)
Определения missionGameplay.c:1082
proto native UIScriptedMenu GetMenu()
Returns most-top open menu.
override bool UseMouse()
Определения GesturesMenu.c:274
override bool UseKeyboard()
Определения ChatInputMenu.c:24
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_BunkerBroadcastHandler, m_ProcessInputExcludes, m_RainProcHandler, PerformRefreshExcludes(), RandomArtillery(), TickScheduler(), UpdateLogoutPlayers(), UIScriptedMenu::UseKeyboard() и UIScriptedMenu::UseMouse().