![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Protected Attributes | |
| ref array< ref SCR_DayTimeInfoBase > | m_aOrderedDaytimeInfo |
| ref array< ref SCR_WindDirectionInfo > | m_OrderedWindDirectionInfo |
| ref array< ref SCR_MoonPhaseInfo > | m_aMoonPhasesInfo |
| ref array< LocalizedString > | m_aOrderedDaysOfWeek |
| int | m_iDelayedPlayerChangingWind = -1 |
| float | m_fDelayedWindSpeedOverride = -1 |
| float | m_fDelayedWindDirectionOverride = -1 |
| bool | m_bListiningToWindOverrideDelay = false |
| ref ScriptInvokerBase< SCR_TimeAndWeatherManager_OnWeatherStatePreview > | m_OnWeatherStatePreview |
| ref ScriptInvokerBase< SCR_TimeAndWeatherManager_OnWindPreview > | m_OnWindPreview |
| ref ScriptInvokerBase< SCR_TimeAndWeatherManager_OnDateTimePreview > | m_OnDateTimePreview |
| ref ScriptInvokerOnWindOverrideDataChanged | m_OnWindOverrideDataChanged |
| ref ScriptInvokerOnWeatherChanged | m_OnWeatherChanged |
| bool | m_bWeatherIsLooping = false |
| bool | m_bDelayedWindOverride |
Manager entity responsible for managing in-game time and weather, providing the script and gamecode with usable in-game API.
Definition at line 25 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Reset all changed wind variables.
Definition at line 790 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
| year | |
| month | |
| day |
Definition at line 477 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Applies all wind override changes in one go instead of separately setting wind speed and wind direction override. Also shows notification if m_iDelayedPlayerChangingWind is set
Definition at line 735 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Sets wind direction override. Will wait a frame before it is applied. Will do nothing if m_bDelayedWindOverride is false \params windDirection new winddirection
| playerChangingWind | player who changed the wind override to show a notification |
| windDirection | |
| playerChangingWind |
Definition at line 712 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Sets wind speed override. Will wait a frame before it is applied. Will do nothing if m_bDelayedWindOverride is false \params windSpeed new windspeed
| playerChangingWind | player who changed the wind override to show a notification |
| windSpeed | |
| playerChangingWind |
Definition at line 692 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Sets wind override true or false. Will wait a frame before it is applied so wind direction change and wind speed change can be executed
| overrideWind | if true wind will be set to override using m_fDelayedWindSpeedOverride and m_fDelayedWindDirectionOverride |
| playerChangingWind | player who changed the wind override to show a notification |
| overrideWind | |
| playerChangingWind |
Definition at line 672 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Definition at line 86 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Forces weather to the given state. Does not care if the transition is valid or not. (Server only) Use this if you want to set weather to looping or change the weather on the fly Do not change weather from looping true/false outside of this function
| setLooping | Set looping true or false |
| weatherID | weather to set. Leave empty if you want to change the current weather to looping true/false |
| transitionDuration | transition duration of weather |
| stateDuration | state duration of weather |
| playerThatChangedWeather | ID of player that changed the weather for notifications. Leave empty if no notifications should be called |
Definition at line 265 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Gets the UI info of the current time of day. Also returns the index of the current time of day info
| [out] | uiInfo | ui info of time of day |
Definition at line 490 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Gets the current daytime Ui info and Phase
| [out] | uiInfo | ui info of time of day |
Definition at line 500 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Get moon phase for the current date
Definition at line 351 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Gets an array of daytime info which holds the UIinfo of specific times of the day
| [out] | dayTimeInfoArray | array with time of day infos |
| year | date to get time info of | |
| month | date to get time info of | |
| day | date to get time info of |
Definition at line 553 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Gets an array of daytime info which holds the UIinfo of specific times of the day
| TimeOfDay | the time of day to get time info of | |
| [out] | uiInfo | time info of the given day time |
| [out] | dayTimePhase | Phase of current daytime |
| year | date to get time info of | |
| month | date to get time info of | |
| day | date to get time info of |
Definition at line 516 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Gets moon phase name for supplied date, geo location is not needed but timezone yes in order to calculate UTC correctly.
| year | Year. |
| month | Month in range <1, 12> |
| day | Day in range <1, 31> |
| timeOfTheDay24 | Time of the day in 24 hour floating point format. |
| timezone | TimeZone Offset in hours ranging <-12, +14> |
| dstOffset | DST (daylight savings time) offset, must be 0.0 or positive value. |
Definition at line 367 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Definition at line 846 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Use this instead of GetTransitionManager().AddTransitionCallbacks(cb) as transition manager callbacks are only triggered for the host This will be invoked when weather starts to change to the next one, which is indicated by transitioning = true and when transition is finished, and next weather state becomes current state, which is indicated by transitioning = false
Definition at line 70 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Definition at line 821 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Definition at line 58 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Definition at line 831 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Gets array of ordered Wind Direction info
| [out] | orderedWindDirectionInfo | array of winddirection info |
| orderedWindDirectionInfo |
Definition at line 574 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Retrieves current time of the day and returns it as a script wrapper for hours, minutes and seconds.
Definition at line 465 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Use current date to get day of the week localized string (eg Monday, Tuesday ect)
Definition at line 219 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Use given date to get day of the week localized string (eg Monday, Tuesday ect)
Definition at line 232 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Gets wind direction info from winddirection float
| windDirectionFloat | winddirection of which to find the info | |
| [out] | index | index of winddirection info |
| [out] | windDirectionInfo | found winddirection info |
| windDirectionFloat | ||
| [out] | index | |
| [out] | windDirectionInfo |
Definition at line 615 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Gets wind direction info using index of array
| index | index to find winddirection info | |
| [out] | windDirectionInfo | found winddirection info |
| index | ||
| [out] | windDirectionInfo |
Definition at line 593 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Proxies should use this instead of IsWindDirectionOverridden and IsWindSpeedOverridden as for them wind is always overridden.
Definition at line 115 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Get if the sun is set for the current time, latitude/longitude/date configuration.\
Definition at line 190 of file TimeAndWeatherManagerEntity.c.
Get if the sun is set at given time. Note this will use current latitude/longitude/date configuration
| timeToCheck | time to check. Uses 24 hour format e.g. 12.50 is 12:30 A.M |
Definition at line 200 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Get if weather is looping
Definition at line 343 of file TimeAndWeatherManagerEntity.c.
Definition at line 97 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Definition at line 79 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Definition at line 107 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Definition at line 765 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Definition at line 864 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Definition at line 857 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Sets weather looping (server only) Use ForceWeatherTo to have more control over transition time and state duration
| setLooping | Set looping true or false |
| playerChangedLooping | ID of player that set weather to looping |
Definition at line 251 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Set date time Preview. Can be called locally and will send an scriptInvoker when called succesfully
| preview | True to enable preview, false to disable |
| year | Year to preview, no need to give if preview is false |
| month | Month to preview, no need to give if preview is false |
| day | Day to preview, no need to give if preview is false |
| timeOfTheDay | Time of day to preview in 24.0, no need to give if preview is false |
Definition at line 171 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Sets current time of the day via a script wrapper.
| cont |
Definition at line 809 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Set Weather state preview. Can be called locally and will send an scriptInvoker when called succesfully
| preview | True to enable preview, false to disable |
| stateName | Weather State name to preview, no need to give if preview is false |
Definition at line 125 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Set wind preview. Can be called locally and will send an scriptInvoker when called succesfully
| preview | True to enable preview, false to disable |
| windSpeed | Windspeed to preview, no need to give if preview is false |
| windAngleDegrees | Wind Angle in Degrees to preview, no need to give if preview is false |
Definition at line 147 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Definition at line 723 of file TimeAndWeatherManagerEntity.c.
|
inlineprotected |
Set weather's looping over the network
| isLooping |
Definition at line 334 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 34 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 37 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 28 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 55 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 42 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 52 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 41 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 40 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 39 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 47 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 49 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 45 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 48 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 46 of file TimeAndWeatherManagerEntity.c.
|
protected |
Definition at line 31 of file TimeAndWeatherManagerEntity.c.