Add API versioning

This commit is contained in:
Dean Herbert
2022-02-17 18:33:27 +09:00
parent 4889750959
commit 7f4cc221d2
4 changed files with 13 additions and 0 deletions

View File

@ -36,6 +36,8 @@ namespace osu.Game.Online.API
public string WebsiteRootUrl { get; }
public int APIVersion => 20220217; // We may want to pull this from the game version eventually.
public Exception LastLoginError { get; private set; }
public string ProvidedUsername { get; private set; }