4 protected string m_sSplitNotificationText;
9 super.Init(
data, notificationLog, fadeDelay);
11 TextWidget rightMessage = TextWidget.Cast(
m_wRoot.FindAnyWidget(m_sSplitNotificationText));
23 if (splitUiInfo.GetIconPath().IsEmpty())
24 Print(
string.Format(
"SCR_SplitNotificationMessageUIComponent must have an icon assigned for %1!",
typename.EnumToString(
ENotification,
data.GetID())), LogLevel.NORMAL);
27 displayData.GetSplitNotificationTextColors(
data, leftColorEnum, rightColorEnum);
31 TextWidget leftMessage = TextWidget.Cast(
m_wRoot.FindAnyWidget(m_sNotificationText));
34 textColor = notificationLog.GetNotificationTextColor(leftColorEnum);
35 textColor.SetA(leftMessage.GetColor().A());
36 leftMessage.SetColor(textColor);
39 textColor = notificationLog.GetNotificationTextColor(rightColorEnum);
40 textColor.SetA(rightMessage.GetColor().A());
41 rightMessage.SetColor(textColor);
44 string rightNotificationMessage = splitUiInfo.GetSplitRightMessageText();
45 string param1, param2, param3, param4, param5, param6;
46 data.GetNotificationTextEntries(param1, param2, param3, param4, param5, param6);
48 rightMessage.SetTextFormat(rightNotificationMessage, param1, param2, param3, param4, param5, param6);