Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_NotificationsLogUIComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_NotificationsLogComponent

Functions

SCR_NotificationsLogComponent MenuRootSubComponent BaseContainerProps ()
 Class that saves the color data for specific ENotificationColor enums for the notification system.
bool OnNotification (SCR_NotificationData data)
ScriptInvoker GetOnNewMessageHasPosition ()
ScriptInvoker GetOnInputDeviceChanged ()
void OnNotificationDeleted (SCR_NotificationMessageUIComponent notificationMessage)
void RemoveOldestNotification ()
void UpdateNotificationTexts ()
 Update notification texts.
void OnInputDeviceIsGamepad (bool isGamepad)
bool GetIsUsingMouseAndKeyboard ()
SCR_EditorManagerEntity GetEditorManager ()
SCR_NotificationsComponent GetNotificationManager ()
Color GetNotificationWidgetColor (ENotificationColor notificationColor)
Color GetNotificationTextColor (ENotificationColor notificationColor)
bool HasNotificationInput ()
void GenerateNotificationColorMap ()
void OnStickyNotificationChanged (bool newActive)
void OnPriorityNotificationChange (bool newActive)
void OnSettingsChanged ()
override void HandlerAttachedScripted (Widget w)
override void HandlerDeattached (Widget w)
void OnSlotResize (int maxNotifications)
void ChangeInsertOrder (bool fromTop)
void UpdateSpinner ()
void ShowSavingWarning (bool state)
SCR_NotificationsLogComponent MenuRootSubComponent SCR_BaseContainerCustomTitleEnum (ENotificationColor, "m_NotificationColor")

Variables

bool m_bHasNotificationInput
int m_iMaxNotifications
float m_fNotificationDisplayTime
string m_sNotificationHolderName
string m_sPriorityNotificationHolderName
int m_iPriorityNotificationSize
string m_sNotificationHolderParent
ResourceName m_sNotificationEntityPrefab
ResourceName m_sSplitNotificationEntityPrefab
SCR_NotificationsComponent m_NotificationsManager
SCR_EditorManagerEntity m_EditorManagerEntity
SCR_FadeUIComponent m_FadeUiComponent
VerticalLayoutWidget m_wNotificationHolder
VerticalLayoutWidget m_wPriorityNotificationHolder
VerticalLayoutWidget m_wNotificationHolderParent
ref SCR_NotificationMessageUIComponent m_PrevOverFlowNotification
FactionManager m_FactionManager
SCR_SaveWarningComponent m_SaveWarning
Widget m_wRoot
int m_iCurrentMaxNotifications
int m_iCurrentPriorityNotifications
int m_iCurrentStickyNotifications
bool m_bIsUsingMouseAndKeyboard = true
string m_sCachedLanguage
ref ScriptInvoker m_OnNewMessageHasPosition = new ScriptInvoker()
ref ScriptInvoker m_OnInputDeviceChanged = new ScriptInvoker()
ref array< ref SCR_NotificationMessageUIComponentm_aNotificationMessages = {}
ref array< ref SCR_NotificationMessageUIComponentm_aPriorityNotificationMessages = {}
ref map< ENotificationColor, SCR_NotificationDisplayColor > m_NotificationDisplayColorMap = new map<ENotificationColor, SCR_NotificationDisplayColor>()

Function Documentation

◆ BaseContainerProps()

Class that saves the color data for specific ENotificationColor enums for the notification system.

◆ ChangeInsertOrder()

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

Definition at line 541 of file SCR_NotificationsLogUIComponent.c.

◆ GenerateNotificationColorMap()

void BaseContainerProps::GenerateNotificationColorMap ( )
protected

Definition at line 308 of file SCR_NotificationsLogUIComponent.c.

◆ GetEditorManager()

SCR_EditorManagerEntity BaseContainerProps::GetEditorManager ( )
protected
Returns
EditorManagerEntity reference

Definition at line 208 of file SCR_NotificationsLogUIComponent.c.

◆ GetIsUsingMouseAndKeyboard()

bool BaseContainerProps::GetIsUsingMouseAndKeyboard ( )
protected

Returns using mouse and keyboard or gamepad

Returns
true if using mouse and keyboard, false otherwise

Definition at line 201 of file SCR_NotificationsLogUIComponent.c.

◆ GetNotificationManager()

SCR_NotificationsComponent BaseContainerProps::GetNotificationManager ( )
protected
Returns
NotificationsManager reference

Definition at line 215 of file SCR_NotificationsLogUIComponent.c.

