Class ScoreInfo

A score information.

Hierarchy (view full)

Implements

Constructors

Properties

beatmap: null | IBeatmapInfo = null

Beatmap of the play.

beatmapHashMD5: string = ''

Beatmap MD5 hash.

beatmapId: number = 0

Beatmap ID.

date: Date = ...

The date when this play was set.

id: number = 0

A score ID.

maxCombo: number = 0

Max combo of the play.

passed: boolean = false

Whether the map was passed or not. Score rank will always be F on passed = false.

perfect: boolean = false

Perfect combo or not?

statistics: HitStatistics = ...

Hit statistics.

totalPerformance: null | number = null

The performance of the play.

totalScore: number = 0

Total score of the play.

userId: number = 0

User ID of the player who set this play.

username: string = ''

Username of the player who set this play.

Accessors

  • get rawMods(): string | number
  • Raw mods of the play that are neutral to any of the rulesets. This can be either bitwise or stringified mod combination. ScoreInfo can't work with mod combinations without an actual ruleset instance. TODO: Implement it in a better way???

    Returns string | number

  • set rawMods(value): void
  • Raw mods of the play.

    Parameters

    • value: string | number

    Returns void

Methods