summaryrefslogtreecommitdiffstats
path: root/api/logic/minecraft/auth/MojangAccount.h
diff options
context:
space:
mode:
Diffstat (limited to 'api/logic/minecraft/auth/MojangAccount.h')
-rw-r--r--api/logic/minecraft/auth/MojangAccount.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/api/logic/minecraft/auth/MojangAccount.h b/api/logic/minecraft/auth/MojangAccount.h
index 7006435e..92679076 100644
--- a/api/logic/minecraft/auth/MojangAccount.h
+++ b/api/logic/minecraft/auth/MojangAccount.h
@@ -77,6 +77,9 @@ public: /* construction */
//! Creates an empty account for the specified user name.
static MojangAccountPtr createFromUsername(const QString &username);
+ //! Creates an offline account for the specified user name.
+ static MojangAccountPtr createFromUsernameOffline(const QString &username);
+
//! Loads a MojangAccount from the given JSON object.
static MojangAccountPtr loadFromJson(const QJsonObject &json);