DayZ 1.24
|
Protected Member Functions | |
void | NotificationSystem () |
NotificationData | GetNotificationData (NotificationType type) |
Static Protected Attributes | |
static const string | JSON_FILE_PATH = "scripts/data/notifications.json" |
static const int | MAX_NOTIFICATIONS = 5 |
static ref NotificationSystem | m_Instance |
Private Attributes | |
const int | DEFAULT_TIME_DISPLAYED = 10 |
const float | NOTIFICATION_FADE_TIME = 3.0 |
Static Private Attributes | |
static const float | UPDATE_INTERVAL_THRESHOLD = 1.0 |
Definition at line 69 of file NotificationSystem.c.
|
inlineprotected |
Definition at line 109 of file NotificationSystem.c.
References m_DeferredArray, m_TimeArray, and m_TimeElapsed.
Referenced by InitInstance().
|
inlinestaticprotected |
Send notification from default types to local player.
type | the type of notification to send - these can be viewed in /Scripts/Data/Notifications.json |
show_time | amount of time this notification is displayed |
detail_text | additional text that can be added to the notification under the title - will not display additional text if not set |
Definition at line 188 of file NotificationSystem.c.
References m_Instance, MAX_NOTIFICATIONS, and NotificationRuntimeData().
Referenced by CGame::DisconnectSessionEx(), OnlineServices::OnFriendsAsync(), BiosSessionService::OnGetGameplaySession(), CGame::OnRPC(), and BiosUserManager::SelectUserEx().
|
inlinestaticprotected |
Send custom notification from to local player.
show_time | amount of time this notification is displayed |
title_text | the title text that is displayed in the notification |
detail_text | additional text that can be added to the notification under the title - will not display additional text if not set |
icon | the icon that is displayed in the notification - will use default icon if not set |
Definition at line 211 of file NotificationSystem.c.
References m_Instance, MAX_NOTIFICATIONS, and NotificationRuntimeData().
Referenced by CGame::OnRPC().
Definition at line 99 of file NotificationSystem.c.
References m_Instance.
Referenced by CGame::~DayZGame().
|
inlinestaticprotected |
Definition at line 104 of file NotificationSystem.c.
References m_Instance.
Referenced by NotificationUI::NotificationUI(), and NotificationUI::~NotificationUI().
|
inlineprotected |
Definition at line 268 of file NotificationSystem.c.
References m_DataArray.
Definition at line 90 of file NotificationSystem.c.
References m_Instance, and NotificationSystem().
Referenced by CGame::InitNotifications().
Definition at line 276 of file NotificationSystem.c.
References ErrorEx, JSON_FILE_PATH, and m_Instance.
|
inlinestaticprotected |
Send notification from default types to player from server.
player | the target player to send notification to |
type | the type of notification to send - these can be viewed in /Scripts/Data/Notifications.json |
show_time | amount of time this notification is displayed |
detail_text | additional text that can be added to the notification under the title - will not display additional text if not set |
Definition at line 158 of file NotificationSystem.c.
References SendNotificationToPlayerIdentity().
|
inlinestaticprotected |
Send custom notification to player from server.
player | the target player to send notification to |
show_time | amount of time this notification is displayed |
title_text | the title text that is displayed in the notification |
detail_text | additional text that can be added to the notification under the title - will not display additional text if not set |
icon | the icon that is displayed in the notification - will use default icon if not set |
Definition at line 125 of file NotificationSystem.c.
References SendNotificationToPlayerIdentityExtended().
|
inlinestaticprotected |
Send notification from default types to player identity from server.
player | the target player to send notification to - if null, will send to all players |
type | the type of notification to send - these can be viewed in /Scripts/Data/Notifications.json |
show_time | amount of time this notification is displayed |
detail_text | additional text that can be added to the notification under the title - will not display additional text if not set |
Definition at line 171 of file NotificationSystem.c.
Referenced by SendNotificationToPlayer().
|
inlinestaticprotected |
Send custom notification to player identity from server.
player | the target player to send notification to - if null, will send to all players |
show_time | amount of time this notification is displayed |
title_text | the title text that is displayed in the notification |
detail_text | additional text that can be added to the notification under the title - will not display additional text if not set |
icon | the icon that is displayed in the notification - will use default icon if not set |
Definition at line 139 of file NotificationSystem.c.
Referenced by SendNotificationToPlayerExtended().
Definition at line 229 of file NotificationSystem.c.
References g_Game, m_Instance, NotificationRuntimeData(), and UPDATE_INTERVAL_THRESHOLD.
Referenced by CGame::OnUpdate().
Definition at line 71 of file NotificationSystem.c.
Referenced by CGame::DisconnectSessionEx(), OnlineServices::OnFriendsAsync(), BiosSessionService::OnGetGameplaySession(), and BiosUserManager::SelectUserEx().
Definition at line 74 of file NotificationSystem.c.
Referenced by LoadNotificationData().
|
protected |
Definition at line 83 of file NotificationSystem.c.
Referenced by GetNotificationData().
|
protected |
Definition at line 82 of file NotificationSystem.c.
Referenced by NotificationSystem().
|
staticprotected |
Definition at line 79 of file NotificationSystem.c.
Referenced by AddNotification(), AddNotificationExtended(), CleanupInstance(), GetInstance(), InitInstance(), LoadNotificationData(), and Update().
|
protected |
Definition at line 87 of file NotificationSystem.c.
|
protected |
Definition at line 88 of file NotificationSystem.c.
|
protected |
Definition at line 81 of file NotificationSystem.c.
Referenced by NotificationSystem().
|
protected |
Definition at line 85 of file NotificationSystem.c.
Referenced by NotificationSystem().
Definition at line 75 of file NotificationSystem.c.
Referenced by AddNotification(), and AddNotificationExtended().
Definition at line 72 of file NotificationSystem.c.
Referenced by NotificationUI::Update().
Definition at line 77 of file NotificationSystem.c.
Referenced by Update().