Interface IScoreInfo

A score information.

interface IScoreInfo {
    accuracy: number;
    beatmap: null | IBeatmapInfo;
    beatmapHashMD5: string;
    beatmapId: number;
    count100: number;
    count300: number;
    count50: number;
    countGeki: number;
    countKatu: number;
    countMiss: number;
    date: Date;
    id: number;
    maxCombo: number;
    mods: null | ModCombination;
    passed: boolean;
    perfect: boolean;
    rank: "F" | "S" | "C" | "A" | "B" | "D" | "SH" | "X" | "XH";
    rawMods: string | number;
    ruleset: null | IRuleset;
    rulesetId: number;
    statistics: HitStatistics;
    totalHits: number;
    totalPerformance: null | number;
    totalScore: number;
    userId: number;
    username: string;
    toJSON(): IJsonableScoreInfo;
}

Implemented by

Properties

accuracy: number

Total accuracy of the play.

beatmap: null | IBeatmapInfo

Beatmap of the play.

beatmapHashMD5: string

Beatmap MD5 hash.

beatmapId: number

Beatmap ID.

count100: number

Number of 100s in standard, 150s in Taiko, 100s in CTB, 100s in mania.

count300: number

Number of 300s.

count50: number

Number of 50s in standard, small fruit in CTB, 50s in mania.

countGeki: number

Number of Gekis in standard, Max 300s in mania.

countKatu: number

Number of Katus in standard, 200s in mania.

countMiss: number

Number of misses.

date: Date

The date when this play was set.

id: number

A score ID.

maxCombo: number

Max combo of the play.

mods: null | ModCombination

Mods of the play.

passed: boolean

Whether the map was passed or not.

perfect: boolean

Perfect combo or not?

rank: "F" | "S" | "C" | "A" | "B" | "D" | "SH" | "X" | "XH"

A rank of the play.

rawMods: string | number

Raw mods of the play.

ruleset: null | IRuleset

Ruleset instance.

rulesetId: number

Ruleset ID of the play.

statistics: HitStatistics

Hit statistics.

totalHits: number

Total hits of a score.

totalPerformance: null | number

The performance of the play.

totalScore: number

Total score of the play.

userId: number

User ID of the player who set this play.

username: string

Username of the player who set this play.

Methods