Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_HUDManagerComponent Class Reference
Inheritance diagram for SCR_HUDManagerComponent:

Protected Member Functions

int GetInfoDisplayCount ()
IEntity GetOwner ()
SCR_HUDManagerHandler FindHandler (typename handlerType)
void RemoveHandlerFromUpdatableHandlers (notnull SCR_HUDManagerHandler handler)
Widget GetHUDRootWidget ()
override void OnInit (IEntity owner)
override void OnUpdate (IEntity owner)
float GetAdaptiveOpacity ()
float GetSceneBrightness ()
string GetInterfaceSettingsClass ()
ScriptInvokerBase< OnScreenBrightnessChangedGetSceneBrightnessChangedInvoker ()
void ~SCR_HUDManagerComponent ()
void CreateHUDLayers ()
SCR_InfoDisplay FindInfoDisplay (typename type)
 Return hud component of given type.
SCR_InfoDisplay FindInfoDisplayByResourceName (ResourceName path)
 Find layout by resorce name.
Widget FindLayoutByResourceName (ResourceName path)
 Find layout by resorce name.
void InitRootWidget (Widget root, string name)
Widget CreateLayout (ResourceName path, EHudLayers layer, int zOrder=0)
SCR_HUDElement CreateFreeElement (ResourceName path, string parentName)
void SetVisible (bool isVisible)
bool IsVisible ()
void SetVisibleLayers (EHudLayers layers=-1)
EHudLayers GetVisibleLayers ()

Static Protected Member Functions

static SCR_HUDManagerComponent GetHUDManager ()

Protected Attributes

ref array< ref SCR_HUDManagerHandlerm_aHandlers
ref array< SCR_HUDManagerHandlerm_aUpdatableHandlers = {}
string m_sDefaultBackgroundLayer
string m_sDefaultForegroundLayer
string m_sInterfaceSettingsClassName
BaseWorld m_World
ref ScriptInvokerBase< OnScreenBrightnessChangedm_OnSceneBrightnessChanged = new ScriptInvokerBase<OnScreenBrightnessChanged>()
float m_fUpdateTime = -1
const float UPDATE_DELAY = 500
const float ADAPTIVE_OPACITY_BRIGHTNESS_THROTTLE = 0.001
const float ADAPTIVE_OPACITY_THROTTLE = 0.01
float m_fSceneBrightness = -1
float m_fOpacity = -1
IEntity m_Owner
ref array< SCR_HUDManagerHandlerm_aHandlersToRemoveFromUpdate = {}

Detailed Description

Definition at line 23 of file SCR_HUDManagerComponent.c.

Constructor & Destructor Documentation

◆ ~SCR_HUDManagerComponent()

void SCR_HUDManagerComponent::~SCR_HUDManagerComponent ( )
inlineprotected

Definition at line 213 of file SCR_HUDManagerComponent.c.

Member Function Documentation

◆ CreateFreeElement()

SCR_HUDElement SCR_HUDManagerComponent::CreateFreeElement ( ResourceName path,
string parentName )
inlineprotected

Definition at line 334 of file SCR_HUDManagerComponent.c.

◆ CreateHUDLayers()

void SCR_HUDManagerComponent::CreateHUDLayers ( )
inlineprotected

Definition at line 222 of file SCR_HUDManagerComponent.c.

◆ CreateLayout()

Widget SCR_HUDManagerComponent::CreateLayout ( ResourceName path,
EHudLayers layer,
int zOrder = 0 )
inlineprotected

Definition at line 305 of file SCR_HUDManagerComponent.c.

◆ FindHandler()

SCR_HUDManagerHandler SCR_HUDManagerComponent::FindHandler ( typename handlerType )
inlineprotected

Definition at line 78 of file SCR_HUDManagerComponent.c.

◆ FindInfoDisplay()

SCR_InfoDisplay SCR_HUDManagerComponent::FindInfoDisplay ( typename type )
inlineprotected

Return hud component of given type.

Definition at line 257 of file SCR_HUDManagerComponent.c.

◆ FindInfoDisplayByResourceName()

SCR_InfoDisplay SCR_HUDManagerComponent::FindInfoDisplayByResourceName ( ResourceName path)
inlineprotected

Find layout by resorce name.

Definition at line 270 of file SCR_HUDManagerComponent.c.

◆ FindLayoutByResourceName()

Widget SCR_HUDManagerComponent::FindLayoutByResourceName ( ResourceName path)
inlineprotected

Find layout by resorce name.

Definition at line 283 of file SCR_HUDManagerComponent.c.

◆ GetAdaptiveOpacity()

float SCR_HUDManagerComponent::GetAdaptiveOpacity ( )
inlineprotected

Definition at line 189 of file SCR_HUDManagerComponent.c.

◆ GetHUDManager()

SCR_HUDManagerComponent SCR_HUDManagerComponent::GetHUDManager ( )
inlinestaticprotected

Definition at line 419 of file SCR_HUDManagerComponent.c.

◆ GetHUDRootWidget()

Widget SCR_HUDManagerComponent::GetHUDRootWidget ( )
inlineprotected

Definition at line 96 of file SCR_HUDManagerComponent.c.

◆ GetInfoDisplayCount()

int SCR_HUDManagerComponent::GetInfoDisplayCount ( )
inlineprotected

Definition at line 66 of file SCR_HUDManagerComponent.c.

◆ GetInterfaceSettingsClass()

string SCR_HUDManagerComponent::GetInterfaceSettingsClass ( )
inlineprotected

Definition at line 201 of file SCR_HUDManagerComponent.c.

◆ GetOwner()

IEntity SCR_HUDManagerComponent::GetOwner ( )
inlineprotected

Definition at line 72 of file SCR_HUDManagerComponent.c.

◆ GetSceneBrightness()

float SCR_HUDManagerComponent::GetSceneBrightness ( )
inlineprotected

Definition at line 195 of file SCR_HUDManagerComponent.c.

◆ GetSceneBrightnessChangedInvoker()

ScriptInvokerBase< OnScreenBrightnessChanged > SCR_HUDManagerComponent::GetSceneBrightnessChangedInvoker ( )
inlineprotected

Definition at line 207 of file SCR_HUDManagerComponent.c.

◆ GetVisibleLayers()

EHudLayers SCR_HUDManagerComponent::GetVisibleLayers ( )
inlineprotected

Get which HUD layers are visible. Returns visibility status of individual layer; it can still not be shown if the whole HUD is hidden (IsVisible()).

Parameters
layersEnum flag containing all visible layers

Definition at line 408 of file SCR_HUDManagerComponent.c.

◆ InitRootWidget()

void SCR_HUDManagerComponent::InitRootWidget ( Widget root,
string name )
inlineprotected

Definition at line 295 of file SCR_HUDManagerComponent.c.

◆ IsVisible()

bool SCR_HUDManagerComponent::IsVisible ( )
inlineprotected

Check if HUD is visible.

Returns
True if visible

Definition at line 375 of file SCR_HUDManagerComponent.c.

◆ OnInit()

override void SCR_HUDManagerComponent::OnInit ( IEntity owner)
inlineprotected

Definition at line 102 of file SCR_HUDManagerComponent.c.

◆ OnUpdate()

override void SCR_HUDManagerComponent::OnUpdate ( IEntity owner)
inlineprotected

Definition at line 132 of file SCR_HUDManagerComponent.c.

◆ RemoveHandlerFromUpdatableHandlers()

void SCR_HUDManagerComponent::RemoveHandlerFromUpdatableHandlers ( notnull SCR_HUDManagerHandler handler)
inlineprotected

Definition at line 90 of file SCR_HUDManagerComponent.c.

◆ SetVisible()

void SCR_HUDManagerComponent::SetVisible ( bool isVisible)
inlineprotected

Set visibility of HUD.

Parameters
isVisibleTrue if visible

Definition at line 366 of file SCR_HUDManagerComponent.c.

◆ SetVisibleLayers()

void SCR_HUDManagerComponent::SetVisibleLayers ( EHudLayers layers = -1)
inlineprotected

Set which HUD layers should be visible.

Parameters
layersEnum flag containing all layers to be shown. Use -1 to show all layers

Definition at line 384 of file SCR_HUDManagerComponent.c.

Member Data Documentation

◆ ADAPTIVE_OPACITY_BRIGHTNESS_THROTTLE

const float SCR_HUDManagerComponent::ADAPTIVE_OPACITY_BRIGHTNESS_THROTTLE = 0.001
protected

Definition at line 53 of file SCR_HUDManagerComponent.c.

◆ ADAPTIVE_OPACITY_THROTTLE

const float SCR_HUDManagerComponent::ADAPTIVE_OPACITY_THROTTLE = 0.01
protected

Definition at line 54 of file SCR_HUDManagerComponent.c.

◆ m_aHandlers

ref array<ref SCR_HUDManagerHandler> SCR_HUDManagerComponent::m_aHandlers
protected

Definition at line 26 of file SCR_HUDManagerComponent.c.

◆ m_aHandlersToRemoveFromUpdate

ref array<SCR_HUDManagerHandler> SCR_HUDManagerComponent::m_aHandlersToRemoveFromUpdate = {}
protected

Definition at line 61 of file SCR_HUDManagerComponent.c.

◆ m_aUpdatableHandlers

ref array<SCR_HUDManagerHandler> SCR_HUDManagerComponent::m_aUpdatableHandlers = {}
protected

Definition at line 27 of file SCR_HUDManagerComponent.c.

◆ m_fOpacity

float SCR_HUDManagerComponent::m_fOpacity = -1
protected

Definition at line 57 of file SCR_HUDManagerComponent.c.

◆ m_fSceneBrightness

float SCR_HUDManagerComponent::m_fSceneBrightness = -1
protected

Definition at line 56 of file SCR_HUDManagerComponent.c.

◆ m_fUpdateTime

float SCR_HUDManagerComponent::m_fUpdateTime = -1
protected

Definition at line 50 of file SCR_HUDManagerComponent.c.

◆ m_OnSceneBrightnessChanged

ref ScriptInvokerBase<OnScreenBrightnessChanged> SCR_HUDManagerComponent::m_OnSceneBrightnessChanged = new ScriptInvokerBase<OnScreenBrightnessChanged>()
protected

Definition at line 48 of file SCR_HUDManagerComponent.c.

◆ m_Owner

IEntity SCR_HUDManagerComponent::m_Owner
protected

Definition at line 59 of file SCR_HUDManagerComponent.c.

◆ m_sDefaultBackgroundLayer

string SCR_HUDManagerComponent::m_sDefaultBackgroundLayer
protected

Definition at line 30 of file SCR_HUDManagerComponent.c.

◆ m_sDefaultForegroundLayer

string SCR_HUDManagerComponent::m_sDefaultForegroundLayer
protected

Definition at line 32 of file SCR_HUDManagerComponent.c.

◆ m_sInterfaceSettingsClassName

string SCR_HUDManagerComponent::m_sInterfaceSettingsClassName
protected

Definition at line 38 of file SCR_HUDManagerComponent.c.

◆ m_World

BaseWorld SCR_HUDManagerComponent::m_World
protected

Definition at line 44 of file SCR_HUDManagerComponent.c.

◆ UPDATE_DELAY

const float SCR_HUDManagerComponent::UPDATE_DELAY = 500
protected

Definition at line 51 of file SCR_HUDManagerComponent.c.


The documentation for this class was generated from the following file: