|
SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
|
Dispatched when data from a server-side Extension is received. More...
#include <SFSEvent.h>
Public Attributes | |
| std::string | cmd |
| The name of the custom command to process. | |
| std::shared_ptr< entities::SFSObject > | params |
| The data sent by the Extension. | |
| net::TransportType | txType |
| The transport used by the Extension: TCP, UDP reliable or UDP unreliable. | |
Dispatched when data from a server-side Extension is received.
The server usually sends this data to one or more clients in response to a requests::ExtensionRequest.
| std::string sfs3::event::ExtensionResponse::cmd |
The name of the custom command to process.
When the Extension replies to a request from this client, it is common practice to reuse the command name of that request.