![]() |
SmartFoxServer 2X C++ API
|
Sends a request to a Zone or Room Extension. More...
#include <ExtensionRequest.h>
Inherits Sfs2X::Requests::BaseRequest.
Public Member Functions | |
| ExtensionRequest (string extCmd, boost::shared_ptr< ISFSObject > parameters, boost::shared_ptr< Room > room, bool useUDP) | |
| Constructor More... | |
| ExtensionRequest (string extCmd, boost::shared_ptr< ISFSObject > parameters, boost::shared_ptr< Room > room) | |
| ExtensionRequest(string, boost::shared_ptr<ISFSObject>, boost::shared_ptr<Room>, bool) More... | |
| ExtensionRequest (string extCmd, boost::shared_ptr< ISFSObject > parameters) | |
| ExtensionRequest(string, boost::shared_ptr<ISFSObject>, boost::shared_ptr<Room>, bool) More... | |
Sends a request to a Zone or Room Extension.
Each request to an extension is characterized by two parameters:
| Sfs2X::Requests::ExtensionRequest::ExtensionRequest | ( | string | extCmd, |
| boost::shared_ptr< ISFSObject > | parameters, | ||
| boost::shared_ptr< Room > | room, | ||
| bool | useUDP | ||
| ) |
Constructor
| extCmd | the command name |
| parameters | the custom extension request data |
| room | when specified it will send the request to the Room Extension. The user must be joined in that Room. |
| useUDP | (optional) uses UDP to send the request |
| Sfs2X::Requests::ExtensionRequest::ExtensionRequest | ( | string | extCmd, |
| boost::shared_ptr< ISFSObject > | parameters, | ||
| boost::shared_ptr< Room > | room | ||
| ) |
| Sfs2X::Requests::ExtensionRequest::ExtensionRequest | ( | string | extCmd, |
| boost::shared_ptr< ISFSObject > | parameters | ||
| ) |