Module upgrades

Source
Expand description

Capped upgrade ranks and distinct seeded offers. The host defines rank effects.

Upgrades retains the original host-managed spending policy. UpgradeChoices optionally owns ranks, earned points and one cached offer together. Existing games, including Neon’s automatic upgrade, are unchanged.

Structs§

AcceptedUpgrade
Observation of one committed rank and one spent point, not a reward token.
UpgradeChoices
Optional bounded owner of ranks, earned points and one active choice set.
UpgradeOffer
Read-only fixed-storage offer snapshot. Only its session can accept it.
UpgradeOfferId
Identity within one caller-scoped choice-session namespace.
UpgradeReset
Discarded state returned by UpgradeChoices::reset, never an award.
Upgrades

Enums§

UpgradeChoiceError
Choice-session failures, each leaving ranks, points and pending offer intact.