Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_TimeAndWeatherHandlerComponentClass |
Functions | |
SCR_TimeAndWeatherHandlerComponentClass SCR_BaseGameModeComponentClass | Attribute ("8", UIWidgets.Slider, "Starting time of day (hours)", "0 23 1")] protected int m_iStartingHours |
void | SetupDaytimeAndWeather (int hours, int minutes, int seconds=0, string loadedWeatherState="", bool loadDone=false) |
protected void | HandleDaytimeAcceleration (bool setup=false) |
override void | OnWorldPostProcess (World world) |
override void | OnPostInit (IEntity owner) |
Called on PostInit when all components are added. More... | |
Variables | |
protected int | m_iStartingMinutes |
protected bool | m_bRandomStartingDaytime |
protected float | m_fDayTimeAcceleration |
protected float | m_fNightTimeAcceleration |
protected bool | m_bRandomStartingWeather |
protected bool | m_bRandomWeatherChanges |
protected bool | m_bAllowHeaderSettings |
const int | DAYTIME_CHECK_PERIOD = 60000 |
const float | DEFAULT_DAYTIME_START = 5.0 |
const float | DEFAULT_DAYTIME_END = 19.0 |
const int | DAY_DURATION = 24 * 60 * 60 |
protected bool | m_bDaytimeAcceleration = true |
protected bool | m_bSavedSettingApplied = false |
SCR_TimeAndWeatherHandlerComponentClass SCR_BaseGameModeComponentClass Attribute | ( | "8" | , |
UIWidgets. | Slider, | ||
"Starting time of day (hours)" | , | ||
"0 23 1" | |||
) |
protected void HandleDaytimeAcceleration | ( | bool | setup = false | ) |
Definition at line 137 of file SCR_TimeAndWeatherHandlerComponent.c.
override void OnWorldPostProcess | ( | World | world | ) |
Called once loading of all entities of the world have been finished (still within the loading)
[in] | world | Loaded world |
Definition at line 166 of file SCR_TimeAndWeatherHandlerComponent.c.
void SetupDaytimeAndWeather | ( | int | hours, |
int | minutes, | ||
int | seconds = 0 , |
||
string | loadedWeatherState = "" , |
||
bool | loadDone = false |
||
) |
[in] | hours | |
[in] | minutes | |
[in] | seconds | |
[in] | loadedWeatherState | |
[in] | loadDone |
Definition at line 54 of file SCR_TimeAndWeatherHandlerComponent.c.
const int DAY_DURATION = 24 * 60 * 60 |
Definition at line 34 of file SCR_TimeAndWeatherHandlerComponent.c.
const int DAYTIME_CHECK_PERIOD = 60000 |
Definition at line 31 of file SCR_TimeAndWeatherHandlerComponent.c.
const float DEFAULT_DAYTIME_END = 19.0 |
Definition at line 33 of file SCR_TimeAndWeatherHandlerComponent.c.
const float DEFAULT_DAYTIME_START = 5.0 |
Definition at line 32 of file SCR_TimeAndWeatherHandlerComponent.c.
protected bool m_bAllowHeaderSettings |
Definition at line 29 of file SCR_TimeAndWeatherHandlerComponent.c.
protected bool m_bDaytimeAcceleration = true |
Definition at line 36 of file SCR_TimeAndWeatherHandlerComponent.c.
protected bool m_bRandomStartingDaytime |
Definition at line 14 of file SCR_TimeAndWeatherHandlerComponent.c.
protected bool m_bRandomStartingWeather |
Definition at line 23 of file SCR_TimeAndWeatherHandlerComponent.c.
protected bool m_bRandomWeatherChanges |
Definition at line 26 of file SCR_TimeAndWeatherHandlerComponent.c.
protected bool m_bSavedSettingApplied = false |
Definition at line 37 of file SCR_TimeAndWeatherHandlerComponent.c.
protected float m_fDayTimeAcceleration |
Definition at line 17 of file SCR_TimeAndWeatherHandlerComponent.c.
protected float m_fNightTimeAcceleration |
Definition at line 20 of file SCR_TimeAndWeatherHandlerComponent.c.
protected int m_iStartingMinutes |
Definition at line 11 of file SCR_TimeAndWeatherHandlerComponent.c.