ClusterJoinOrCreateRequest Constructor (MatchExpression, ListString, RoomSettings) |
Creates a new ClusterJoinOrCreateRequest instance.
Namespace:
Sfs2X.Requests.Cluster
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public ClusterJoinOrCreateRequest(
MatchExpression matchExpression,
List<string> groupNames,
RoomSettings settings
)
Parameters
- matchExpression
- Type: Sfs2X.Entities.MatchMatchExpression
A matching expression that the system will use to search a Game Room where to join the current user; if null, a new Game Room will be created. - groupNames
- Type: System.Collections.GenericListString
A list of group names to further filter the search; if null, all groups will be searched. - settings
- Type: Sfs2X.RequestsRoomSettings
If no Rooms are found through the matching expression, a new Room with the passed settings will be created and the user will auto-join it.
See Also