Indicates whether the game is public or private.

Namespace: Sfs2X.Requests.Game
Assembly: SmartFox2X (in SmartFox2X.dll) Version: (1.7.3)


public bool IsPublic { get; set; }

Property Value

Type: Boolean


A public game can be joined by any player whose User Variables match the PlayerMatchExpression assigned to the Game Room. A private game can be joined by users invited by the game creator by means of InvitedPlayers list.

The default value is true.

See Also