Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
BaseTimeAndWeatherManagerEntity.c File Reference

Go to the source code of this file.

Data Structures

class  BaseTimeAndWeatherManagerEntityClass
 

Functions

BaseTimeAndWeatherManagerEntityClass BaseWeatherManagerEntityClass GetCurrentWeatherState ()
 
proto external bool IsNightHour (float hour24)
 
proto external bool IsDayHour (float hour24)
 
proto void SetTimeEvent (string time, Managed inst, func callback, bool delayed=true, bool singleUse=false)
 
proto external float GetMoonPhase (float timeOfTheDay24)
 
proto float GetMoonPhaseForDate (int year, int month, int day, float timeOfTheDay24, float timezone, float dstOffset)
 
proto external bool SetDate (int year, int month, int day, bool immediateChange=false)
 
proto external void UpdateWeather (float timeSlice)
 
proto external bool SetTimeOfTheDay (float hours24, bool immediateChange=false)
 
proto external bool CheckValidDate (int year, int month, int day)
 
proto void GetCurrentSunMoonDirAndPhase (out vector outSunDir, out vector outMoonDir, out float outMoonPhase01)
 
proto external float GetTimeOfTheDay ()
 
proto external float GetEngineTime ()
 
proto external int GetYear ()
 
proto external int GetMonth ()
 
proto external int GetDay ()
 
proto external int GetWeekDay ()
 
proto external int GetWeekDayForDate (int year, int month, int day)
 
proto external float GetTimeZoneOffset ()
 
proto external void SetTimeZoneOffset (float utcTimeZone)
 
proto external float GetDSTOffset ()
 
proto external bool SetDSTOffset (float dstOffsetHours)
 
proto external bool IsDSTEnabled ()
 
proto external bool SetDSTEnabled (bool enabled)
 
proto bool GetSunriseHour (out float hour24)
 
proto bool GetSunsetHour (out float hour24)
 
proto bool GetSunriseHourForDate (int year, int month, int day, float latitude, float longitude, float timezone, float dstOffset, out float hour24)
 
proto bool GetSunsetHourForDate (int year, int month, int day, float latitude, float longitude, float timezone, float dstOffset, out float hour24)
 
proto external bool TryGetCompleteLocalWeather (LocalWeatherSituation lws, float swayFrequency, vector location)
 
proto external bool SetDayDuration (float realtimeSeconds)
 
proto external float GetDayDuration ()
 
proto external bool SetIsDayAutoAdvanced (bool autoAdvanced)
 
proto external bool GetIsDayAutoAdvanced ()
 
proto external bool SetCurrentLongitude (float longitude)
 
proto external float GetCurrentLongitude ()
 
proto external bool SetCurrentLatitude (float latitude)
 
proto external float GetCurrentLatitude ()
 
proto external bool SetHoursMinutesSeconds (int hours, int minutes, int seconds, bool immediateChange=false)
 
proto void GetDate (out int year, out int month, out int day)
 
proto void GetHoursMinutesSeconds (out int hours, out int minutes, out int seconds)
 
proto external void GetWeatherStatesList (out notnull array< ref WeatherState > outStates)
 
proto ref WeatherStateTransitionManager GetTransitionManager ()
 
proto external bool SetWindSpeedOverride (bool doOverride, float windSpeed=0)
 
proto external float GetWindSpeed ()
 
proto external bool SetWindDirectionOverride (bool doOverride, float windDirection=0)
 
proto external float GetWindDirection ()
 
proto external bool IsWindSpeedOverridden ()
 
proto external bool IsWindDirectionOverridden ()
 
proto external bool SetRainIntensityOverride (bool doOverride, float rainIntensity=0)
 
proto external float GetRainIntensity ()
 
proto external bool IsRainIntensityOverridden ()
 
proto external bool SetCurrentWetness (float wetness)
 
proto external float GetCurrentWetness ()
 
proto external bool SetCurrentWaterAccumulation (float waterAccumulationCracks, float waterAccumulationPuddles)
 
proto external float GetCurrentWaterAccumulationCracks ()
 
proto external float GetCurrentWaterAccumulationPuddles ()
 
proto external void AddLightning (WeatherLightning lightning)