feat(all): implement prestige skin switching and starter grants

This commit is contained in:
2026-10-05 19:11:23 +08:00
parent 8a28dd40fb
commit d1af8423d2
9 changed files with 491 additions and 45 deletions
+8
View File
@@ -49,6 +49,14 @@ type state struct {
PortraitCostumeID uint64 `json:"portrait_costume_id"`
AutoReviveCatalyst uint64 `json:"auto_revive_catalyst"`
}
// PortraitCostume exposes the current portrait without changing the frozen deck schema.
func (s *Store) PortraitCostume() uint64 {
s.mu.RLock()
defer s.mu.RUnlock()
return s.state.PortraitCostumeID
}
type Store struct {
mu sync.RWMutex
storage stateio.AtomicEntryStore