Method UpdatePlayerNameAsync
UpdatePlayerNameAsync(string)
Updates the player name of the logged in player.
Declaration
Task<string> UpdatePlayerNameAsync(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | The new name for the player. It must not contain spaces. |
Returns
Type | Description |
---|---|
Task<string> | Task for the operation with the resulting player name |
Exceptions
Type | Condition |
---|---|
AuthenticationException | The task fails with the exception when the task cannot complete successfully due to Authentication specific errors.
|
RequestFailedException | The task fails with the exception when the task cannot complete successfully.
|