Click or drag to resize

InvitationReplyRequest Constructor (Invitation, InvitationReply, ISFSObject)

Creates a new InvitationReplyRequest instance.

Namespace:  Sfs2X.Requests.Game
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public InvitationReplyRequest(
	Invitation invitation,
	InvitationReply reply,
	ISFSObject parameters
)

Parameters

invitation
Type: Sfs2X.Entities.InvitationInvitation
An instance of the Invitation class containing the invitation details (inviter, custom parameters, etc).
reply
Type: Sfs2X.Entities.InvitationInvitationReply
The answer to be sent to the inviter, among those available as constants in the InvitationReply class.
parameters
Type: Sfs2X.Entities.DataISFSObject
An instance of SFSObject containing custom parameters to be returned to the inviter together with the reply (for example a message describing the reason of refusal). Default is null.
Remarks
The instance must be passed to the SmartFox.Send method for the request to be performed.
See Also