Creates a new CreateRoomRequest instance.Namespace: Sfs2X.Requests
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 184.108.40.206 (1.7.0)
public CreateRoomRequest( RoomSettings settings, bool autoJoin, Room roomToLeave )
- Type: Sfs2X.Requests..::..RoomSettings
An object containing the Room configuration settings.
If true, the Room is joined as soon as it is created (default = false).
- Type: Sfs2X.Entities..::..Room
An object representing the Room that should be left if the new Room is auto-joined (default = null).
The instance must be passed to the SmartFox.Send method for the request to be performed.