Interface Match

interface Match {
    games: {
        beatmap_id: number;
        end_time: null | Date;
        game_id: number;
        match_type: number;
        mods: number;
        play_mode: number;
        scores: {
            count100: number;
            count300: number;
            count50: number;
            countgeki: number;
            countkatu: number;
            countmiss: number;
            enabled_mods: null | number;
            maxcombo: number;
            pass: boolean;
            perfect: boolean;
            rank: number;
            score: number;
            slot: number;
            team: number;
            user_id: number;
        }[];
        scoring_type: number;
        start_time: Date;
        team_type: number;
    }[];
    match: {
        end_time: null | Date;
        match_id: number;
        name: string;
        start_time: Date;
    };
}

Properties

Properties

games: {
    beatmap_id: number;
    end_time: null | Date;
    game_id: number;
    match_type: number;
    mods: number;
    play_mode: number;
    scores: {
        count100: number;
        count300: number;
        count50: number;
        countgeki: number;
        countkatu: number;
        countmiss: number;
        enabled_mods: null | number;
        maxcombo: number;
        pass: boolean;
        perfect: boolean;
        rank: number;
        score: number;
        slot: number;
        team: number;
        user_id: number;
    }[];
    scoring_type: number;
    start_time: Date;
    team_type: number;
}[]

Type declaration

  • beatmap_id: number
  • end_time: null | Date
  • game_id: number
  • match_type: number
  • mods: number

    Bitwise flag, feel free to use getMods to see the mods in a more readable way! Do note that individual scores have a nullable enabled_mods property

  • play_mode: number
  • scores: {
        count100: number;
        count300: number;
        count50: number;
        countgeki: number;
        countkatu: number;
        countmiss: number;
        enabled_mods: null | number;
        maxcombo: number;
        pass: boolean;
        perfect: boolean;
        rank: number;
        score: number;
        slot: number;
        team: number;
        user_id: number;
    }[]
  • scoring_type: number
  • start_time: Date
  • team_type: number
match: {
    end_time: null | Date;
    match_id: number;
    name: string;
    start_time: Date;
}

Has the info about the match that is not related to what's been played

Type declaration

  • end_time: null | Date

    If the match is not disbanded, null

  • match_id: number
  • name: string
  • start_time: Date

Generated using TypeDoc