csharp
public readonly record struct UnlockOne thing somebody has, and where it came from.
Remarks
⚠ An order rather than a timestamp. Nothing in this library has a clock, for the same reason nothing in Vixen.Gameplay.Housing does — a collection is a durable row that spends almost all of its life hibernating. A caller that wants dates stamps them on the way into its own store; a counter is what makes "in the order I got them" replay identically.
Fields and properties (4)
public DefId CollectibleWhat.
public UnlockSource SourceHow.
public DefId FromWhat exactly — the boss, the quest, the achievement. None for nothing in particular.
public int OrderThe nth thing they unlocked.
Methods (1)
public Unlock(DefId Collectible, UnlockSource Source, DefId From, int Order)One thing somebody has, and where it came from.
Used by (2)
- CollectionRecordVixen.Gameplay.Collections
- CollectionTestsVixen.Gameplay.Collections.Tests