Skip to content

Add platform play-record operation contracts - #2

Merged
cubevlmu merged 2 commits into
mainfrom
dvj/score-best-api
Sep 30, 2026
Merged

cubevlmu merged 2 commits into
mainfrom
dvj/score-best-api

Conversation

@Denverjin

@Denverjin Denverjin commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Add JSON contracts for a normally settled play and chart-scoped history clearing. Add requests contain the operation ID/reason, party and stamina settings, score breakdown, combo, final life and six judgement totals. Replies identify the inserted/deleted records and return settled profile totals and rewards. Unknown JSON fields are rejected.

These contracts support SiriusServer #14. Merge/build the shared contract first. Documentation is English-first with a Chinese counterpart.

Validation: .NET 8/10 Release builds and a byte-exact native MasterMemory fixture round-trip passed; the matching server changes passed 59 tests with PostgreSQL integration enabled.

中文说明

新增正常结算补录、限定谱面清空历史记录的 JSON 契约。补录请求包含操作号/原因、编队与体力设置、分数拆分、连击、结束生命值和六类判定数量。响应提供新增/删除记录信息、结算后的玩家汇总及奖励。未知 JSON 字段会被拒绝。

配套实现为 SiriusServer #14,请先合并并构建本共享契约。文档采用英文优先并配中文对照。

验证:.NET 8/10 Release 构建以及 MasterMemory 原生测试数据字节一致往返校验通过;配套服务端启用 PostgreSQL 集成测试后的 59 项测试通过。

Denverjin and others added 2 commits September 30, 2026 15:59
Co-authored-by: Codex <codex@openai.com>
Replace direct best-score replacement contracts with per-chart record operations and judgement summaries.

Co-authored-by: Codex <codex@openai.com>
@Denverjin Denverjin changed the title Add best-score query and replacement contracts Add platform play-record operation contracts Sep 30, 2026
@cubevlmu
cubevlmu merged commit f8511e5 into main Sep 30, 2026
1 check passed
@cubevlmu
cubevlmu deleted the dvj/score-best-api branch September 30, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants