Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_NotificationEditableEntity.c
Go to the documentation of this file.
1
8{
9 [Attribute("0", desc: "If true will get Character name (first, alias and surname) if the entity is a NPC otherwise will get the entity type name eg: Rifleman")]
10 protected bool m_bGetCharacterName;
11
13 {
14 int entityID;
15 data.GetParams(entityID);
16
17 string entityName;
18 data.GetNotificationTextEntries(entityName);
19 if (!GetEditableEntityName(entityID, entityName, m_bGetCharacterName))
20 return string.Empty;
21
22 data.SetNotificationTextEntries(entityName);
23 return super.GetText(data);
24 }
25
27 {
28 if (!CanSetPosition(data))
29 return;
30
31 int entityID;
32 data.GetParams(entityID);
33
35 }
36
38 {
39 int entityID;
40 data.GetParams(entityID);
41 data.SetFactionRelatedColor(GetFactionRelatedColorEntity(entityID, m_info.GetNotificationColor()));
42
44
45 if (coloredTextUiInfo)
46 data.SetFactionRelatedTextColor(GetFactionRelatedColorEntity(entityID, coloredTextUiInfo.GetNotificationTextColor()));
47 }
48};
ENotification
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Get all prefabs that have the spawner data
UI Textures DeployMenu Briefing conflict_HintBanner_1_UI desc
ENotificationColor GetFactionRelatedColorEntity(int notificationEntityID, ENotificationColor colorType)
void SetPositionDataEditableEntity(int enditableEntityID, SCR_NotificationData data)
bool GetEditableEntityName(int entityRplID, out string entityName, bool useCharacterName=false)
bool CanSetPosition(SCR_NotificationData data)
override string GetText(SCR_NotificationData data)
override void SetFactionRelatedColor(SCR_NotificationData data)
override void SetPosition(SCR_NotificationData data)
SCR_FieldOfViewSettings Attribute