QuickJoinGameRequest Constructor (MatchExpression, ListString, Room) |
Creates a new QuickJoinGameRequest instance.
Namespace:
Sfs2X.Requests.Game
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public QuickJoinGameRequest(
MatchExpression matchExpression,
List<string> whereToSearch,
Room roomToLeave
)
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. - whereToSearch
- Type: System.Collections.GenericListString
A list of Group names to which the matching expression should be applied. The maximum number of elements in this list is 32. - roomToLeave
- Type: Sfs2X.EntitiesRoom
An object representing the Room that the user should leave when joining the game. Default is null.
Remarks
The instance must be passed to the
SmartFox.Send method for the request to be performed.
See Also