Table of Contents

InviteAsync

Methods
public Task InviteAsync(PlayerAccountId player, CancellationToken cancellationToken = default)

Invites a player to this Lobby.

Parameters
Type Name Description
PlayerAccountId player

The player to invite.

CancellationToken cancellationToken

Optional parameter to cancel the request.

Returns
Type Description
Task
Remarks

Inviting too often (currently over 60 an hour) fails with Coherence.Runtime.ErrorCode.LobbyRateLimited.

See Also