LinkSteam
Methods
public PlayerAccountOperation LinkSteam(string ticket, string identity = "", bool force = false, CancellationToken cancellationToken = default)
Adds Steam authentication to the current player account.
Parameters
| Type | Name | Description |
|---|---|---|
| string | ticket | Steam ticket for the account. |
| string | identity | (Optional) The identifier string that was passed as a parameter to the GetAuthTicketForWebApi method of the Steamworks Web API when the ticket was created. |
| bool | force |
If the Steam account is already linked to another player account, and a
If the Steam account is already linked to another player account, and a WARNING: If the Steam account 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. |