Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
BaseWeatherManagerEntity.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
12class BaseWeatherManagerEntityClass: GenericEntityClass
13{
14}
15
16class BaseWeatherManagerEntity: GenericEntity
17{
18 proto external ref WeatherState GetCurrentWeatherState();
19
24 proto external float GetDayDuration();
32 proto external bool SetDayDuration(float realtimeSeconds);
40 proto external bool SetIsDayAutoAdvanced(bool autoAdvanced);
45 proto external bool GetIsDayAutoAdvanced();
51 proto external bool SetCurrentLongitude(float longitude);
55 proto external float GetCurrentLongitude();
59 proto external float GetCurrentLatitude();
65 proto external bool SetCurrentLatitude(float latitude);
69 proto external float GetTimeZoneOffset();
74 proto external bool SetTimeZoneOffset(float utcTimeZone);
78 proto external float GetDSTOffset();
83 proto external bool SetDSTOffset(float dstOffsetHours);
87 proto external bool IsDSTEnabled();
91 proto external bool SetDSTEnabled(bool enabled);
99 proto external bool SetWindSpeedOverride(bool doOverride, float windSpeed = 0);
104 proto external float GetWindSpeed();
112 proto external bool SetWindDirectionOverride(bool doOverride, float windDirection = 0);
117 proto external float GetWindDirection();
118 proto external bool IsWindSpeedOverridden();
119 proto external bool IsWindDirectionOverridden();
125 proto external bool SetRainIntensityOverride(bool doOverride, float rainIntensity = 0);
126 proto external float GetRainIntensity();
127 proto external bool IsRainIntensityOverridden();
133 proto external bool SetFogAmountOverride(bool doOverride, float fog = 0);
134 proto external bool SetFogHeightDensityOverride(bool doOverride, float heightDensity = 0);
135 proto external float GetFogAmount();
136 proto external bool IsFogAmountOverridden();
137 proto external float GetFogHeightDensity();
138 proto external bool IsFogHeightDensityOverridden();
139 /*
140 Sets current wetness (in <0,1>)
141 Can only be set by the authority (server, singleplayer...)
142 \return Returns true when command is authorized, false otherwise.
143 */
144 proto external bool SetCurrentWetness(float wetness);
145 /*
146 Gets current wetness (in <0,1>)
147 */
148 proto external float GetCurrentWetness();
149 /*
150 Sets current water accumulation(in <0,1>)
151 Can only be set by the authority (server, singleplayer...)
152 \param waterAccumulationCracks water accumulation value in cracks
153 \param waterAccumulationPuddles water accumulation value in puddles
154 \return Returns true when command is authorized, false otherwise.
155 */
156 proto external bool SetCurrentWaterAccumulation(float waterAccumulationCracks, float waterAccumulationPuddles);
157 /*
158 Gets current water accumulation in cracks (in <0,1>)
159 */
160 proto external float GetCurrentWaterAccumulationCracks();
161 /*
162 Gets current water accumulation in puddles (in <0,1>)
163 */
165 proto external void AddLightning(WeatherLightning lightning);
183 proto float GetMoonPhaseForDate(int year, int month, int day, float timeOfTheDay24, float timezone, float dstOffset);
191 proto void GetCurrentSunMoonDirAndPhase(out vector outSunDir, out vector outMoonDir, out float outMoonPhase01);
196 proto bool GetSunriseHour(out float hour24);
201 proto bool GetSunsetHour(out float hour24);
216 proto bool GetSunriseHourForDate(int year, int month, int day, float latitude, float longitude, float timezone, float dstOffset, out float hour24);
221 proto bool GetSunsetHourForDate(int year, int month, int day, float latitude, float longitude, float timezone, float dstOffset, out float hour24);
234 proto external float GetTimeOfTheDay();
256 proto external bool SetTimeOfTheDay(float hours24, bool immediateChange = false);
280 proto external bool SetHoursMinutesSeconds(int hours, int minutes, int seconds, bool immediateChange = false);
284 proto external int GetYear();
288 proto external int GetMonth();
292 proto external int GetDay();
296 proto external int GetDayInYear();
309 proto external bool SetDate(int year, int month, int day, bool immediateChange = false);
313 proto void GetDate(out int year, out int month, out int day);
330 proto void GetHoursMinutesSeconds(out int hours, out int minutes, out int seconds);
331 /*
332 Converts in-game time of the day to hours, minutes and seconds.
333 \param hours24 In-game time as a fraction of day <0.0, 24.0>
334 */
335 static proto void TimeToHoursMinutesSeconds(float hours24, out int hours, out int minutes, out int seconds);
336 /*
337 Converts hours, minutes and seconds to in-game time of the day.
338 \return Returns time of the day as a fraction of day <0.0, 24.0>
339 */
340 static proto float HoursMinutesSecondsToTime(int hours, int minutes, int seconds);
345 proto external int GetWeekDay();
354 proto external int GetWeekDayForDate(int year, int month, int day);
359 proto external float GetEngineTime();
363 proto external void GetWeatherStatesList(out notnull array<ref WeatherState> outStates);
368 proto external float GetMoonPhase(float timeOfTheDay24);
373 proto external bool SetOverrideSunIrradiance(bool doOverride);
375 proto external bool GetOverrideSunIrradiance();
380 proto external bool SetSunIrradianceOverrideValues(float sunIrradianceMin, float sunIrradianceMax);
382 proto external float GetSunIrradianceMinOverride();
384 proto external float GetSunIrradianceMaxOverride();
389 proto external bool SetOverrideTemperature(bool doOverride);
391 proto external bool GetOverrideTemperature();
396 proto external bool SetTemperatureOverrideValues(float temperatureAirMin, float temperatureAirMax, float temperatureSkyMin, float temperatureSkyMax, float temperatureWaterMin, float temperatureWaterMax);
398 proto external float GetTemperatureAirMinOverride();
400 proto external float GetTemperatureAirMaxOverride();
402 proto external float GetTemperatureWaterMinOverride();
404 proto external float GetTemperatureWaterMaxOverride();
406 proto external float GetTemperatureSkyMinOverride();
408 proto external float GetTemperatureSkyMaxOverride();
416 proto external bool ForceTemperatureTableRecompute();
425 proto external bool CheckValidDate(int year, int month, int day);
432 proto external void UpdateWeather(float timeSlice, bool advanceSimulation = true);
433}
434
void SetTimeOfTheDay(float timeOfTheDay)
Forcefully sets time of the day to provided value. Authority only.
proto external bool GetOverrideSunIrradiance()
proto external bool SetTemperatureOverrideValues(float temperatureAirMin, float temperatureAirMax, float temperatureSkyMin, float temperatureSkyMax, float temperatureWaterMin, float temperatureWaterMax)
proto external float GetTemperatureWaterMaxOverride()
proto external int GetYear()
proto void GetCurrentSunMoonDirAndPhase(out vector outSunDir, out vector outMoonDir, out float outMoonPhase01)
proto external bool CheckValidDate(int year, int month, int day)
proto external int GetWeekDayForDate(int year, int month, int day)
proto external float GetFogAmount()
proto external float GetCurrentWetness()
proto external bool SetFogHeightDensityOverride(bool doOverride, float heightDensity=0)
proto external float GetTemperatureSkyMaxOverride()
proto external int GetDayInYear()
proto external float GetSunIrradianceMinOverride()
proto external bool SetWindDirectionOverride(bool doOverride, float windDirection=0)
proto external int GetDay()
proto float GetMoonPhaseForDate(int year, int month, int day, float timeOfTheDay24, float timezone, float dstOffset)
proto external float GetTemperatureAirMinOverride()
BaseWeatherManagerEntityClass GenericEntityClass GetCurrentWeatherState()
proto external bool SetSunIrradianceOverrideValues(float sunIrradianceMin, float sunIrradianceMax)
proto external bool IsFogHeightDensityOverridden()
proto external float GetDSTOffset()
proto external bool SetHoursMinutesSeconds(int hours, int minutes, int seconds, bool immediateChange=false)
proto bool GetSunriseHourForDate(int year, int month, int day, float latitude, float longitude, float timezone, float dstOffset, out float hour24)
proto BaseWeatherStateTransitionManager GetTransitionManager()
proto external void AddLightning(WeatherLightning lightning)
proto external float GetTimeZoneOffset()
proto external bool SetDSTEnabled(bool enabled)
proto external bool SetDayDuration(float realtimeSeconds)
proto external float GetTemperatureSkyMinOverride()
proto external float GetWindDirection()
proto external int GetMonth()
proto external float GetCurrentWaterAccumulationCracks()
proto external float GetTemperatureAirMaxOverride()
proto external float GetFogHeightDensity()
proto external bool SetOverrideSunIrradiance(bool doOverride)
proto external int GetWeekDay()
proto external bool SetIsDayAutoAdvanced(bool autoAdvanced)
proto external float GetTimeOfTheDay()
proto external bool GetOverrideTemperature()
proto void GetDate(out int year, out int month, out int day)
proto bool GetSunriseHour(out float hour24)
proto external float GetMoonPhase(float timeOfTheDay24)
proto external bool SetCurrentWetness(float wetness)
proto external bool IsFogAmountOverridden()
proto external bool GetIsDayAutoAdvanced()
proto external bool SetCurrentWaterAccumulation(float waterAccumulationCracks, float waterAccumulationPuddles)
proto external bool SetOverrideTemperature(bool doOverride)
proto external bool SetDSTOffset(float dstOffsetHours)
proto external bool SetRainIntensityOverride(bool doOverride, float rainIntensity=0)
proto external bool IsRainIntensityOverridden()
proto external bool SetFogAmountOverride(bool doOverride, float fog=0)
proto external bool SetCurrentLongitude(float longitude)
proto external float GetTemperatureWaterMinOverride()
proto external float GetDayDuration()
proto external float GetCurrentLongitude()
proto void GetHoursMinutesSeconds(out int hours, out int minutes, out int seconds)
proto external bool SetWindSpeedOverride(bool doOverride, float windSpeed=0)
proto external bool SetTimeZoneOffset(float utcTimeZone)
proto external float GetCurrentLatitude()
proto external void UpdateWeather(float timeSlice, bool advanceSimulation=true)
proto external bool IsWindDirectionOverridden()
proto bool GetSunsetHourForDate(int year, int month, int day, float latitude, float longitude, float timezone, float dstOffset, out float hour24)
proto external bool SetDate(int year, int month, int day, bool immediateChange=false)
proto external void GetWeatherStatesList(out notnull array< ref WeatherState > outStates)
proto external bool ForceTemperatureTableRecompute()
proto external bool SetCurrentLatitude(float latitude)
proto external bool IsDSTEnabled()
proto external float GetCurrentWaterAccumulationPuddles()
proto bool GetSunsetHour(out float hour24)
proto external float GetWindSpeed()
proto external bool IsWindSpeedOverridden()
proto external float GetSunIrradianceMaxOverride()
proto external float GetRainIntensity()
proto external float GetEngineTime()