| 
    Arma Reforger Script API
    
   | 
 
Notification Player banned Displays a notification: %1 = PlayerID name, %2 = days, %3 = hours, %4 = minutes, %5 = seconds SCR_NotificationData: m_iParam1 = PlayerID, m_iParam2 = duration. More...
  
Public Member Functions | |
| override string | GetText (SCR_NotificationData data) | 
| Returns the display text using the parameters set in SCR_NotificationData.   | |
  Public Member Functions inherited from SCR_NotificationPlayer | |
| override void | SetPosition (SCR_NotificationData data) | 
| Set the position of the target entity the SCR_NotificationData.   | |
| override void | SetFactionRelatedColor (SCR_NotificationData data) | 
| Sets the color enum related to faction if SCR_NotificationDisplayData Color is set to: 'FACTION_RELATED_FRIENDLY_IS_NEGATIVE', 'FACTION_RELATED_FRIENDLY_IS_POSITIVE', 'FACTION_RELATED_ENEMY_IS_NEGATIVE_ONLY' or 'FACTION_RELATED_FRIENDLY_IS_POSITIVE_ONLY' and there is a target to check faction of.   | |
  Public Member Functions inherited from SCR_NotificationDisplayData | |
| void | SetInitialDisplayData (SCR_NotificationData data) | 
| Sets the initial display data such as initial notification position and faction related color of notification.   | |
| void | GetDisplayVisualizationData (SCR_NotificationData data, out SCR_UINotificationInfo info=null, out ENotificationColor colorEnum=ENotificationColor.NEUTRAL) | 
| Returns the display data.   | |
| ENotificationColor | GetTextColor (SCR_NotificationData data) | 
| Returns the display data.   | |
| void | GetSplitNotificationTextColors (SCR_NotificationData data, out ENotificationColor leftTextColorEnum=ENotificationColor.NEUTRAL, out ENotificationColor rightTextColorEnum=ENotificationColor.NEUTRAL) | 
| Returns the display data.   | |
| bool | MergeParam1With2 () | 
| If true it will merge param1 with param2 using param2 as format (eg: Translate(param2, param1)) before constructing the full notification formatted string.   | |
| bool | GetPriority () | 
| Get Priority.   | |
| SCR_UINotificationInfo | GetNotificationUIInfo () | 
| Get UI info.   | |
| bool | GetPosition (SCR_NotificationData data, out vector position) | 
| Gives a position vector that is linked to the notification.   | |
Additional Inherited Members | |
  Public Attributes inherited from SCR_NotificationDisplayData | |
| ENotification | m_NotificationKey | 
| bool | m_bPriorityNotification | 
| ref SCR_UINotificationInfo | m_info | 
  Static Public Attributes inherited from SCR_NotificationDisplayData | |
| const int | MAX_USERNAME_CHARACTERS = 32 | 
  Protected Member Functions inherited from SCR_NotificationDisplayData | |
| bool | GetPlayerName (int playerID, out string playerName) | 
| bool | GetEditableEntityName (int entityRplID, out string entityName, bool useCharacterName=false) | 
| bool | IsPlayerFriendlyToLocalPlayer (int notificationPlayerID, bool friendlyIfNoFaction=false) | 
| bool | IsEntityFriendlyToLocalPlayer (IEntity notificationEntity, bool friendlyIfNoFaction=false) | 
| bool | GetFactionName (int factionIndex, out string factionName) | 
| bool | GetCharacterName (int entityRplID, out string format, out string firstname, out string alias, out string surname) | 
| bool | GetEntityCallsign (int rplID, out string callsign) | 
| bool | GetGroupNameFromGroupID (int playerGroupId, out string groupName) | 
| bool | GetInventoryItemName (RplId rplId, out string itemName) | 
| bool | CanSetPosition (SCR_NotificationData data) | 
| void | SetPositionDataEditablePlayer (int playerID, SCR_NotificationData data) | 
| void | SetPositionDataEditableEntity (int enditableEntityID, SCR_NotificationData data) | 
| ENotificationColor | GetFactionRelatedColorPlayer (int notificationPlayerID, ENotificationColor colorType) | 
| ENotificationColor | GetFactionRelatedColorEntity (int notificationEntityID, ENotificationColor colorType) | 
| bool | AreEntitiesFriendly (int entity1ID, bool entity1IsPlayer, int entity2ID, bool entity2IsPlayer) | 
  Protected Attributes inherited from SCR_NotificationDisplayData | |
| bool | m_bAddFriendlyIndicator | 
  Static Protected Attributes inherited from SCR_NotificationDisplayData | |
| const LocalizedString | FRIENDLY_INDICATOR = "#AR-Notification_FriendlyIndicator" | 
| String used to indicate friendly entities together with the name eg: (Friendly) [PlayerName]. Used only if m_bAddFriendlyIndicator is true.   | |
| const LocalizedString | LOCAL_PLAYER_INDICATOR = "#AR-Notification_LocalPlayerIndicator" | 
| static const float | PLATFORM_ICON_SIZE = 2 | 
Notification Player banned Displays a notification: %1 = PlayerID name, %2 = days, %3 = hours, %4 = minutes, %5 = seconds SCR_NotificationData: m_iParam1 = PlayerID, m_iParam2 = duration.
| override string SCR_NotificationPlayerBanned.GetText | ( | SCR_NotificationData | data | ) | 
Returns the display text using the parameters set in SCR_NotificationData.
| data | SCR_NotificationData to get the parameters | 
Implements SCR_NotificationPlayer.