2892 {
2894
2896 bool gameIsRunning = false;
2897
2899 {
2900 gameIsRunning = true;
2901 }
2902
2904 {
2906
2907
2909 {
2911 if ( worldData )
2913 }
2914 }
2915
2916 SEffectManager.OnUpdate(timeslice);
2917
2918
2922
2923 #ifndef NO_GUI
2926
2928 {
2930 }
2932 {
2934 }
2935 else
2936 {
2941 }
2942
2943 NotificationSystem.Update(timeslice);
2945 {
2947 }
2948
2949 #ifndef SERVER
2950 #ifdef DIAG_DEVELOPER
2952 {
2953 PlayerIdentity playerIdentity =
GetPlayer().GetIdentity();
2954
2955 if (playerIdentity)
2956 {
2959
2962
2963 DrawPerformanceStats(pingAct, pingAvg, throttleInput, throttleOutput);
2964 }
2965 }
2966 #endif
2967 #endif
2968
2969 #endif
2970
2971 if (gameIsRunning)
2972 {
2976 }
2977 }
void UpdateLoginQueue(float timeslice)
override ScriptCallQueue GetCallQueue(int call_category)
proto native bool IsMultiplayer()
override DragQueue GetDragQueue()
override ScriptInvoker GetUpdateQueue(int call_category)
proto native DayZPlayer GetPlayer()
proto native Weather GetWeather()
Returns weather controller object.
ref NotificationUI m_Notifications
proto native bool IsClient()
ref LoginTimeBase m_LoginTimeScreen
override TimerQueue GetTimerQueue(int call_category)
proto native Mission GetMission()
ref LoadingScreen m_loading
void OnUpdate(float timeslice)
proto float GetOutputThrottle()
Throttling performed on output bandwidth since last update (percentage [0,1])
proto int GetPingAvg()
ping range estimation
proto float GetInputThrottle()
Throttling performed on input bandwidth since last update(percentage [0,1]) (unknown value on Server)
proto int GetPingAct()
ping range estimation
proto native void Tick(float timeslice)
executes calls on queue if their time is already elapsed, if 'repeat = false' call is removed from qu...
proto void Invoke(void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
invoke call on all inserted methods with given arguments
void UpdateWeatherEffects(Weather weather, float timeslice)
Updates local weather effects.
proto native CGame GetGame()