Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_NotificationsComponentClass |
Functions | |
ScriptInvoker | GetOnNotification () |
int | GetHistoryNewToOld (out notnull array< SCR_NotificationData > outHistory) |
int | GetHistoryOldToNew (out notnull array< SCR_NotificationData > outHistory, int maxHistoryIndex=-1) |
bool | GetHistoryEntry (int index, out SCR_NotificationData data=null) |
bool | GetLastNotificationLocation (out vector lastLocation) |
protected void | Rpc_SendToEveryone (ENotification notificationID, vector position, notnull array< int > paramArray) |
protected void | Rpc_SendToPlayer (int playerID, ENotification notificationID, vector position, notnull array< int > paramArray) |
protected void | Rpc_SendToFaction (int factionIndex, bool includeFriendlyFactions, ENotification notificationID, vector position, notnull array< int > paramArray) |
protected void | Rpc_SendToUnlimitedEditorPlayers (ENotification notificationID, vector position, notnull array< int > paramArray) |
protected void | Rpc_SendToUnlimitedEditorPlayersAndPlayer (int playerID, ENotification notificationID, vector position, notnull array< int > paramArray) |
protected void | Rpc_SendToGroup (int groupID, ENotification notificationID, vector position, notnull array< int > paramArray) |
bool | SendToOwner (ENotification id, SCR_NotificationData data=null) |
protected void | ReceiveNotification (ENotification id) |
protected void | ReceiveSCR_NotificationData (ENotification id, SCR_NotificationData data) |
array< string > | GetStickyNotifications () |
array< ref SCR_NotificationDisplayColor > | GetNotificationDisplayColor () |
protected SCR_NotificationDisplayData | GetNotificationDisplayData (ENotification notificationID) |
string | GetPlayerNameFromHistory (int playerID) |
protected void | AddPlayerNameToHistory (int playerID) |
protected void | UpdateNotificationData (bool updateNotificationData) |
protected void | ConnectToNotificationsSystem () |
protected void | DisconnectFromNotificationsSystem () |
void | Update (float timeSlice) |
override void | OnPostInit (IEntity owner) |
Editable Mine. More... | |
override void | OnDelete (IEntity owner) |
Variables | |
SCR_NotificationsComponentClass | m_aHistory = {} |
Framework for sending notifications to players. More... | |
protected ref ScriptInvoker | Event_OnNotification = new ScriptInvoker() |
protected SCR_NotificationData | m_LastNotificationWithLocation |
protected bool | m_bIsUpdatingNotificationData |
protected ref map< int, string > | m_mPlayerNameHistory = new map <int, string>() |
protected void AddPlayerNameToHistory | ( | int | playerID | ) |
Definition at line 1018 of file SCR_NotificationsComponent.c.
protected void ConnectToNotificationsSystem | ( | ) |
Definition at line 1044 of file SCR_NotificationsComponent.c.
protected void DisconnectFromNotificationsSystem | ( | ) |
Definition at line 1055 of file SCR_NotificationsComponent.c.
bool GetHistoryEntry | ( | int | index, |
out SCR_NotificationData | data = null |
||
) |
Get the the specific history entry
[in] | index | int index of history entry |
[out] | data | SCR_NotificationData of the history entry with given index |
Definition at line 138 of file SCR_NotificationsComponent.c.
int GetHistoryNewToOld | ( | out notnull array< SCR_NotificationData > | outHistory | ) |
Get the list of previous notifications. (new to old)
[out] | outHistory | Array to be filled with notifications, newest first - not emptied before filling |
Definition at line 105 of file SCR_NotificationsComponent.c.
int GetHistoryOldToNew | ( | out notnull array< SCR_NotificationData > | outHistory, |
int | maxHistoryIndex = -1 |
||
) |
Get the list of previous notifications. (old to new)
[out] | outHistory | Array to be filled with notifications, oldest first - not emptied before filling |
how | far back the history needs to be taken from. -1 means this is ignored |
Definition at line 120 of file SCR_NotificationsComponent.c.
bool GetLastNotificationLocation | ( | out vector | lastLocation | ) |
Get last ping location
[out] | lastPingLocation | last ping location vector |
Definition at line 155 of file SCR_NotificationsComponent.c.
array<ref SCR_NotificationDisplayColor> GetNotificationDisplayColor | ( | ) |
Get Notification colors
Definition at line 983 of file SCR_NotificationsComponent.c.
protected SCR_NotificationDisplayData GetNotificationDisplayData | ( | ENotification | notificationID | ) |
Definition at line 993 of file SCR_NotificationsComponent.c.
ScriptInvoker GetOnNotification | ( | ) |
Get invoker called on player's machine when a notification is received
Definition at line 96 of file SCR_NotificationsComponent.c.
string GetPlayerNameFromHistory | ( | int | playerID | ) |
Hotfix to Get player names when the name cannot be found anymore in the playerManager
[in] | playerID | id of player to get name from |
Definition at line 1008 of file SCR_NotificationsComponent.c.
array<string> GetStickyNotifications | ( | ) |
Get Sticky notificatons Widget names from Config
Definition at line 971 of file SCR_NotificationsComponent.c.
protected void ReceiveNotification | ( | ENotification | id | ) |
Definition at line 933 of file SCR_NotificationsComponent.c.
protected void ReceiveSCR_NotificationData | ( | ENotification | id, |
SCR_NotificationData | data | ||
) |
Definition at line 940 of file SCR_NotificationsComponent.c.
protected void Rpc_SendToEveryone | ( | ENotification | notificationID, |
vector | position, | ||
notnull array< int > | paramArray | ||
) |
Definition at line 230 of file SCR_NotificationsComponent.c.
protected void Rpc_SendToFaction | ( | int | factionIndex, |
bool | includeFriendlyFactions, | ||
ENotification | notificationID, | ||
vector | position, | ||
notnull array< int > | paramArray | ||
) |
Definition at line 402 of file SCR_NotificationsComponent.c.
protected void Rpc_SendToGroup | ( | int | groupID, |
ENotification | notificationID, | ||
vector | position, | ||
notnull array< int > | paramArray | ||
) |
Definition at line 687 of file SCR_NotificationsComponent.c.
protected void Rpc_SendToPlayer | ( | int | playerID, |
ENotification | notificationID, | ||
vector | position, | ||
notnull array< int > | paramArray | ||
) |
Definition at line 311 of file SCR_NotificationsComponent.c.
protected void Rpc_SendToUnlimitedEditorPlayers | ( | ENotification | notificationID, |
vector | position, | ||
notnull array< int > | paramArray | ||
) |
Definition at line 525 of file SCR_NotificationsComponent.c.
protected void Rpc_SendToUnlimitedEditorPlayersAndPlayer | ( | int | playerID, |
ENotification | notificationID, | ||
vector | position, | ||
notnull array< int > | paramArray | ||
) |
Definition at line 622 of file SCR_NotificationsComponent.c.
bool SendToOwner | ( | ENotification | id, |
SCR_NotificationData | data = null |
||
) |
Send notification to player who owns this player controller.
[in] | id | ID of the notification message |
[in] | data | Notification data |
Definition at line 921 of file SCR_NotificationsComponent.c.
void Update | ( | float | timeSlice | ) |
[in] | timeSlice |
Definition at line 1068 of file SCR_NotificationsComponent.c.
protected void UpdateNotificationData | ( | bool | updateNotificationData | ) |
Definition at line 1030 of file SCR_NotificationsComponent.c.
protected ref ScriptInvoker Event_OnNotification = new ScriptInvoker() |
Definition at line 79 of file SCR_NotificationsComponent.c.
SCR_NotificationsComponentClass m_aHistory = {} |
Framework for sending notifications to players.
protected bool m_bIsUpdatingNotificationData |
Definition at line 82 of file SCR_NotificationsComponent.c.
protected SCR_NotificationData m_LastNotificationWithLocation |
Definition at line 81 of file SCR_NotificationsComponent.c.
Definition at line 91 of file SCR_NotificationsComponent.c.