Implement PlayerStore wrapping signal<PlayerState> for player account data. Adds applyLogin(raw) to fill state from login response A group, with: - Mandatory fields get default 0/'' if missing (never undefined) - Optional fields (openid/unionid/province/city) only set if present - Immutable updates via spread operator - Notifies subscribers on state change Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
framework — 框架真源(唯一权威副本)
各子游戏工程的 assets/framework 是指向本目录的 junction(见 scripts/setup-links.mjs)。
六层结构(依赖严格单向,详见 spec §3):core / net / protocol / platform / ui / sdk。
协议相关实现一律以 docs/protocol/ 为唯一信息源(spec §0.1),不在代码或注释中内联复制协议字段。