Edit

Share via


Lobby.SendInvite

Method (1 of 2)

Send an invite to this lobby from the local user to the invited entity.

public void SendInvite(PFEntityKey sender, PFEntityKey invitee)
parameter description
sender The local user sending the invite.
invitee The invited entity.

Remarks (1 of 2)

This is an asynchronous operation. Upon successful completion, the title will be provided a OnLobbySendInviteCompleted with the OnLobbySendInviteCompleted result field set to Success. Upon a failed completion, the title will be provided a OnLobbySendInviteCompleted with the OnLobbySendInviteCompleted result field set to a failed error code.

The sender must be a local user of this lobby which joined from this client.


Method (2 of 2)

Send an invite to this lobby from the local user to the invited entity.

public void SendInvite(PlayFabAuthenticationContext sender, PFEntityKey invitee)
parameter description
sender The local user sending the invite.
invitee The invited entity.

Remarks (2 of 2)

This is an asynchronous operation. Upon successful completion, the title will be provided a OnLobbySendInviteCompleted with the OnLobbySendInviteCompleted result field set to Success. Upon a failed completion, the title will be provided a OnLobbySendInviteCompleted with the OnLobbySendInviteCompleted result field set to a failed error code.

The sender must be a local user of this lobby which joined from this client.

See Also