Indicates whether the game is public or private.

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

Syntax

C#
public bool IsPublic { get; set; }

Property Value

Type: Boolean

Remarks

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