Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DB reader update, API throttling #13

Open
wants to merge 3 commits into
base: development
Choose a base branch
from

Conversation

wwwMADwww
Copy link

Hello!

The main goal of this PR is to fix *.db file reader, now it can read files with version 20191106 and later.

Unknown properties like SomeBool, Byte, Byte2, etc renamed, DbBeatmapStatus enum entries slightly changed, added enum for UserPersmissons, all this according to osu wiki.

Regular Int32 Enums now can be saved as Bytes, unfornunately your commit mentioned here did not fixed this.

NotImplementedException added because i tried read-write to osu!.db and this always results in file with less data than i just read, turns out WriteValue for binary dictionaries is just empty. Absense of exceptions or at least console message here was very confusing.

API repositories now can be throttled. In practice it seems to be not needed today, but i already implemented this. Maybe would be usefull in multithreading.

Fixed binary writing int Enums that stored as byte
Added DbBeatmapStatuses, removed unused status
Renamed unknown properties
Throwing NotImplementedException in not implemented WriteValue method
Added constructors for configuring each API repository instance individually
Added docs to IApiScoreRepository
Removed nested API repositories
Added files to .NET Framework project
Minor compatibility change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant