Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_NotificationPlayer.c
Go to the documentation of this file.
1 
11 {
12  override string GetText(SCR_NotificationData data)
13  {
14  string textEntry1, textEntry2, textEntry3, textEntry4, textEntry5, textEntry6;
15  data.GetNotificationTextEntries(textEntry1, textEntry2, textEntry3, textEntry4, textEntry5, textEntry6);
16 
17  int playerID;
18  data.GetParams(playerID);
19 
20  string playerName;
21  data.GetNotificationTextEntries(playerName);
22  if (!GetPlayerName(playerID, playerName))
23  return string.Empty;
24 
25  data.SetNotificationTextEntries(playerName);
26 
27  return super.GetText(data);
28  }
29 
30  override void SetPosition(SCR_NotificationData data)
31  {
32  if (!CanSetPosition(data))
33  return;
34 
35  int playerID;
36  data.GetParams(playerID);
37  SetPositionDataEditablePlayer(playerID, data);
38  }
39 
40  override void SetFactionRelatedColor(SCR_NotificationData data)
41  {
42  int playerID;
43  data.GetParams(playerID);
44  data.SetFactionRelatedColor(GetFactionRelatedColorPlayer(playerID, m_info.GetNotificationColor()));
45 
47 
48  if (coloredTextUiInfo)
49  data.SetFactionRelatedTextColor(GetFactionRelatedColorPlayer(playerID, coloredTextUiInfo.GetNotificationTextColor()));
50  }
51 
52 };
SCR_NotificationDisplayData
Definition: SCR_NotificationDisplayData.c:7
SCR_NotificationPlayer
Definition: SCR_NotificationPlayer.c:10
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition: SCR_CampaignHintStorage.c:22
SCR_ColoredTextNotificationUIInfo
Definition: SCR_ColoredTextNotificationUIInfo.c:2
ENotification
ENotification
Definition: ENotification.c:4
SCR_NotificationData
Definition: SCR_NotificationData.c:6
data
Get all prefabs that have the spawner data
Definition: SCR_EntityCatalogManagerComponent.c:305
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