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

Go to the source code of this file.

Data Structures

class  SCR_MapLightMode
 

Enumerations

enum  EMapLightMode
 

Functions

enum EMapLightMode BaseContainerProps (configRoot:true)
 
void ToggleActive ()
 Toggle map light. More...
 
protected void ActivateLight ()
 Activate map light. More...
 
protected void DeactivateLight ()
 Deactivate map light. More...
 
protected void UpdateLightMode ()
 Use config to configure light when switching modes. More...
 
protected void UpdateTime ()
 Update light modes based on time of day. More...
 
protected void UpdatePosition ()
 Update light position. More...
 
protected void Init (Widget widget)
 
override void OnMapOpen (MapConfiguration config)
 
override void OnMapClose (MapConfiguration config)
 
override void Update (float timeSlice)
 

Variables

 NONE
 
 LIGHTER
 
 FLASH_DEFAULT
 
 FLASH_RED
 
class SCR_MapLightMode m_bActive = false
 Map light effects. More...
 
protected bool m_bIsDark = false
 
protected float m_fSunriseTime
 
protected float m_fSunsetTime
 
protected EMapLightMode m_eLightMode = EMapLightMode.NONE
 
protected Widget m_wLightOverlay
 
protected Widget m_wLightCone
 
protected Widget m_wFillTop
 
protected Widget m_wFillLeft
 
protected Widget m_wConeImg
 
protected TimeAndWeatherManagerEntity m_TimeMgr
 
protected SCR_MapCursorModule m_CursorModule
 
protected ref SCR_MapLightConfig m_LightCfg
 

Enumeration Type Documentation

◆ EMapLightMode

Definition at line 1 of file SCR_MapLightUI.c.

Function Documentation

◆ ActivateLight()

protected void ActivateLight ( )

Activate map light.

Definition at line 68 of file SCR_MapLightUI.c.

◆ BaseContainerProps()

enum EMapLightMode BaseContainerProps ( configRoot:true  )

Definition at line 9 of file SCR_MapLightUI.c.

◆ DeactivateLight()

protected void DeactivateLight ( )

Deactivate map light.

Definition at line 96 of file SCR_MapLightUI.c.

◆ Init()

protected void Init ( Widget  widget)

Initialisation

Parameters
[in]widgetis the root widget

Definition at line 171 of file SCR_MapLightUI.c.

◆ OnMapClose()

override void OnMapClose ( MapConfiguration  config)

Definition at line 220 of file SCR_MapLightUI.c.

◆ OnMapOpen()

override void OnMapOpen ( MapConfiguration  config)

Definition at line 207 of file SCR_MapLightUI.c.

◆ ToggleActive()

void ToggleActive ( )

Toggle map light.

Definition at line 58 of file SCR_MapLightUI.c.

◆ Update()

override void Update ( float  timeSlice)
Parameters
[in]timeSlice

Definition at line 231 of file SCR_MapLightUI.c.

◆ UpdateLightMode()

protected void UpdateLightMode ( )

Use config to configure light when switching modes.

Definition at line 106 of file SCR_MapLightUI.c.

◆ UpdatePosition()

protected void UpdatePosition ( )

Update light position.

Definition at line 149 of file SCR_MapLightUI.c.

◆ UpdateTime()

protected void UpdateTime ( )

Update light modes based on time of day.

Definition at line 132 of file SCR_MapLightUI.c.

Variable Documentation

◆ FLASH_DEFAULT

FLASH_DEFAULT

Definition at line 4 of file SCR_MapLightUI.c.

◆ FLASH_RED

FLASH_RED

Definition at line 6 of file SCR_MapLightUI.c.

◆ LIGHTER

LIGHTER

Definition at line 3 of file SCR_MapLightUI.c.

◆ m_bActive

class SCR_MapLightMode m_bActive = false

Map light effects.

◆ m_bIsDark

protected bool m_bIsDark = false

Definition at line 39 of file SCR_MapLightUI.c.

◆ m_CursorModule

protected SCR_MapCursorModule m_CursorModule

Definition at line 51 of file SCR_MapLightUI.c.

◆ m_eLightMode

protected EMapLightMode m_eLightMode = EMapLightMode.NONE

Definition at line 42 of file SCR_MapLightUI.c.

◆ m_fSunriseTime

protected float m_fSunriseTime

Definition at line 40 of file SCR_MapLightUI.c.

◆ m_fSunsetTime

protected float m_fSunsetTime

Definition at line 41 of file SCR_MapLightUI.c.

◆ m_LightCfg

protected ref SCR_MapLightConfig m_LightCfg

Definition at line 54 of file SCR_MapLightUI.c.

◆ m_TimeMgr

protected TimeAndWeatherManagerEntity m_TimeMgr

Definition at line 50 of file SCR_MapLightUI.c.

◆ m_wConeImg

protected Widget m_wConeImg

Definition at line 48 of file SCR_MapLightUI.c.

◆ m_wFillLeft

protected Widget m_wFillLeft

Definition at line 47 of file SCR_MapLightUI.c.

◆ m_wFillTop

protected Widget m_wFillTop

Definition at line 46 of file SCR_MapLightUI.c.

◆ m_wLightCone

protected Widget m_wLightCone

Definition at line 45 of file SCR_MapLightUI.c.

◆ m_wLightOverlay

protected Widget m_wLightOverlay

Definition at line 44 of file SCR_MapLightUI.c.

◆ NONE

@ NONE

Definition at line 2 of file SCR_MapLightUI.c.