NOISSUE proper fix for missing profile + demo mode

This commit is contained in:
Petr Mrázek
2021-12-30 21:26:29 +01:00
parent 3efcccf334
commit 94fdf13f4a
6 changed files with 54 additions and 32 deletions

View File

@ -11,6 +11,7 @@ class QNetworkAccessManager;
struct AuthSession
{
bool MakeOffline(QString offline_playername);
void MakeDemo();
QString serializeUserProperties();
@ -43,6 +44,9 @@ struct AuthSession
bool auth_server_online = false;
// Did the user request online mode?
bool wants_online = true;
//Is this a demo session?
bool demo = false;
};
typedef std::shared_ptr<AuthSession> AuthSessionPtr;