GOG GALAXY SDK Documentation
INotificationListener Class Referenceabstract

Listener for the event of receiving a notification. More...

#include <IUtils.h>

Inheritance diagram for INotificationListener:
[legend]

Public Member Functions

virtual void OnNotificationReceived (NotificationID notificationID, uint32_t typeLength, uint32_t contentSize)=0
 Notification for the event of receiving a notification. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from GalaxyTypeAwareListener< NOTIFICATION_LISTENER >
static ListenerType GetListenerType ()
 Returns the type of the listener. More...
 

Detailed Description

Listener for the event of receiving a notification.

Member Function Documentation

◆ OnNotificationReceived()

virtual void OnNotificationReceived ( NotificationID  notificationID,
uint32_t  typeLength,
uint32_t  contentSize 
)
pure virtual

Notification for the event of receiving a notification.

To read the message you need to call IUtils::GetNotification().

Parameters
[in]notificationIDThe ID of the notification.
[in]typeLengthThe size of the type of the notification.
[in]contentSizeThe size of the content of the notification.