aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/auth/AuthSession.h
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/minecraft/auth/AuthSession.h')
-rw-r--r--launcher/minecraft/auth/AuthSession.h4
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;