You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicclassBeatmapSetInfo// db bound{[PrimaryKey]publicintBeatmapSetID{get;set;}[sqlite-net-extensions ormy stuff goes here]publicBeatmapMetadataMetadata{get;set;}publicstringHash{get;set;}publicstringPath{get;set;}}publicclassBeatmapInfo// db bound{[PrimaryKey]publicintBeatmapID{get;set;}[ormy stuff]publicBeatmapMetadataMetadata{get;set;}[ormy stuff]publicBaseDifficultyBaseDifficulty{get;set;}[ormy stuff]publicBeatmapSetInfoBeatmapSet{get;set;}publicstringVersion{get;set;}}publicclassBeatmapMetadata// db bound{[PrimaryKey,AutoIncrement]publicintID{get;set;}publicintBeatmapSetID{get;set;}publicstringTitle{get;set;}publicstringArtist{get;set;}publicstringAudioFile{get;set;}publicstringBackgroundFile{get;set;}// ...}publicclassBaseDifficulty// db bound{// ...}publicclassBeatmapSet{publicBeatmapSetInfoInfo{get;set;}publicList<Beatmap> Beatmaps {get;set;}}publicclassBeatmap{publicBeatmapInfoInfo{get;set;}publicList<HitObject> HitObjects {get;set;}// ...}// Usage// Get list of beatmaps in the db (i.e. SongSelect):varbeatmapSets= BeatmapStorage.Query<BeatmapSetInfo>().Where(...) etc
// Save a beatmap to the db
BeatmapSetInfo info = ...;
BeatmapStorage.Update(info);// Get a full beatmap object:BeatmapSetInfosetInfo= BeatmapStorage.GetBeatmapSet(113377);Beatmapbeatmap= BeatmapStorage.GetBeatmap(setInfo.Beatmaps[0]);
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: