Feat: update to Game SDK, add Discord Login

This is honestly shitty code that works imo
This commit is contained in:
2026-05-21 23:11:34 -04:00
parent 02f1e14855
commit 62fdc45d3f
49 changed files with 5494 additions and 1800 deletions
@@ -23,15 +23,10 @@ public:
static int API_GetAccountInfo(const std::string token);
static int API_AttemptAccountRegister(const std::string username, const std::string password, std::string& tokenOut);
static int API_AttemptAccountLogin(const std::string username, const std::string password, std::string& tokenOut);
static int API_AttemptDiscordLogin(const std::string& accessToken, std::string& tokenOut);
static bool IsInOfflineMode();
static std::vector<std::wstring> GetBannedUsersList();
static void SaveBannedUsersList(std::vector<std::wstring> bannedUsers);
static const std::string& GetAuthenticationToken();
static const std::string& GetUsername();
static void CheckForUpdates();
};