函数: chartMapKey()
ts
function chartMapKey(
songId,
type,
difficulty): string;定义于: score-key.ts:43
从离散字段拼 key(与 scoreMapKey 结果一致)。
参数
| 参数 | 类型 | 描述 |
|---|---|---|
songId | number | 曲目 id |
type | SongType | 谱面类型(standard / dx / …) |
difficulty | number | 难度下标(LevelIndex 或 number) |
返回
string
"{songId}:{type}:{difficulty}"
示例
ts
chartMapKey(11451, "dx", LevelIndex.MASTER); // "11451:dx:3"