Vixen
c7401864
csharp
public sealed class AccountGrain

One account, keyed by the account's own guid.

Read the guide page for this →

Remarks

⚠ Keyed by the account and not by the character, which is the whole reason it exists beside IPlayerGrain rather than being folded into it. PlayerKey.Account is the guid to use.

Methods (4)

  • public Task<AccountHoldings> Holdings()

    Everything this account owns.

  • public Task<bool> Unlock(AccountUnlock unlock)

    Gives the account something.

  • public Task<bool> Earn(string address, int points)

    Records an achievement and what it is worth.

  • public Task<bool> Revoke(string address)

    Takes something back — a refund, a season ending, a mistake.