add login and logout logic

This commit is contained in:
Sam39
2022-08-16 17:16:18 +03:00
parent a67853ea1d
commit 1d5dc1e545
4 changed files with 116 additions and 35 deletions

View File

@@ -102,9 +102,11 @@ class ShutdownException : public std::runtime_error {
};
struct UIData {
static inline std::string GamePath, ProfilePath, CachePath;
static inline std::string GamePath, ProfilePath, CachePath, PublicKey, UserRole, Username;
static inline bool LoginAuth{false};
};
void UpdateKey(const std::string& newKey);
void entry();