Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_SplitNotificationUIInfo.c
Go to the documentation of this file.
3 {
4  [Attribute(desc: "The right part of the split notification message. Only valid if m_bIsSplitNotification is true")]
5  protected LocalizedString m_sSplitNotificationRightMessage;
6 
7  [Attribute("0", UIWidgets.ComboBox, "Left Notification text color", "", ParamEnumArray.FromEnum(ENotificationColor) )]
8  protected ENotificationColor m_iLeftTextColor;
9 
10  [Attribute("0", UIWidgets.ComboBox, "Right Notification text color", "", ParamEnumArray.FromEnum(ENotificationColor) )]
11  protected ENotificationColor m_iRightTextColor;
12 
13  [Attribute(desc: "This is for notifications that involve two entities and the two entities are friendlies. eg: Player Killed player. If Right (killed player) is friendly with Left (killer) then Left will be colored the same color. If there are only one or less entities involved this will be ignored (Supported notification classes: SCR_NotificationPlayerTargetPlayer, SCR_NotificationPlayerTargetEditableEntity, SCR_NotificationEditableEntityTargetPlayer and SCR_NotificationEditableEntityEditableEntityTarget)")]
14  protected bool m_bReplaceLeftColorWithRightColorIfFactionsAreAlly;
15 
16  //------------------------------------------------------------------------------------------------
19  string GetSplitRightMessageText()
20  {
21  return m_sSplitNotificationRightMessage;
22  }
23 
24  //------------------------------------------------------------------------------------------------
27  ENotificationColor GetLeftTextColor()
28  {
29  return m_iLeftTextColor;
30  }
31 
32  //------------------------------------------------------------------------------------------------
35  ENotificationColor GetRightTextColor()
36  {
37  return m_iRightTextColor;
38  }
39 
40  //------------------------------------------------------------------------------------------------
46  bool ShouldReplaceLeftColorWithRightColorIfAlly()
47  {
48  return m_bReplaceLeftColorWithRightColorIfFactionsAreAlly;
49  }
50 }
SCR_SplitNotificationUIInfo
Definition: SCR_SplitNotificationUIInfo.c:2
SCR_BaseContainerLocalizedTitleField
SCR_TabViewComponent SCR_ScriptedWidgetComponent SCR_BaseContainerLocalizedTitleField("m_sTabButtonContent")
Definition: SCR_TabViewComponent.c:963
desc
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
Definition: SCR_RespawnBriefingComponent.c:17
Attribute
typedef Attribute
Post-process effect of scripted camera.
ENotificationColor
ENotificationColor
Definition: ENotificationColor.c:4
LocalizedString
Definition: LocalizedString.c:21
SCR_UINotificationInfo
UIInfo used by the Notifications system.
Definition: SCR_NotificationUIInfo.c:3
BaseContainerProps
SCR_AIGoalReaction_Follow BaseContainerProps
Handles insects that are supposed to be spawned around selected prefabs defined in prefab names array...
Definition: SCR_AIGoalReaction.c:468