LinkGuest
method in Coherence.Cloud.PlayerAccount
Methods
public PlayerAccountOperation LinkGuest(GuestId guestId, bool force = false, CancellationToken cancellationToken = default)
Links the guest id to the current player account.
Parameters
Type | Name | Description |
---|---|---|
GuestId | guestId | GuestId to link to the player account. |
bool | force |
If the guest id is already linked to another player account, and a
If the guest id is already linked to another player account, and a WARNING: If the guest id is unlinked from another player account, and that other player account has no other authentication methods set up, then access to that player account will be lost. |
CancellationToken | cancellationToken | Can be used to cancel the operation. |
Returns
Type | Description |
---|---|
PlayerAccountOperation | Result of the operation. |