|
| override void | Update (float timeSlice) |
| | Update method for frame operations.
|
| |
| void | UpdateWeatherData () |
| | Updates the information about current and upcoming weather.
|
| |
| override void | Init () |
| | Init method for cases where all modules and components should be loaded already so constructor cannot be used, called once after creation.
|
| |
| bool | IsConfigDisabled () |
| |
| bool | IsExclusive () |
| |
| void | SetActive (bool active, bool isCleanup=false) |
| | Enable open/close events, called every time component is activated, usually on map open.
|
| |
| bool | IsToolMenuFocused () |
| |
| void | SCR_MapUIBaseComponent () |
| |
|
| const ResourceName | ICON = "{857DD01860810AE9}UI/Textures/Editor/Attributes/Categories/Attribute_Category_Weather.edds" |
| |
| const ResourceName | LAYOUT = "{E360A5329459869F}UI/layouts/Menus/DeployMenu/MapWeatherData.layout" |
| |
| const string | LABEL_DIRECTION = "#AR-MapInfo_WeatherData_WindDirection" |
| |
| const string | LABEL_SPEED = "#AR-MapInfo_WeatherData_WindSpeed" |
| |
| const string | WIDGET_NAME_ICON = "StateIcon" |
| |
| const string | WIDGET_NAME_TITLE = "StateTitle" |
| |
| const string | WIDGET_NAME_TIME = "Time" |
| |
| const string | FORMAT_HOUR = "%1:00" |
| |
◆ CreateLayout()
| bool SCR_MapWeatherUI.CreateLayout |
( |
| ) |
|
|
protected |
◆ Init()
| override void SCR_MapWeatherUI.Init |
( |
| ) |
|
Init method for cases where all modules and components should be loaded already so constructor cannot be used, called once after creation.
Implements SCR_MapUIBaseComponent.
◆ OnMapClose()
◆ OnMapOpen()
◆ OnWeatherChanged()
| void SCR_MapWeatherUI.OnWeatherChanged |
( |
notnull TimeAndWeatherManagerEntity | manager, |
|
|
int | currentStateId, |
|
|
int | nextStateId, |
|
|
bool | transitioning ) |
|
protected |
◆ OnWindOverrideDataChanged()
| void SCR_MapWeatherUI.OnWindOverrideDataChanged |
( |
notnull TimeAndWeatherManagerEntity | manager, |
|
|
bool | currentState, |
|
|
float | currentSpeed, |
|
|
float | currentDirection ) |
|
protected |
◆ SetVsibilityState()
| void SCR_MapWeatherUI.SetVsibilityState |
( |
bool | state | ) |
|
|
protected |
◆ ToggleVisibility()
◆ Update()
| override void SCR_MapWeatherUI.Update |
( |
float | timeSlice | ) |
|
◆ UpdateLayoutPosition()
| void SCR_MapWeatherUI.UpdateLayoutPosition |
( |
| ) |
|
|
protected |
Changes the Y position of the layout to be next to the weather button.
◆ UpdateWeatherData()
| void SCR_MapWeatherUI.UpdateWeatherData |
( |
| ) |
|
Updates the information about current and upcoming weather.
◆ UpdateWindData()
| void SCR_MapWeatherUI.UpdateWindData |
( |
| ) |
|
|
protected |
Updates the information about current wind conditions.
◆ FORMAT_HOUR
| const string SCR_MapWeatherUI.FORMAT_HOUR = "%1:00" |
|
staticprotected |
◆ ICON
| const ResourceName SCR_MapWeatherUI.ICON = "{857DD01860810AE9}UI/Textures/Editor/Attributes/Categories/Attribute_Category_Weather.edds" |
|
staticprotected |
◆ LABEL_DIRECTION
| const string SCR_MapWeatherUI.LABEL_DIRECTION = "#AR-MapInfo_WeatherData_WindDirection" |
|
staticprotected |
◆ LABEL_SPEED
| const string SCR_MapWeatherUI.LABEL_SPEED = "#AR-MapInfo_WeatherData_WindSpeed" |
|
staticprotected |
◆ LAYOUT
| const ResourceName SCR_MapWeatherUI.LAYOUT = "{E360A5329459869F}UI/layouts/Menus/DeployMenu/MapWeatherData.layout" |
|
staticprotected |
◆ m_bLastAutomaticWindState
| bool SCR_MapWeatherUI.m_bLastAutomaticWindState |
|
protected |
◆ m_bVisible
| bool SCR_MapWeatherUI.m_bVisible |
|
protected |
◆ m_fLastWindDirection
| float SCR_MapWeatherUI.m_fLastWindDirection |
|
protected |
◆ m_fLastWindSpeed
| float SCR_MapWeatherUI.m_fLastWindSpeed |
|
protected |
◆ m_fWindSpeedPrecision
| float SCR_MapWeatherUI.m_fWindSpeedPrecision |
|
protected |
◆ m_iDataUpdateCooldown
| int SCR_MapWeatherUI.m_iDataUpdateCooldown |
|
protected |
◆ m_iWindDirectionPrecision
| int SCR_MapWeatherUI.m_iWindDirectionPrecision |
|
protected |
◆ m_NextWindUpdateCooldown
| WorldTimestamp SCR_MapWeatherUI.m_NextWindUpdateCooldown |
|
protected |
◆ m_sMapWeatherFrame
| string SCR_MapWeatherUI.m_sMapWeatherFrame |
|
protected |
◆ m_ToolMenuEntry
◆ m_vPositionOffset
| vector SCR_MapWeatherUI.m_vPositionOffset |
|
protected |
◆ m_wCurrentWeatherHolder
| Widget SCR_MapWeatherUI.m_wCurrentWeatherHolder |
|
protected |
◆ m_wCurrentWindDirection
| TextWidget SCR_MapWeatherUI.m_wCurrentWindDirection |
|
protected |
◆ m_wCurrentWindSpeed
| TextWidget SCR_MapWeatherUI.m_wCurrentWindSpeed |
|
protected |
◆ m_WeatherManager
◆ m_wMapWeatherFrame
| Widget SCR_MapWeatherUI.m_wMapWeatherFrame |
|
protected |
◆ m_World
◆ m_wUpcomingWeatherHolder
| Widget SCR_MapWeatherUI.m_wUpcomingWeatherHolder |
|
protected |
◆ m_wWeatherDataRoot
| Widget SCR_MapWeatherUI.m_wWeatherDataRoot |
|
protected |
◆ m_wWeatherOverrideInfo
| Widget SCR_MapWeatherUI.m_wWeatherOverrideInfo |
|
protected |
◆ m_wWindOverrideInfo
| Widget SCR_MapWeatherUI.m_wWindOverrideInfo |
|
protected |
◆ WIDGET_NAME_ICON
| const string SCR_MapWeatherUI.WIDGET_NAME_ICON = "StateIcon" |
|
staticprotected |
◆ WIDGET_NAME_TIME
| const string SCR_MapWeatherUI.WIDGET_NAME_TIME = "Time" |
|
staticprotected |
◆ WIDGET_NAME_TITLE
| const string SCR_MapWeatherUI.WIDGET_NAME_TITLE = "StateTitle" |
|
staticprotected |
The documentation for this interface was generated from the following file:
- Game/Map/ComponentsUI/SCR_MapWeatherUI.c