diff options
author | Petr Mrázek <peterix@gmail.com> | 2021-12-30 21:26:29 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2021-12-30 21:26:29 +0100 |
commit | 94fdf13f4a113bb1ffc75a4862308f12c904b2c4 (patch) | |
tree | a9a0d1176b4372fd845e8b7c3706dba13e81a60c /launcher/minecraft/auth/AuthSession.h | |
parent | 3efcccf334e28d03605dd0597f53f900105cf04b (diff) | |
download | PrismLauncher-94fdf13f4a113bb1ffc75a4862308f12c904b2c4.tar.gz PrismLauncher-94fdf13f4a113bb1ffc75a4862308f12c904b2c4.tar.bz2 PrismLauncher-94fdf13f4a113bb1ffc75a4862308f12c904b2c4.zip |
NOISSUE proper fix for missing profile + demo mode
Diffstat (limited to 'launcher/minecraft/auth/AuthSession.h')
-rw-r--r-- | launcher/minecraft/auth/AuthSession.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/launcher/minecraft/auth/AuthSession.h b/launcher/minecraft/auth/AuthSession.h index 55fbdf39..a75df506 100644 --- a/launcher/minecraft/auth/AuthSession.h +++ b/launcher/minecraft/auth/AuthSession.h @@ -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; |