GOG GALAXY SDK Documentation
IOperationalStateChangeListener Class Referenceabstract

Listener for the event of a change of the operational state. More...

#include <IUser.h>

Inheritance diagram for IOperationalStateChangeListener:
[legend]

Public Types

enum  OperationalState { OPERATIONAL_STATE_SIGNED_IN = 0x0001 , OPERATIONAL_STATE_LOGGED_ON = 0x0002 }
 Aspect of the operational state. More...
 

Public Member Functions

virtual void OnOperationalStateChanged (uint32_t operationalState)=0
 Notification for the event of a change of the operational state. More...
 

Additional Inherited Members

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

Detailed Description

Listener for the event of a change of the operational state.

Member Enumeration Documentation

◆ OperationalState

Aspect of the operational state.

Enumerator
OPERATIONAL_STATE_SIGNED_IN 

User signed in.

OPERATIONAL_STATE_LOGGED_ON 

User logged on.

Member Function Documentation

◆ OnOperationalStateChanged()

virtual void OnOperationalStateChanged ( uint32_t  operationalState)
pure virtual

Notification for the event of a change of the operational state.

Parameters
[in]operationalStateThe sum of the bit flags representing the operational state, as defined in IOperationalStateChangeListener::OperationalState.