◆ GetNotificationTextColor()

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

Definition at line 262 of file SCR_NotificationsLogUIComponent.c.

◆ GetNotificationWidgetColor()

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

Definition at line 222 of file SCR_NotificationsLogUIComponent.c.

◆ GetOnInputDeviceChanged()

ScriptInvoker BaseContainerProps::GetOnInputDeviceChanged ( )
protected

Get script invoker if input device changed

Returns
ScriptInvoker m_OnInputDeviceChanged

Definition at line 132 of file SCR_NotificationsLogUIComponent.c.

◆ GetOnNewMessageHasPosition()

ScriptInvoker BaseContainerProps::GetOnNewMessageHasPosition ( )
protected

Get script invoker if a new notification has a position

Returns
ScriptInvoker m_OnNewMessageHasPosition

Definition at line 124 of file SCR_NotificationsLogUIComponent.c.

◆ HandlerAttachedScripted()

override void BaseContainerProps::HandlerAttachedScripted ( Widget w)
protected

Definition at line 389 of file SCR_NotificationsLogUIComponent.c.

◆ HandlerDeattached()

override void BaseContainerProps::HandlerDeattached ( Widget w)
protected

Definition at line 503 of file SCR_NotificationsLogUIComponent.c.

◆ HasNotificationInput()

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

Definition at line 302 of file SCR_NotificationsLogUIComponent.c.

◆ OnInputDeviceIsGamepad()

void BaseContainerProps::OnInputDeviceIsGamepad ( bool isGamepad)
protected

Definition at line 192 of file SCR_NotificationsLogUIComponent.c.

◆ OnNotification()

bool BaseContainerProps::OnNotification ( SCR_NotificationData data)
protected

Definition at line 57 of file SCR_NotificationsLogUIComponent.c.

◆ OnNotificationDeleted()

void BaseContainerProps::OnNotificationDeleted ( SCR_NotificationMessageUIComponent notificationMessage)
protected

Definition at line 138 of file SCR_NotificationsLogUIComponent.c.

◆ OnPriorityNotificationChange()

void BaseContainerProps::OnPriorityNotificationChange ( bool newActive)
protected

Definition at line 345 of file SCR_NotificationsLogUIComponent.c.

◆ OnSettingsChanged()

void BaseContainerProps::OnSettingsChanged ( )
protected

Definition at line 363 of file SCR_NotificationsLogUIComponent.c.

◆ OnSlotResize()

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

Definition at line 520 of file SCR_NotificationsLogUIComponent.c.

◆ OnStickyNotificationChanged()

void BaseContainerProps::OnStickyNotificationChanged ( bool newActive)
protected

Definition at line 324 of file SCR_NotificationsLogUIComponent.c.

◆ RemoveOldestNotification()

void BaseContainerProps::RemoveOldestNotification ( )
protected

Definition at line 154 of file SCR_NotificationsLogUIComponent.c.

◆ SCR_BaseContainerCustomTitleEnum()

SCR_NotificationsLogComponent MenuRootSubComponent SCR_BaseContainerCustomTitleEnum ( ENotificationColor ,
"m_NotificationColor"  )
Returns
the color saved in data to color the widget
the color saved in data to color text

Definition at line 594 of file SCR_NotificationsLogUIComponent.c.

◆ ShowSavingWarning()

void BaseContainerProps::ShowSavingWarning ( bool state)
protected

Definition at line 574 of file SCR_NotificationsLogUIComponent.c.

◆ UpdateNotificationTexts()

void BaseContainerProps::UpdateNotificationTexts ( )
protected

Update notification texts.

Definition at line 176 of file SCR_NotificationsLogUIComponent.c.

◆ UpdateSpinner()

void BaseContainerProps::UpdateSpinner ( )
protected

Definition at line 567 of file SCR_NotificationsLogUIComponent.c.

Variable Documentation

◆ m_aNotificationMessages

ref array<ref SCR_NotificationMessageUIComponent> m_aNotificationMessages = {}
protected

Definition at line 51 of file SCR_NotificationsLogUIComponent.c.

◆ m_aPriorityNotificationMessages

ref array<ref SCR_NotificationMessageUIComponent> m_aPriorityNotificationMessages = {}
protected

Definition at line 52 of file SCR_NotificationsLogUIComponent.c.

◆ m_bHasNotificationInput

bool m_bHasNotificationInput
protected

Definition at line 1 of file SCR_NotificationsLogUIComponent.c.

◆ m_bIsUsingMouseAndKeyboard

bool m_bIsUsingMouseAndKeyboard = true
protected

Definition at line 44 of file SCR_NotificationsLogUIComponent.c.

◆ m_EditorManagerEntity

SCR_EditorManagerEntity m_EditorManagerEntity
protected

Definition at line 28 of file SCR_NotificationsLogUIComponent.c.

◆ m_FactionManager

FactionManager m_FactionManager
protected

Definition at line 34 of file SCR_NotificationsLogUIComponent.c.

◆ m_FadeUiComponent

SCR_FadeUIComponent m_FadeUiComponent
protected

Definition at line 29 of file SCR_NotificationsLogUIComponent.c.

◆ m_fNotificationDisplayTime

float m_fNotificationDisplayTime
protected

Definition at line 7 of file SCR_NotificationsLogUIComponent.c.

◆ m_iCurrentMaxNotifications

int m_iCurrentMaxNotifications
protected

Definition at line 39 of file SCR_NotificationsLogUIComponent.c.

◆ m_iCurrentPriorityNotifications

int m_iCurrentPriorityNotifications
protected

Definition at line 40 of file SCR_NotificationsLogUIComponent.c.

◆ m_iCurrentStickyNotifications

int m_iCurrentStickyNotifications
protected

Definition at line 41 of file SCR_NotificationsLogUIComponent.c.

◆ m_iMaxNotifications

int m_iMaxNotifications
protected

Definition at line 4 of file SCR_NotificationsLogUIComponent.c.

◆ m_iPriorityNotificationSize

int m_iPriorityNotificationSize
protected

Definition at line 16 of file SCR_NotificationsLogUIComponent.c.

◆ m_NotificationDisplayColorMap

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

Definition at line 54 of file SCR_NotificationsLogUIComponent.c.

◆ m_NotificationsManager

SCR_NotificationsComponent m_NotificationsManager
protected

Definition at line 27 of file SCR_NotificationsLogUIComponent.c.

◆ m_OnInputDeviceChanged

ref ScriptInvoker m_OnInputDeviceChanged = new ScriptInvoker()
protected

Definition at line 49 of file SCR_NotificationsLogUIComponent.c.

◆ m_OnNewMessageHasPosition

ref ScriptInvoker m_OnNewMessageHasPosition = new ScriptInvoker()
protected

Definition at line 48 of file SCR_NotificationsLogUIComponent.c.

◆ m_PrevOverFlowNotification

ref SCR_NotificationMessageUIComponent m_PrevOverFlowNotification
protected

Definition at line 33 of file SCR_NotificationsLogUIComponent.c.

◆ m_SaveWarning

SCR_SaveWarningComponent m_SaveWarning
protected

Definition at line 36 of file SCR_NotificationsLogUIComponent.c.

◆ m_sCachedLanguage

string m_sCachedLanguage
protected

Definition at line 46 of file SCR_NotificationsLogUIComponent.c.

◆ m_sNotificationEntityPrefab

ResourceName m_sNotificationEntityPrefab
protected

Definition at line 22 of file SCR_NotificationsLogUIComponent.c.

◆ m_sNotificationHolderName

string m_sNotificationHolderName
protected

Definition at line 10 of file SCR_NotificationsLogUIComponent.c.

◆ m_sNotificationHolderParent

string m_sNotificationHolderParent
protected

Definition at line 19 of file SCR_NotificationsLogUIComponent.c.

◆ m_sPriorityNotificationHolderName

string m_sPriorityNotificationHolderName
protected

Definition at line 13 of file SCR_NotificationsLogUIComponent.c.

◆ m_sSplitNotificationEntityPrefab

ResourceName m_sSplitNotificationEntityPrefab
protected

Definition at line 25 of file SCR_NotificationsLogUIComponent.c.

◆ m_wNotificationHolder

VerticalLayoutWidget m_wNotificationHolder
protected

Definition at line 30 of file SCR_NotificationsLogUIComponent.c.

◆ m_wNotificationHolderParent

VerticalLayoutWidget m_wNotificationHolderParent
protected

Definition at line 32 of file SCR_NotificationsLogUIComponent.c.

◆ m_wPriorityNotificationHolder

VerticalLayoutWidget m_wPriorityNotificationHolder
protected

Definition at line 31 of file SCR_NotificationsLogUIComponent.c.

◆ m_wRoot

Widget m_wRoot
protected

Definition at line 38 of file SCR_NotificationsLogUIComponent.c.