Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
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
};
SCR_NotificationDisplayData
Definition:
SCR_NotificationDisplayData.c:7
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition:
SCR_CampaignHintStorage.c:22
ENotification
ENotification
Definition:
ENotification.c:4
SCR_EditableEntityComponent
Definition:
SCR_EditableEntityComponent.c:13
Faction
Definition:
Faction.c:12
SCR_NotificationData
Definition:
SCR_NotificationData.c:6
data
Get all prefabs that have the spawner data
Definition:
SCR_EntityCatalogManagerComponent.c:305
SCR_NotificationFaction
Definition:
SCR_NotificationFaction.c:10
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
scripts_Arma_Reforger_v1.1.0.42
scripts
Game
Network
Notifications
NotificationDisplayData
SCR_NotificationFaction.c
Generated by
1.8.17