UNPKG

nodesu

Version:
18 lines (15 loc) 394 B
'use strict'; 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;