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

Go to the source code of this file.

Data Structures

class  SCR_NotificationsLogComponent
 

Functions

protected bool OnNotification (SCR_NotificationData data)
 
ScriptInvoker GetOnNewMessageHasPosition ()
 
ScriptInvoker GetOnInputDeviceChanged ()
 
protected void OnNotificationDeleted (SCR_NotificationMessageUIComponent notificationMessage)
 
protected void RemoveOldestNotification ()
 
protected void OnInputDeviceIsGamepad (bool isGamepad)
 
bool GetIsUsingMouseAndKeyboard ()
 
SCR_EditorManagerEntity GetEditorManager ()
 
SCR_NotificationsComponent GetNotificationManager ()
 
Color GetNotificationWidgetColor (ENotificationColor notificationColor)
 
Color GetNotificationTextColor (ENotificationColor notificationColor)
 
bool HasNotificationInput ()
 
protected void GenerateNotificationColorMap ()
 
protected void OnStickyNotificationChanged (bool newActive)
 
protected void OnPriorityNotificationChange (bool newActive)
 
override void HandlerAttachedScripted (Widget w)
 
override void HandlerDeattached (Widget w)
 
void OnSlotResize (int maxNotifications)
 
void ChangeInsertOrder (bool fromTop)
 
SCR_NotificationsLogComponent MenuRootSubComponent SCR_BaseContainerCustomTitleEnum (ENotificationColor, "m_NotificationColor")
 

Variables

protected bool m_bHasNotificationInput
 
protected int m_iMaxNotifications
 
protected float m_fNotificationDisplayTime
 
protected string m_sNotificationHolderName
 
protected string m_sPriorityNotificationHolderName
 
protected int m_iPriorityNotificationSize
 
protected string m_sNotificationHolderParent
 
protected ResourceName m_sNotificationEntityPrefab
 
protected ResourceName m_sSplitNotificationEntityPrefab
 
protected SCR_NotificationsComponent m_NotificationsManager
 
protected SCR_EditorManagerEntity m_EditorManagerEntity
 
protected SCR_FadeUIComponent m_FadeUiComponent
 
protected VerticalLayoutWidget m_wNotificationHolder
 
protected VerticalLayoutWidget m_wPriorityNotificationHolder
 
protected VerticalLayoutWidget m_wNotificationHolderParent
 
protected ref SCR_NotificationMessageUIComponent m_PrevOverFlowNotification
 
protected Widget m_wRoot
 
protected int m_iCurrentMaxNotifications
 
protected int m_iCurrentPriorityNotifications
 
protected bool m_bIsUsingMouseAndKeyboard = true
 
protected ref ScriptInvoker m_OnNewMessageHasPosition = new ScriptInvoker()
 
protected ref ScriptInvoker m_OnInputDeviceChanged = new ScriptInvoker()
 
protected ref array< ref SCR_NotificationMessageUIComponentm_aNotificationMessages = {}
 
protected ref array< ref SCR_NotificationMessageUIComponentm_aPriorityNotificationMessages = {}
 
protected ref map< ENotificationColor, SCR_NotificationDisplayColor > m_NotificationDisplayColorMap = new map<ENotificationColor, SCR_NotificationDisplayColor>()
 
SCR_EditorPingInfoDisplay BaseContainerProps ()
 Class that saves the color data for specific ENotificationColor enums for the notification system. More...
 

Function Documentation

◆ ChangeInsertOrder()

void BaseContainerProps::ChangeInsertOrder ( bool  fromTop)
Parameters
[in]fromTop

Definition at line 414 of file SCR_NotificationsLogUIComponent.c.

◆ GenerateNotificationColorMap()

protected void BaseContainerProps::GenerateNotificationColorMap ( )

Definition at line 236 of file SCR_NotificationsLogUIComponent.c.

◆ GetEditorManager()

SCR_EditorManagerEntity BaseContainerProps::GetEditorManager ( )
Returns
EditorManagerEntity reference

Definition at line 186 of file SCR_NotificationsLogUIComponent.c.

◆ GetIsUsingMouseAndKeyboard()

bool BaseContainerProps::GetIsUsingMouseAndKeyboard ( )

Returns using mouse and keyboard or gamepad

