Click or drag to resize

SFSGameSettingsLeaveLastJoinedRoom Property

In private games, indicates whether the players must leave the previous Room when joining the game or not.

Namespace:  Sfs2X.Requests.Game
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public bool LeaveLastJoinedRoom { get; set; }

Property Value

Type: Boolean
Remarks
This setting applies to private games only because users join the Game Room automatically when they accept the invitation to play, while public games require a JoinRoomRequest request to be sent, where this behavior can be determined manually.

The default value is true.

See Also