nodesu
Version:
a node.js osu! api wrapper
18 lines (15 loc) • 394 B
JavaScript
;
const BeatmapScore = require('./BeatmapScore');
/**
* Score for an user class
* @memberof module:CustomClasses
* @extends BeatmapScore
* @property {Number} beatmapId The beatmap ID of the song played
*/
class UserScore extends BeatmapScore {
constructor(data) {
super(data);
this.beatmapId = Number(data.beatmap_id);
}
}
module.exports = UserScore;