|
SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
|
Dispatched when the current user receives a message from an administrator. More...
#include <SFSEvent.h>
Public Attributes | |
| std::shared_ptr< entities::User > | sender |
| The administrator who sent the message. | |
| std::string | message |
| The message. | |
| std::shared_ptr< entities::SFSObject > | data |
| The custom parameters the administrator attached to the message, or nullptr if none. | |
Dispatched when the current user receives a message from an administrator.
It is caused by a requests::AdminMessageRequest, sent by a user with administration privileges.
sender is always a detached snapshot, for the same reason as in ModeratorMessage.