CreateRoomRequest Constructor (RoomSettings, Boolean, Room) |
Creates a new CreateRoomRequest instance.
Namespace:
Sfs2X.Requests
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public CreateRoomRequest(
RoomSettings settings,
bool autoJoin,
Room roomToLeave
)
Parameters
- settings
- Type: Sfs2X.RequestsRoomSettings
An object containing the Room configuration settings. - autoJoin
- Type: SystemBoolean
If true, the Room is joined as soon as it is created (default = false). - roomToLeave
- Type: Sfs2X.EntitiesRoom
An object representing the Room that should be left if the new Room is auto-joined (default = null).
Remarks
The instance must be passed to the
SmartFox.Send method for the request to be performed.
See Also