Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
NotificationUI Class Reference

Protected Member Functions

void NotificationUI ()
void ~NotificationUI ()
void AddNotification (NotificationRuntimeData data)
void AddVoiceNotification (string player, string name)
void ClearVoiceNotifications ()
void RemoveNotification (NotificationRuntimeData data)
void RemoveVoiceNotification (string player)
void Update (float timeslice)
void UpdateOffset ()
void UpdateTargetHeight ()

Protected Attributes

float m_BackupPosX
float m_BackupPosY
float m_CurrentHeight
ref Widget m_NotificationContent
ref map< NotificationRuntimeData, Widgetm_Notifications
bool m_OffsetEnabled
ref Widget m_Root
ref Widget m_Spacer
float m_TargetHeight
ref Widget m_VoiceContent
ref map< string, Widgetm_VoiceNotifications
ref map< string, Widgetm_WidgetTimers
float m_Width

Static Protected Attributes

static float m_VelArr [1]

Detailed Description

Definition at line 1 of file notificationui.c.

Constructor & Destructor Documentation

◆ NotificationUI()

◆ ~NotificationUI()

Member Function Documentation

◆ AddNotification()

void AddNotification ( NotificationRuntimeData data)
inlineprotected

◆ AddVoiceNotification()

void AddVoiceNotification ( string player,
string name )
inlineprotected

◆ ClearVoiceNotifications()

void ClearVoiceNotifications ( )
inlineprotected

Definition at line 124 of file notificationui.c.

References m_VoiceNotifications, and UpdateTargetHeight().

◆ RemoveNotification()

void RemoveNotification ( NotificationRuntimeData data)
inlineprotected

◆ RemoveVoiceNotification()

void RemoveVoiceNotification ( string player)
inlineprotected

Definition at line 113 of file notificationui.c.

References m_VoiceNotifications, m_WidgetTimers, and UpdateTargetHeight().

◆ Update()

◆ UpdateOffset()

void UpdateOffset ( )
inlineprotected

Definition at line 148 of file notificationui.c.

References g_Game, m_BackupPosX, m_BackupPosY, m_OffsetEnabled, m_Root, x, and y.

Referenced by Update(), and UpdateTargetHeight().

◆ UpdateTargetHeight()

Field Documentation

◆ m_BackupPosX

float m_BackupPosX
protected

Definition at line 14 of file notificationui.c.

Referenced by UpdateOffset().

◆ m_BackupPosY

float m_BackupPosY
protected

Definition at line 15 of file notificationui.c.

Referenced by UpdateOffset().

◆ m_CurrentHeight

float m_CurrentHeight
protected

Definition at line 12 of file notificationui.c.

Referenced by Update(), and UpdateTargetHeight().

◆ m_NotificationContent

ref Widget m_NotificationContent
protected

Definition at line 6 of file notificationui.c.

Referenced by NotificationUI(), AddNotification(), and UpdateTargetHeight().

◆ m_Notifications

ref map<NotificationRuntimeData, Widget> m_Notifications
protected

Definition at line 8 of file notificationui.c.

Referenced by NotificationUI(), AddNotification(), and RemoveNotification().

◆ m_OffsetEnabled

bool m_OffsetEnabled
protected

Definition at line 18 of file notificationui.c.

Referenced by UpdateOffset().

◆ m_Root

ref Widget m_Root
protected

Definition at line 3 of file notificationui.c.

Referenced by NotificationUI(), Update(), UpdateOffset(), and UpdateTargetHeight().

◆ m_Spacer

ref Widget m_Spacer
protected

Definition at line 4 of file notificationui.c.

Referenced by NotificationUI(), Update(), and UpdateTargetHeight().

◆ m_TargetHeight

float m_TargetHeight
protected

Definition at line 13 of file notificationui.c.

Referenced by Update(), and UpdateTargetHeight().

◆ m_VelArr

float m_VelArr[1]
staticprotected

Definition at line 176 of file notificationui.c.

Referenced by Update().

◆ m_VoiceContent

ref Widget m_VoiceContent
protected

Definition at line 5 of file notificationui.c.

Referenced by NotificationUI(), AddVoiceNotification(), and UpdateTargetHeight().

◆ m_VoiceNotifications

ref map<string, Widget> m_VoiceNotifications
protected

◆ m_WidgetTimers

ref map<string, Widget> m_WidgetTimers
protected

◆ m_Width

float m_Width
protected

Definition at line 11 of file notificationui.c.

Referenced by Update(), and UpdateTargetHeight().


The documentation for this class was generated from the following file: