Click or drag to resize

QuickJoinGameRequest Constructor (MatchExpression, ListRoom, Room)

Creates a new QuickJoinGameRequest instance.

Namespace:  Sfs2X.Requests.Game
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public QuickJoinGameRequest(
	MatchExpression matchExpression,
	List<Room> 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.GenericListRoom
A list of Room objects 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