Interface: Account
Defined in: client/accounts.ts:32
The signed-in player's own account, as GET /me returns it.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
id | string | The player id. A guest who registered keeps theirs. | client/accounts.ts:34 |
name | string | The account name. | client/accounts.ts:36 |
email | string | null | The email address, if one was given. | client/accounts.ts:38 |
createdAt | number | When the account was made, in epoch milliseconds. | client/accounts.ts:40 |
recoveryCode | boolean | Whether the account has a recovery code. | client/accounts.ts:42 |
data | Record<string, unknown> | Every data key the player has, private ones included. | client/accounts.ts:44 |
stats | Record<string, number> | Every stat the player has. | client/accounts.ts:46 |