Xenon
A framework for cheat development.
 
Loading...
Searching...
No Matches
CNotificationService Class Reference

Notification service component. More...

#include <notification_service.hpp>

Inheritance diagram for CNotificationService:
Collaboration diagram for CNotificationService:

Public Member Functions

void RenderNotifications ()
 Render notifications.
 
void RemoveQueuedNotification (int nIndex)
 Remove a queued notification.
 
void Notify (std::string title, std::string message)
 Notify.
 
void SetFonts (ImFont *imFont, ImFont *imLogo)
 Set fonts.
 
- Public Member Functions inherited from CComponent
virtual void Init ()
 Will be executed when the component is initialized.
 
virtual void Update ()
 If Update loop enabled, this function will be executed every frame.
 
virtual void UpdateCurrentTarget (TargetProfile *target)
 If Update loop enabled, this function will be executed every frame for each target.
 
virtual ~CComponent ()=default
 

Additional Inherited Members

- Public Attributes inherited from CComponent
std::shared_ptr< Xenong_pXenon
 
std::shared_ptr< XenonVariablesg_pXenonVariables
 
std::shared_ptr< XenonConfigg_pXenonConfigs
 

Detailed Description

Notification service component.

This component is responsible for displaying notifications.

Member Function Documentation

◆ Notify()

void CNotificationService::Notify ( std::string  title,
std::string  message 
)

Notify.

Parameters
titleTitle of the notification.
messageMessage of the notification.

◆ RemoveQueuedNotification()

void CNotificationService::RemoveQueuedNotification ( int  nIndex)

Remove a queued notification.

Parameters
nIndexIndex of the notification to remove.

◆ RenderNotifications()

void CNotificationService::RenderNotifications ( )

Render notifications.

◆ SetFonts()

void CNotificationService::SetFonts ( ImFont *  imFont,
ImFont *  imLogo 
)
inline

Set fonts.

Parameters
imFontFont.
imLogoLogo font.

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