Files
bs-manager/src/shared/models/maps/raw-map.model.ts
T

40 lines
1.1 KiB
TypeScript

import { SongDetailDiffCharactertistic, SongDiffName } from "./song-details-cache.model";
export interface RawMapInfoData<T = unknown> {
_version: string;
_songName: string;
_songSubName: string;
_songAuthorName: string;
_levelAuthorName: string;
_beatsPerMinute: number;
_shuffle: number;
_shufflePeriod: number;
_previewStartTime: number;
_previewDuration: number;
_songFilename: string;
_coverImageFilename: string;
_environmentName: string;
_allDirectionsEnvironmentName: string;
_songTimeOffset: number;
_customData: T;
_difficultyBeatmapSets: RawDifficultySet[];
}
export interface RawDifficultySet {
_beatmapCharacteristicName: SongDetailDiffCharactertistic;
_difficultyBeatmaps: RawMapDifficulty[];
}
export interface RawMapDifficulty {
_difficulty: SongDiffName;
_difficultyRank: string;
_beatmapFilename: string;
_noteJumpMovementSpeed: number;
_noteJumpStartBeatOffset: number;
_customData?: RawMapDifficultyCustomData;
}
export interface RawMapDifficultyCustomData {
_difficultyLabel?: string;
}