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

Protected Member Functions

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)

Protected Attributes

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>()

Detailed Description

Notification UI that displays the Notification Entires Holds general functions such as scroll history and Init SCR_NotificationEntityUIComponent Holds general data such as Notification Color

Definition at line 6 of file SCR_NotificationsLogUIComponent.c.

Member Function Documentation

◆ ChangeInsertOrder()

void SCR_NotificationsLogComponent::ChangeInsertOrder ( bool fromTop)
inlineprotected
Parameters
[in]fromTop

Definition at line 549 of file SCR_NotificationsLogUIComponent.c.

◆ GenerateNotificationColorMap()

void SCR_NotificationsLogComponent::GenerateNotificationColorMap ( )
inlineprotected

Definition at line 316 of file SCR_NotificationsLogUIComponent.c.

◆ GetEditorManager()

SCR_EditorManagerEntity SCR_NotificationsLogComponent::GetEditorManager ( )
inlineprotected
Returns
EditorManagerEntity reference

Definition at line 216 of file SCR_NotificationsLogUIComponent.c.

◆ GetIsUsingMouseAndKeyboard()

bool SCR_NotificationsLogComponent::GetIsUsingMouseAndKeyboard ( )
inlineprotected

Returns using mouse and keyboard or gamepad

Returns
true if using mouse and keyboard, false otherwise

Definition at line 209 of file SCR_NotificationsLogUIComponent.c.

◆ GetNotificationManager()

SCR_NotificationsComponent SCR_NotificationsLogComponent::GetNotificationManager ( )
inlineprotected
Returns
NotificationsManager reference

Definition at line 223 of file SCR_NotificationsLogUIComponent.c.

◆ GetNotificationTextColor()

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

Definition at line 270 of file SCR_NotificationsLogUIComponent.c.

◆ GetNotificationWidgetColor()

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

Definition at line 230 of file SCR_NotificationsLogUIComponent.c.

◆ GetOnInputDeviceChanged()

ScriptInvoker SCR_NotificationsLogComponent::GetOnInputDeviceChanged ( )
inlineprotected

Get script invoker if input device changed

Returns
ScriptInvoker m_OnInputDeviceChanged

Definition at line 140 of file SCR_NotificationsLogUIComponent.c.

◆ GetOnNewMessageHasPosition()

ScriptInvoker SCR_NotificationsLogComponent::GetOnNewMessageHasPosition ( )
inlineprotected

Get script invoker if a new notification has a position

Returns
ScriptInvoker m_OnNewMessageHasPosition

Definition at line 132 of file SCR_NotificationsLogUIComponent.c.

◆ HandlerAttachedScripted()

override void SCR_NotificationsLogComponent::HandlerAttachedScripted ( Widget w)
inlineprotected

Definition at line 397 of file SCR_NotificationsLogUIComponent.c.

◆ HandlerDeattached()

override void SCR_NotificationsLogComponent::HandlerDeattached ( Widget w)
inlineprotected

Definition at line 511 of file SCR_NotificationsLogUIComponent.c.

◆ HasNotificationInput()

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

Definition at line 310 of file SCR_NotificationsLogUIComponent.c.

◆ OnInputDeviceIsGamepad()

void SCR_NotificationsLogComponent::OnInputDeviceIsGamepad ( bool isGamepad)
inlineprotected

Definition at line 200 of file SCR_NotificationsLogUIComponent.c.

◆ OnNotification()

bool SCR_NotificationsLogComponent::OnNotification ( SCR_NotificationData data)
inlineprotected

Definition at line 65 of file SCR_NotificationsLogUIComponent.c.

◆ OnNotificationDeleted()

void SCR_NotificationsLogComponent::OnNotificationDeleted ( SCR_NotificationMessageUIComponent notificationMessage)
inlineprotected

Definition at line 146 of file SCR_NotificationsLogUIComponent.c.

◆ OnPriorityNotificationChange()

