Commit Graph

40 Commits

Author SHA1 Message Date
Dean Herbert 1e151baae8 Use `Unknown` instead of `default` 2022-07-18 16:24:08 +09:00
Dean Herbert 51f91fe62e Update naming 2022-07-18 16:17:20 +09:00
Salman Ahmed 4e7156cee8 Store user country on databased scores 2022-07-16 06:39:05 +03:00
Dean Herbert 356c0501ec Guard again potential nulls in `RealmNamedFileUsage`
Hopefully help in figuring out https://sentry.ppy.sh/organizations/ppy/issues/3679/?project=2&query=user%3A%22id%3A10078484%22
2022-06-30 15:40:57 +09:00
Dan Balasescu f8830c6850 Automated #nullable processing 2022-06-17 16:37:17 +09:00
Bartłomiej Dach dc96c4888b
Add support for creating new blank difficulties 2022-02-02 21:55:33 +01:00
Dean Herbert 267a7bd21f Give `RealmUser.Username` a better default value 2022-01-26 15:14:49 +09:00
Dean Herbert eb70a1eeb7 Replace compatibility properties with direct references 2022-01-12 18:13:14 +09:00
Dean Herbert 51d6db1bca Add equatable support to `IUser` and `RealmUser`
Not sure this will stick, but let's add it for now to make testing
detach support work nicely.
2022-01-12 17:49:11 +09:00
Dean Herbert 3da762e145 Replace EF `ScoreInfo` with realm version
May contain errors.
2022-01-12 16:57:27 +09:00
Dean Herbert 0dd23c46b0 Add basic `RealmScore` implementation 2022-01-12 16:57:27 +09:00
Dean Herbert c3df58e01c Add required properties to make realm models backwards compatible 2022-01-12 16:39:36 +09:00
Dean Herbert 618903c217 Rename realm to become imposter classes 2022-01-12 16:39:36 +09:00
Dean Herbert 15db1372aa Add missing equality implementations on `IRulesetInfo` 2021-12-03 18:01:45 +09:00
Dean Herbert 3bd4872520 Add note about indexing support for `RealmNamedFileUsage.Filename` 2021-11-29 14:12:22 +09:00
Dean Herbert 7488ccd5fe Update all models to implement `IHasNamedFiles` 2021-11-25 16:41:12 +09:00
Dean Herbert 61009013cc Give a more correct default value to beatmap and set statuses 2021-11-24 18:48:12 +09:00
Dean Herbert 052ed8f930 Add online status to `RealmBeatmapSet` 2021-11-24 18:48:02 +09:00
Dean Herbert 183b95cbc2 Rename `BeatmapSetOnlineStatus` to `BeatmapOnlineStatus`
This variable is used at more than just a set level.
2021-11-24 18:42:49 +09:00
Dan Balasescu 74b6c33fab
Merge pull request #15778 from peppy/ruleset-info-id-usage
Update usages of `RulesetInfo.ID` to use `OnlineID` instead
2021-11-24 16:55:28 +09:00
Dean Herbert bbd3ea5b77 Update all actual usages of `RulesetInfo.ID` to use `OnlineID` instead 2021-11-24 15:50:26 +09:00
Dean Herbert 3946a39b65 Make `BeatmapSet.Metadata` non-null 2021-11-24 15:03:34 +09:00
Dean Herbert 8d69ebd7db Remove nullability of `Ruleset.CreateInstance` 2021-11-24 12:23:06 +09:00
Dean Herbert a8bc1ab052 Attempt to fix fody issues by ignoring new property 2021-11-22 16:45:55 +09:00
Dean Herbert 1cdfa6d9a0 Add helper property to access a realm beatmap's beatmap file 2021-11-22 15:30:11 +09:00
Dean Herbert 59e763467f Move `StoragePath` implementation to an extension method 2021-11-19 16:08:38 +09:00
Dean Herbert 9207b87b76 Add back interface equality but limit to only matching types 2021-11-16 12:35:18 +09:00
Dean Herbert 0b4822b552 Remove newly added equality 2021-11-15 14:35:01 +09:00
Dean Herbert 1d962648c2 Standardise implementations 2021-11-12 19:00:27 +09:00
Dean Herbert 1c49c4a602 Fix incorrect type check 2021-11-12 18:32:39 +09:00
Dean Herbert 54cd1158a4 Add `IBeatmapSetInfo` equality support 2021-11-12 18:16:36 +09:00
Dean Herbert a67e156883 Add `IBeatmapInfo` equality support 2021-11-12 18:11:33 +09:00
Dean Herbert f2700b0a6d Expose bot state via interface 2021-11-05 13:40:44 +09:00
Dean Herbert 7547810979 Change `IBeatmapMetadataInfo.Author` to be an `IUser` 2021-11-04 18:32:42 +09:00
smoogipoo c8cdc38efd Always compare OnlineIds by >0 2021-10-20 15:20:34 +09:00
Dean Herbert 2c5ba1d8e2 Change `OnlineID` to non-nullable to allow for indexing in Realm 2021-10-18 15:53:40 +09:00
smoogipoo cf10239e70 Add a few nullabilities and DCC excludes 2021-10-13 12:51:46 +09:00
Dean Herbert 76c64751de Remove `RealmBeatmap.Clone` for the time being (incorrectly implemented) 2021-10-12 16:18:12 +09:00
Dean Herbert 129416835f
Remove stray `string.Empty` specification
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2021-10-12 15:40:12 +09:00
Dean Herbert 6ca415da9f Add basic realm models
Only the file related ones are really required outside of tests, but
seems like as good an opportunity as ever to get the rest of the models
into the game project.
2021-10-11 15:25:04 +09:00