接口: UpgradeBoardData
定义于: packages/draw/src/types.ts:354
加分推荐板数据。
候选应由全曲成绩(非仅 B50)配合曲目定数算出。
示例
以 analysis 为例(宿主侧)
ts
// entries: 全曲 getScores() + buildSongLevelMap 补定数
const candidates = rankBestsUpgradeCandidates(entries, {
currentBests: bests,
isNewSong,
minRate: "sssp", // 目标至少 SSS+
limit: 10,
});
const board: UpgradeBoardData = {
candidates,
};属性
| 属性 | 类型 | 描述 | 定义于 |
|---|---|---|---|
candidates | readonly UpgradeCandidate[] | 已按 B50 增量排好序的候选(draw 不再排序);gain 建议为 B50 总分增量 | packages/draw/src/types.ts:356 |