Returns
true if using mouse and keyboard, false otherwise

Definition at line 179 of file SCR_NotificationsLogUIComponent.c.

◆ GetNotificationManager()

SCR_NotificationsComponent BaseContainerProps::GetNotificationManager ( )
Returns
NotificationsManager reference

Definition at line 193 of file SCR_NotificationsLogUIComponent.c.

◆ GetNotificationTextColor()

Color BaseContainerProps::GetNotificationTextColor ( ENotificationColor  notificationColor)
Returns
the color of the notification using the ENotificationColor enum

Definition at line 215 of file SCR_NotificationsLogUIComponent.c.

◆ GetNotificationWidgetColor()

Color BaseContainerProps::GetNotificationWidgetColor ( ENotificationColor  notificationColor)
Returns
the colour of the notification using the ENotificationColor enum

Definition at line 200 of file SCR_NotificationsLogUIComponent.c.

◆ GetOnInputDeviceChanged()

ScriptInvoker BaseContainerProps::GetOnInputDeviceChanged ( )

Get script invoker if input device changed

Returns
ScriptInvoker m_OnInputDeviceChanged

Definition at line 128 of file SCR_NotificationsLogUIComponent.c.

◆ GetOnNewMessageHasPosition()

ScriptInvoker BaseContainerProps::GetOnNewMessageHasPosition ( )

Get script invoker if a new notification has a position

Returns
ScriptInvoker m_OnNewMessageHasPosition

Definition at line 120 of file SCR_NotificationsLogUIComponent.c.

◆ HandlerAttachedScripted()

override void BaseContainerProps::HandlerAttachedScripted ( Widget  w)

Definition at line 284 of file SCR_NotificationsLogUIComponent.c.

◆ HandlerDeattached()

override void BaseContainerProps::HandlerDeattached ( Widget  w)

Definition at line 381 of file SCR_NotificationsLogUIComponent.c.

◆ HasNotificationInput()

bool BaseContainerProps::HasNotificationInput ( )
Returns
true if the notifications have input (can be clicked on and have key hints), false otherwise

Definition at line 230 of file SCR_NotificationsLogUIComponent.c.

◆ OnInputDeviceIsGamepad()

protected void BaseContainerProps::OnInputDeviceIsGamepad ( bool  isGamepad)

Definition at line 170 of file SCR_NotificationsLogUIComponent.c.

◆ OnNotification()

protected bool BaseContainerProps::OnNotification ( SCR_NotificationData  data)

Definition at line 53 of file SCR_NotificationsLogUIComponent.c.

◆ OnNotificationDeleted()

protected void BaseContainerProps::OnNotificationDeleted ( SCR_NotificationMessageUIComponent  notificationMessage)

Definition at line 134 of file SCR_NotificationsLogUIComponent.c.

◆ OnPriorityNotificationChange()

protected void BaseContainerProps::OnPriorityNotificationChange ( bool  newActive)

Definition at line 268 of file SCR_NotificationsLogUIComponent.c.

◆ OnSlotResize()

void BaseContainerProps::OnSlotResize ( int  maxNotifications)
Parameters
[in]maxNotifications

Definition at line 394 of file SCR_NotificationsLogUIComponent.c.

◆ OnStickyNotificationChanged()

protected void BaseContainerProps::OnStickyNotificationChanged ( bool  newActive)

Definition at line 252 of file SCR_NotificationsLogUIComponent.c.

◆ RemoveOldestNotification()

protected void BaseContainerProps::RemoveOldestNotification ( )

Definition at line 150 of file SCR_NotificationsLogUIComponent.c.

◆ SCR_BaseContainerCustomTitleEnum()

Returns
the color saved in data to color the widget
the color saved in data to color text

Definition at line 447 of file SCR_NotificationsLogUIComponent.c.

Variable Documentation

◆ m_aNotificationMessages

protected ref array<ref SCR_NotificationMessageUIComponent> m_aNotificationMessages = {}

Definition at line 47 of file SCR_NotificationsLogUIComponent.c.

◆ m_aPriorityNotificationMessages

protected ref array<ref SCR_NotificationMessageUIComponent> m_aPriorityNotificationMessages = {}