void SCR_NotificationsLogComponent::OnPriorityNotificationChange ( bool newActive)
inlineprotected

Definition at line 353 of file SCR_NotificationsLogUIComponent.c.

◆ OnSettingsChanged()

void SCR_NotificationsLogComponent::OnSettingsChanged ( )
inlineprotected

Definition at line 371 of file SCR_NotificationsLogUIComponent.c.

◆ OnSlotResize()

void SCR_NotificationsLogComponent::OnSlotResize ( int maxNotifications)
inlineprotected
Parameters
[in]maxNotifications

Definition at line 528 of file SCR_NotificationsLogUIComponent.c.

◆ OnStickyNotificationChanged()

void SCR_NotificationsLogComponent::OnStickyNotificationChanged ( bool newActive)
inlineprotected

Definition at line 332 of file SCR_NotificationsLogUIComponent.c.

◆ RemoveOldestNotification()

void SCR_NotificationsLogComponent::RemoveOldestNotification ( )
inlineprotected

Definition at line 162 of file SCR_NotificationsLogUIComponent.c.

◆ ShowSavingWarning()

void SCR_NotificationsLogComponent::ShowSavingWarning ( bool state)
inlineprotected

Definition at line 582 of file SCR_NotificationsLogUIComponent.c.

◆ UpdateNotificationTexts()

void SCR_NotificationsLogComponent::UpdateNotificationTexts ( )
inlineprotected

Update notification texts.

Definition at line 184 of file SCR_NotificationsLogUIComponent.c.

◆ UpdateSpinner()

void SCR_NotificationsLogComponent::UpdateSpinner ( )
inlineprotected

Definition at line 575 of file SCR_NotificationsLogUIComponent.c.

Member Data Documentation

◆ m_aNotificationMessages

ref array<ref SCR_NotificationMessageUIComponent> SCR_NotificationsLogComponent::m_aNotificationMessages = {}
protected

Definition at line 59 of file SCR_NotificationsLogUIComponent.c.

◆ m_aPriorityNotificationMessages

ref array<ref SCR_NotificationMessageUIComponent> SCR_NotificationsLogComponent::m_aPriorityNotificationMessages = {}
protected

Definition at line 60 of file SCR_NotificationsLogUIComponent.c.

◆ m_bHasNotificationInput

bool SCR_NotificationsLogComponent::m_bHasNotificationInput
protected

Definition at line 9 of file SCR_NotificationsLogUIComponent.c.

◆ m_bIsUsingMouseAndKeyboard

bool SCR_NotificationsLogComponent::m_bIsUsingMouseAndKeyboard = true
protected

Definition at line 52 of file SCR_NotificationsLogUIComponent.c.

◆ m_EditorManagerEntity

SCR_EditorManagerEntity SCR_NotificationsLogComponent::m_EditorManagerEntity
protected

Definition at line 36 of file SCR_NotificationsLogUIComponent.c.

◆ m_FactionManager

FactionManager SCR_NotificationsLogComponent::m_FactionManager
protected

Definition at line 42 of file SCR_NotificationsLogUIComponent.c.

◆ m_FadeUiComponent

SCR_FadeUIComponent SCR_NotificationsLogComponent::m_FadeUiComponent
protected

Definition at line 37 of file SCR_NotificationsLogUIComponent.c.

◆ m_fNotificationDisplayTime

float SCR_NotificationsLogComponent::m_fNotificationDisplayTime
protected

Definition at line 15 of file SCR_NotificationsLogUIComponent.c.

◆ m_iCurrentMaxNotifications

int SCR_NotificationsLogComponent::m_iCurrentMaxNotifications
protected

Definition at line 47 of file SCR_NotificationsLogUIComponent.c.

◆ m_iCurrentPriorityNotifications

int SCR_NotificationsLogComponent::m_iCurrentPriorityNotifications
protected

Definition at line 48 of file SCR_NotificationsLogUIComponent.c.

◆ m_iCurrentStickyNotifications

