SetDisplayInfo
method in Coherence.Cloud.PlayerAccount
Methods
public PlayerAccountOperation SetDisplayInfo(string displayName, string avatarUrl = "", CancellationToken cancellationToken = default)
Assign a display name and an optional avatar image URL to the current player account.
Parameters
Type | Name | Description |
---|---|---|
string | displayName | Display name for the current account. |
string | avatarUrl | (Optional) Web address to an avatar image for the account. |
CancellationToken | cancellationToken | Can be used to cancel the operation. |
Returns
Type | Description |
---|---|
PlayerAccountOperation | Result of the operation. |