Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_NotificationFaction.c
Go to the documentation of this file.
1
9
[
BaseContainerProps
(),
SCR_BaseContainerCustomTitleEnum
(
ENotification
,
"m_NotificationKey"
)]
10
class
SCR_NotificationFaction
:
SCR_NotificationDisplayData
11
{
12
override
string
GetText
(
SCR_NotificationData
data
)
13
{
14
int
factionEntityID;
15
data
.GetParams(factionEntityID);
16
17
SCR_EditableEntityComponent
factionEntity =
SCR_EditableEntityComponent
.Cast(
Replication
.FindItem(factionEntityID));
18
if
(!factionEntity)
return
string
.Empty;
19
20
Faction
faction = factionEntity.
GetFaction
();
21
if
(!faction)
return
string
.Empty;
22
23
data
.SetNotificationTextEntries(faction.GetUIInfo().GetName());
24
return
super.GetText(
data
);
25
}
26
};
ENotification
ENotification
Definition
ENotification.c:5
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
GetText
string GetText()
Definition
SCR_BaseEditorAttribute.c:488
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition
SCR_CampaignHintStorage.c:22
data
Get all prefabs that have the spawner data
Definition
SCR_EntityCatalogManagerComponent.c:320
Faction
Definition
Faction.c:13
Replication
Main replication API.
Definition
Replication.c:14
SCR_EditableEntityComponent
Definition
SCR_EditableEntityComponent.c:14
SCR_EditableEntityComponent::GetFaction
Faction GetFaction()
Definition
SCR_EditableEntityComponent.c:473
SCR_NotificationData
Definition
SCR_NotificationData.c:7
SCR_NotificationDisplayData
Definition
SCR_NotificationDisplayData.c:8
SCR_NotificationFaction
Definition
SCR_NotificationFaction.c:11
scripts
Game
Network
Notifications
NotificationDisplayData
SCR_NotificationFaction.c
Generated by
1.17.0