int SCR_NotificationsLogComponent::m_iCurrentStickyNotifications
protected

Definition at line 49 of file SCR_NotificationsLogUIComponent.c.

◆ m_iMaxNotifications

int SCR_NotificationsLogComponent::m_iMaxNotifications
protected

Definition at line 12 of file SCR_NotificationsLogUIComponent.c.

◆ m_iPriorityNotificationSize

int SCR_NotificationsLogComponent::m_iPriorityNotificationSize
protected

Definition at line 24 of file SCR_NotificationsLogUIComponent.c.

◆ m_NotificationDisplayColorMap

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

Definition at line 62 of file SCR_NotificationsLogUIComponent.c.

◆ m_NotificationsManager

SCR_NotificationsComponent SCR_NotificationsLogComponent::m_NotificationsManager
protected

Definition at line 35 of file SCR_NotificationsLogUIComponent.c.

◆ m_OnInputDeviceChanged

ref ScriptInvoker SCR_NotificationsLogComponent::m_OnInputDeviceChanged = new ScriptInvoker()
protected

Definition at line 57 of file SCR_NotificationsLogUIComponent.c.

◆ m_OnNewMessageHasPosition

ref ScriptInvoker SCR_NotificationsLogComponent::m_OnNewMessageHasPosition = new ScriptInvoker()
protected

Definition at line 56 of file SCR_NotificationsLogUIComponent.c.

◆ m_PrevOverFlowNotification

ref SCR_NotificationMessageUIComponent SCR_NotificationsLogComponent::m_PrevOverFlowNotification
protected

Definition at line 41 of file SCR_NotificationsLogUIComponent.c.

◆ m_SaveWarning

SCR_SaveWarningComponent SCR_NotificationsLogComponent::m_SaveWarning
protected

Definition at line 44 of file SCR_NotificationsLogUIComponent.c.

◆ m_sCachedLanguage

string SCR_NotificationsLogComponent::m_sCachedLanguage
protected

Definition at line 54 of file SCR_NotificationsLogUIComponent.c.

◆ m_sNotificationEntityPrefab

ResourceName SCR_NotificationsLogComponent::m_sNotificationEntityPrefab
protected

Definition at line 30 of file SCR_NotificationsLogUIComponent.c.

◆ m_sNotificationHolderName

string SCR_NotificationsLogComponent::m_sNotificationHolderName
protected

Definition at line 18 of file SCR_NotificationsLogUIComponent.c.

◆ m_sNotificationHolderParent

string SCR_NotificationsLogComponent::m_sNotificationHolderParent
protected

Definition at line 27 of file SCR_NotificationsLogUIComponent.c.

◆ m_sPriorityNotificationHolderName

string SCR_NotificationsLogComponent::m_sPriorityNotificationHolderName
protected

Definition at line 21 of file SCR_NotificationsLogUIComponent.c.

◆ m_sSplitNotificationEntityPrefab

ResourceName SCR_NotificationsLogComponent::m_sSplitNotificationEntityPrefab
protected

Definition at line 33 of file SCR_NotificationsLogUIComponent.c.

◆ m_wNotificationHolder

VerticalLayoutWidget SCR_NotificationsLogComponent::m_wNotificationHolder
protected

Definition at line 38 of file SCR_NotificationsLogUIComponent.c.

◆ m_wNotificationHolderParent

VerticalLayoutWidget SCR_NotificationsLogComponent::m_wNotificationHolderParent
protected

Definition at line 40 of file SCR_NotificationsLogUIComponent.c.

◆ m_wPriorityNotificationHolder

VerticalLayoutWidget SCR_NotificationsLogComponent::m_wPriorityNotificationHolder
protected

Definition at line 39 of file SCR_NotificationsLogUIComponent.c.

◆ m_wRoot

Widget SCR_NotificationsLogComponent::m_wRoot
protected

Definition at line 46 of file SCR_NotificationsLogUIComponent.c.


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