This commit is contained in:
parent
139b3bf06d
commit
7b1d4a73a5
@ -18,16 +18,6 @@ public class ScoreResponse {
|
|||||||
*/
|
*/
|
||||||
private String scoreId;
|
private String scoreId;
|
||||||
|
|
||||||
/**
|
|
||||||
* The ID of the player who set the score.
|
|
||||||
*/
|
|
||||||
private ScoreSaberAccount player;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The ID of the leaderboard.
|
|
||||||
*/
|
|
||||||
private Leaderboard leaderboard;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The PP of the score.
|
* The PP of the score.
|
||||||
*/
|
*/
|
||||||
@ -83,6 +73,16 @@ public class ScoreResponse {
|
|||||||
*/
|
*/
|
||||||
private Double accuracy;
|
private Double accuracy;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The ID of the player who set the score.
|
||||||
|
*/
|
||||||
|
private ScoreSaberAccount player;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The ID of the leaderboard.
|
||||||
|
*/
|
||||||
|
private Leaderboard leaderboard;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The timestamp of the score.
|
* The timestamp of the score.
|
||||||
*/
|
*/
|
||||||
|
@ -78,8 +78,6 @@ public class TrackedScoreService {
|
|||||||
|
|
||||||
scores.add(new ScoreResponse(
|
scores.add(new ScoreResponse(
|
||||||
trackedScore.getScoreId(),
|
trackedScore.getScoreId(),
|
||||||
user.getScoresaberAccount(),
|
|
||||||
leaderboard,
|
|
||||||
trackedScore.getPp(),
|
trackedScore.getPp(),
|
||||||
trackedScore.getRank(),
|
trackedScore.getRank(),
|
||||||
trackedScore.getScore(),
|
trackedScore.getScore(),
|
||||||
@ -91,6 +89,8 @@ public class TrackedScoreService {
|
|||||||
trackedScore.getBadCuts(),
|
trackedScore.getBadCuts(),
|
||||||
trackedScore.getMaxCombo(),
|
trackedScore.getMaxCombo(),
|
||||||
trackedScore.getAccuracy(),
|
trackedScore.getAccuracy(),
|
||||||
|
user.getScoresaberAccount(),
|
||||||
|
leaderboard,
|
||||||
trackedScore.getTimestamp()
|
trackedScore.getTimestamp()
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user