Expand description
Save schema V2 — adds the version field, per-fingerer modifiers, and
Green-Coin spawn pity counter.
FROZEN. Subsequent schema changes go in v3.rs together with a
From<GameStateV2> for GameStateV3 conversion and a unit test. The
only edit allowed here after freeze is making into_current chain
through the next version, which we do because the live GameState
shape no longer has goldens_since_green_coin.
Each persisted enum/struct has a frozen V2 copy here so future changes
to the live types in crate::game::modifier and crate::game::state
can’t retroactively reshape what V2 means on disk.
Structs§
Enums§
- BuffV2
- V2 mirror of
Buff. After Phase 3 of #21 the liveBuffcarries only click-side variants — per-fingerer multipliers live on the modifier system instead. V2’s frozen shape matches that: the V1→V2 conversion absorbsBuffV1::FingererBoostinto per-fingerer modifiers beforeBuffV2ever sees them. - Modifier
Duration V2 - Modifier
Effect V2 - Modifier
Source V2