Click or drag to resize

ClusterInviteUsersRequest Constructor

Creates a new ClusterInviteUsersRequest instance.

Namespace:  Sfs2X.Requests.Cluster
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public ClusterInviteUsersRequest(
	ClusterTarget target,
	List<Object> invitedUsers,
	int secondsForReply,
	ISFSObject parameters
)

Parameters

target
Type: Sfs2X.Requests.ClusterClusterTarget
An instance of ClusterTarget containing the identifiers of the Game Node and Room the users are invited to join.
invitedUsers
Type: System.Collections.GenericListObject
A list of objects representing the users to send the invitation to.
secondsForReply
Type: SystemInt32
The number of seconds available to each invited user to reply to the invitation (recommended range: 15 to 40 seconds).
parameters
Type: Sfs2X.Entities.DataISFSObject
An instance of SFSObject containing custom parameters which specify the invitation details.
Remarks
The instance must be passed to the SmartFox.Send method for the request to be performed.
See Also