Click or drag to resize

SFSGameSettingsPlayerMatchExpression Property

Defines the game matching expression to be used to filters players.

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

Property Value

Type: MatchExpression
Remarks
Filtering is applied when:
  1. users try to join a public Game Room as players (their User Variables must match the matching criteria);
  2. the server selects additional users to be invited to join a private game (see the SearchableRooms property).
Filtering is not applied to users invited by the creator to join a private game (see the InvitedPlayers property).

The default value is null.

See Also