store bl score and leaderboard id
This commit is contained in:
parent
2fc8b265d2
commit
75f79e34b7
@ -195,6 +195,8 @@ export class ScoreService {
|
||||
songHash: leaderboard.song.hash.toUpperCase(),
|
||||
songDifficulty: difficultyKey,
|
||||
songScore: score.baseScore,
|
||||
scoreId: score.id,
|
||||
leaderboardId: leaderboard.id,
|
||||
misses: {
|
||||
misses: getMisses(score),
|
||||
missedNotes: score.missedNotes,
|
||||
|
@ -52,6 +52,18 @@ export class AdditionalScoreData {
|
||||
// Above data is only so we can fetch it
|
||||
// --------------------------------
|
||||
|
||||
/**
|
||||
* The BeatLeader score id for this score.
|
||||
*/
|
||||
@prop({ required: false })
|
||||
public scoreId!: number;
|
||||
|
||||
/**
|
||||
* The BeatLeader leaderboard id for this score.
|
||||
*/
|
||||
@prop({ required: false })
|
||||
public leaderboardId!: string;
|
||||
|
||||
/**
|
||||
* The amount of pauses in the play.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user