Creates a new QuickJoinGameRequest instance.

Namespace: Sfs2X.Requests.Game
Assembly: SmartFox2X (in SmartFox2X.dll) Version: 1.7.3.0 (1.7.3)

Syntax

C#
public QuickJoinGameRequest(
	MatchExpression matchExpression,
	List<string> whereToSearch,
	Room roomToLeave
)

Parameters

matchExpression
Type: Sfs2X.Entities.Match..::..MatchExpression
A matching expression that the system will use to search a Game Room where to join the current user.
whereToSearch
Type: System.Collections.Generic..::..List<(Of <(<'String>)>)>
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.Entities..::..Room
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