Creates a new LeaveRoomRequest instance.Namespace: Sfs2X.Requests
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 184.108.40.206 (1.7.0)
public LeaveRoomRequest( Room room )
- Type: Sfs2X.Entities..::..Room
The Room object corresponding to the Room that the current user must leave. If null, the last Room joined by the user is left (default = null).
The instance must be passed to the SmartFox.Send method for the request to be performed.