Skip to main content

Module v1

Module v1 

Source
Expand description

Save schema V1 — the pre-versioned shape that shipped on main.

FROZEN. Do not edit this file except to fix a migration bug. New schema changes go in v2.rs together with a From<GameStateV1> for GameStateV2 conversion.

V1 is structurally identical to today’s live GameState, but kept as a standalone copy so future divergence (V2 introduces per-fingerer modifiers, V3 inevitably something else) doesn’t have to read the current code to know what V1 looked like.

Structs§

GameStateV1
V1 game-state snapshot. Holds only the persisted fields — everything #[serde(skip)] on the live GameState is ephemeral and gets seeded by migrate_runtime() after the chain finishes.

Enums§

BuffV1
V1 mirror of Buff. Frozen at the shape it had when V1 shipped: click-frenzy and per-fingerer-boost variants only. The FingererBoost variant is consumed by the V1→V2 chain step (super::v2); the V1 snapshot itself stays unchanged.