SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
Loading...
Searching...
No Matches
sfs3::event::ObjectMessage Struct Reference

Dispatched when an object with custom data is received from another user in one of the joined Rooms. More...

#include <SFSEvent.h>

Public Attributes

std::shared_ptr< entities::Usersender
 The user who sent the message.
std::shared_ptr< entities::SFSObjectdata
 The content of the message: the custom parameters put there by the sender.

Detailed Description

Dispatched when an object with custom data is received from another user in one of the joined Rooms.

It is caused by a requests::ObjectMessageRequest. Unlike the chat messages, this one is not echoed back to its sender.

See also
requests::ObjectMessageRequest
entities::User

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