Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_NotificationPlayerBanned.c
Go to the documentation of this file.
1 
8 {
9  override string GetText(SCR_NotificationData data)
10  {
11  int playerID, duration;
12  data.GetParams(playerID, duration);
13 
14  int days, hours, minutes, seconds;
15  SCR_DateTimeHelper.GetDayHourMinuteSecondFromSeconds(duration, days, hours, minutes, seconds);
16 
17  string playerName;
18  data.GetNotificationTextEntries(playerName);
19  if (!GetPlayerName(playerID, playerName))
20  return string.Empty;
21 
22  data.SetNotificationTextEntries(playerName, days.ToString(), hours.ToString(), minutes.ToString(), seconds.ToString());
23  return super.GetText(data);
24  }
25 
26 };
SCR_NotificationPlayer
Definition: SCR_NotificationPlayer.c:10
SCR_BaseContainerCustomTitleEnum
class SCR_CampaignHintStorage SCR_BaseContainerCustomTitleEnum(EHint, "m_eHintId")
Definition: SCR_CampaignHintStorage.c:22
SCR_DateTimeHelper
Definition: SCR_DateTimeHelper.c:1
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
SCR_NotificationPlayerBanned
Definition: SCR_NotificationPlayerBanned.c:7
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