Skip to content

Type Alias: Ruleset ​

Ruleset = object

Defined in: src/schema/types.ts:186

A game ruleset (osu!, osu!taiko, osu!catch, osu!mania).

ts
import type { Ruleset } from 'osu-files'

const ruleset = db.rulesets.get.first()
return ruleset?.Name

Properties ​

Available ​

Available: boolean

Defined in: src/schema/types.ts:196

InstantiationInfo? ​

optional InstantiationInfo?: string

Defined in: src/schema/types.ts:194

LastAppliedDifficultyVersion ​

LastAppliedDifficultyVersion: number

Defined in: src/schema/types.ts:198

Name? ​

optional Name?: string

Defined in: src/schema/types.ts:192

OnlineID ​

OnlineID: number

Defined in: src/schema/types.ts:190

ShortName? ​

optional ShortName?: string

Defined in: src/schema/types.ts:188

Released under the MIT License.