Click or drag to resize

SFSGameSettingsInvitedPlayers Property

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

Namespace:  Sfs2X.Requests.Game
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public List<Object> InvitedPlayers { get; set; }

Property Value

Type: ListObject
Remarks
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 an empty list.

See Also