DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
Класс NotificationSystem

Защищенные члены

void NotificationSystem ()
 
NotificationData GetNotificationData (NotificationType type)
 

Защищенные статические члены

static void InitInstance ()
 
static void CleanupInstance ()
 
static NotificationSystem GetInstance ()
 
static void SendNotificationToPlayerExtended (Man player, float show_time, string title_text, string detail_text="", string icon="")
 Send custom notification to player from server.
 
static void SendNotificationToPlayerIdentityExtended (PlayerIdentity player, float show_time, string title_text, string detail_text="", string icon="")
 Send custom notification to player identity from server.
 
static void SendNotificationToPlayer (Man player, NotificationType type, float show_time, string detail_text="")
 Send notification from default types to player from server.
 
static void SendNotificationToPlayerIdentity (PlayerIdentity player, NotificationType type, float show_time, string detail_text="")
 Send notification from default types to player identity from server.
 
static void AddNotification (NotificationType type, float show_time, string detail_text="")
 Send notification from default types to local player.
 
static void AddNotificationExtended (float show_time, string title_text, string detail_text="", string icon="")
 Send custom notification from to local player.
 
static void Update (float timeslice)
 
static void LoadNotificationData ()
 

Защищенные данные

ref array< ref NotificationRuntimeDatam_TimeArray
 
ref array< ref NotificationRuntimeDatam_DeferredArray
 
ref map< NotificationType, ref NotificationDatam_DataArray
 
float m_TimeElapsed
 
ref ScriptInvoker m_OnNotificationAdded = new ScriptInvoker()
 
ref ScriptInvoker m_OnNotificationRemoved = new ScriptInvoker()
 

Статические защищенные данные

static const string JSON_FILE_PATH = "scripts/data/notifications.json"
 
static const int MAX_NOTIFICATIONS = 5
 
static ref NotificationSystem m_Instance
 

Закрытые данные

const int DEFAULT_TIME_DISPLAYED = 10
 
const float NOTIFICATION_FADE_TIME = 3.0
 

Закрытые статические данные

static const float UPDATE_INTERVAL_THRESHOLD = 1.0
 

Подробное описание

См. определение в файле NotificationSystem.c строка 69