SmartFoxServer 2X C++ API
|
Creates a new Room in the current Zone More...
#include <CreateRoomRequest.h>
Inherits Sfs2X::Requests::BaseRequest.
Public Member Functions | |
CreateRoomRequest (boost::shared_ptr< RoomSettings > settings, bool autoJoin, boost::shared_ptr< Room > roomToLeave) | |
Constructor More... | |
CreateRoomRequest (boost::shared_ptr< RoomSettings > settings, bool autoJoin) | |
CreateRoomRequest(boost::shared_ptr<RoomSettings>, bool, boost::shared_ptr<Room>) More... | |
CreateRoomRequest (boost::shared_ptr< RoomSettings > settings) | |
CreateRoomRequest(boost::shared_ptr<RoomSettings>, bool, boost::shared_ptr<Room>) More... | |
Creates a new Room in the current Zone
Sfs2X::Requests::CreateRoomRequest::CreateRoomRequest | ( | boost::shared_ptr< RoomSettings > | settings, |
bool | autoJoin, | ||
boost::shared_ptr< Room > | roomToLeave | ||
) |
Constructor
The instance must be passed to the SmartFox.Send method for the request to be performed.
settings | the new room settings, see RoomSettings for all the details |
autoJoin | if true the Room will be joined as soon as it is created |
roomToLeave | indicates which Room should be left once the join has succeeded |
Sfs2X::Requests::CreateRoomRequest::CreateRoomRequest | ( | boost::shared_ptr< RoomSettings > | settings, |
bool | autoJoin | ||
) |
Sfs2X::Requests::CreateRoomRequest::CreateRoomRequest | ( | boost::shared_ptr< RoomSettings > | settings | ) |