In private games, defines a list of User objects representing players to be invited to join the game.

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


public List<Object> InvitedPlayers { get; set; }

Property Value

Type: List<(Of <(<'Object>)>)>


If the invitations are less than the minimum number of players required to start the game (see the MinPlayersToStartGame property), the server will send additional invitations automatically, searching users in the Room Groups specified in the SearchableRooms list and filtering them by means of the object passed to the PlayerMatchExpression property.

The game matching criteria contained in the PlayerMatchExpression property do not apply to the users specified in this list.

The default value is null.

See Also