Vixen
c7401864
csharp
public record class AccountUnlock

One thing an account has, and where it came from.

Read the guide page for this →

Remarks

⚠ An address and a number, and deliberately nothing about pets or mounts. Doc 28 § Collections says its whole mechanism is "a set of unlocked DefIds with an unlock source recorded" — so that is exactly what the control plane carries, and IAccountGrain never learns what a collectible is. A game that declined doc 28's libraries still has accounts, and the cluster contract should not make it link them.

The address rather than the hash, because a DefId is one-way: support asking "what is 0x9A3C1F04" of a durable row has nowhere to look, and the row outlives the build that could have told them.

Fields and properties (4)

  • public string Address

    What was unlocked — collect/mount/gryphon.

  • public string Source

    How they came by it, as doc 28's UnlockSource names it.

  • public string From

    What exactly — the boss, the quest, the achievement. Empty for nothing in particular.

  • public int Order

    The nth thing this account unlocked.

Methods (1)

  • public AccountUnlock(string Address, string Source, string From, int Order)

    One thing an account has, and where it came from.

Used by (5)

  • AccountGrainVixen.Live.Orchestrator
  • AccountHoldingsVixen.Live.Cluster
  • AccountStateVixen.Live.Orchestrator
  • AccountStateTestsVixen.Live.Orchestrator.Tests
  • IAccountGrainVixen.Live.Cluster