Definition at line 48 of file SCR_NotificationsLogUIComponent.c.

◆ m_bHasNotificationInput

protected bool m_bHasNotificationInput

Definition at line 3 of file SCR_NotificationsLogUIComponent.c.

◆ m_bIsUsingMouseAndKeyboard

protected bool m_bIsUsingMouseAndKeyboard = true

Definition at line 42 of file SCR_NotificationsLogUIComponent.c.

◆ m_EditorManagerEntity

protected SCR_EditorManagerEntity m_EditorManagerEntity

Definition at line 30 of file SCR_NotificationsLogUIComponent.c.

◆ m_FadeUiComponent

protected SCR_FadeUIComponent m_FadeUiComponent

Definition at line 31 of file SCR_NotificationsLogUIComponent.c.

◆ m_fNotificationDisplayTime

protected float m_fNotificationDisplayTime

Definition at line 9 of file SCR_NotificationsLogUIComponent.c.

◆ m_iCurrentMaxNotifications

protected int m_iCurrentMaxNotifications

Definition at line 38 of file SCR_NotificationsLogUIComponent.c.

◆ m_iCurrentPriorityNotifications

protected int m_iCurrentPriorityNotifications

Definition at line 39 of file SCR_NotificationsLogUIComponent.c.

◆ m_iMaxNotifications

protected int m_iMaxNotifications

Definition at line 6 of file SCR_NotificationsLogUIComponent.c.

◆ m_iPriorityNotificationSize

protected int m_iPriorityNotificationSize

Definition at line 18 of file SCR_NotificationsLogUIComponent.c.

◆ m_NotificationDisplayColorMap

protected ref map<ENotificationColor, SCR_NotificationDisplayColor> m_NotificationDisplayColorMap = new map<ENotificationColor, SCR_NotificationDisplayColor>()

Definition at line 50 of file SCR_NotificationsLogUIComponent.c.

◆ m_NotificationsManager

protected SCR_NotificationsComponent m_NotificationsManager

Definition at line 29 of file SCR_NotificationsLogUIComponent.c.

◆ m_OnInputDeviceChanged

protected ref ScriptInvoker m_OnInputDeviceChanged = new ScriptInvoker()

Definition at line 45 of file SCR_NotificationsLogUIComponent.c.

◆ m_OnNewMessageHasPosition

protected ref ScriptInvoker m_OnNewMessageHasPosition = new ScriptInvoker()

Definition at line 44 of file SCR_NotificationsLogUIComponent.c.

◆ m_PrevOverFlowNotification

protected ref SCR_NotificationMessageUIComponent m_PrevOverFlowNotification

Definition at line 35 of file SCR_NotificationsLogUIComponent.c.

◆ m_sNotificationEntityPrefab

protected ResourceName m_sNotificationEntityPrefab

Definition at line 24 of file SCR_NotificationsLogUIComponent.c.

◆ m_sNotificationHolderName

protected string m_sNotificationHolderName

Definition at line 12 of file SCR_NotificationsLogUIComponent.c.

◆ m_sNotificationHolderParent

protected string m_sNotificationHolderParent

Definition at line 21 of file SCR_NotificationsLogUIComponent.c.

◆ m_sPriorityNotificationHolderName

protected string m_sPriorityNotificationHolderName

Definition at line 15 of file SCR_NotificationsLogUIComponent.c.

◆ m_sSplitNotificationEntityPrefab

protected ResourceName m_sSplitNotificationEntityPrefab

Definition at line 27 of file SCR_NotificationsLogUIComponent.c.

◆ m_wNotificationHolder

protected VerticalLayoutWidget m_wNotificationHolder

Definition at line 32 of file SCR_NotificationsLogUIComponent.c.

◆ m_wNotificationHolderParent

protected VerticalLayoutWidget m_wNotificationHolderParent

Definition at line 34 of file SCR_NotificationsLogUIComponent.c.

◆ m_wPriorityNotificationHolder

protected VerticalLayoutWidget m_wPriorityNotificationHolder

Definition at line 33 of file SCR_NotificationsLogUIComponent.c.

◆ m_wRoot

protected Widget m_wRoot

Definition at line 37 of file SCR_NotificationsLogUIComponent.c.