Interface WithUserBeatmapBeatmapset

API.getUserScores

interface WithUserBeatmapBeatmapset {
    accuracy: number;
    beatmap: Beatmap.Extended;
    beatmap_id: number;
    beatmapset: Beatmapset;
    best_id: null | number;
    build_id: null | number;
    classic_total_score: number;
    current_user_attributes: {
        pin: null | boolean;
    };
    ended_at: Date;
    has_replay: boolean;
    id: number;
    is_perfect_combo: boolean;
    legacy_perfect: boolean;
    legacy_score_id: null | number;
    legacy_total_score: number;
    max_combo: number;
    maximum_statistics: Score.Statistics;
    mods: Mod[];
    passed: boolean;
    pp: null | number;
    preserve: boolean;
    rank: string;
    ranked: boolean;
    replay: boolean;
    ruleset_id: Ruleset;
    started_at: null | Date;
    statistics: Score.Statistics;
    total_score: number;
    type: "solo_score";
    user: User;
    user_id: number;
    weight?: {
        percentage: number;
        pp: number;
    };
}

Hierarchy (view full)

  • Score
    • WithUserBeatmapBeatmapset

Properties

accuracy: number

In a format where 96.40% would be 0.9640 (and maybe some numbers afterwards)

beatmap: Beatmap.Extended
beatmap_id: number
beatmapset: Beatmapset
best_id: null | number
build_id: null | number

Is null if the score has not been set on lazer

classic_total_score: number
current_user_attributes: {
    pin: null | boolean;
}
ended_at: Date
has_replay: boolean
id: number

Would be null if ScoreV2 on stable, for example

is_perfect_combo: boolean
legacy_perfect: boolean
legacy_score_id: null | number

Is null if the score has been set on lazer

legacy_total_score: number
max_combo: number
maximum_statistics: Score.Statistics
mods: Mod[]
passed: boolean
pp: null | number

Is null when Beatmap is Loved (for example)

preserve: boolean
rank: string

Also known as a grade, for example this is X (SS) if accuracy is 1 (100.00%)

ranked: boolean
replay: boolean
ruleset_id: Ruleset
started_at: null | Date
statistics: Score.Statistics
total_score: number
type

Score format

user: User
user_id: number
weight?: {
    percentage: number;
    pp: number;
}

Only if type is set to best on API.getUserScores