aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/auth/MinecraftAccount.h
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-07-30 15:33:46 -0700
committerGitHub <noreply@github.com>2023-07-30 15:33:46 -0700
commitb9fe37aec14b7cc61cbef09d5d2256f68a48d220 (patch)
treed2f5422ffe3a2c4732068bdee3b6fede3404fb8e /launcher/minecraft/auth/MinecraftAccount.h
parent520594e5296b09205e55bc018b1f759df5725e96 (diff)
parent9137721e8e5b44f2338a36874a393435cbc6daa3 (diff)
downloadPrismLauncher-b9fe37aec14b7cc61cbef09d5d2256f68a48d220.tar.gz
PrismLauncher-b9fe37aec14b7cc61cbef09d5d2256f68a48d220.tar.bz2
PrismLauncher-b9fe37aec14b7cc61cbef09d5d2256f68a48d220.zip
Merge branch 'develop' into chore/add-compiler-warnings
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/minecraft/auth/MinecraftAccount.h')
-rw-r--r--launcher/minecraft/auth/MinecraftAccount.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/minecraft/auth/MinecraftAccount.h b/launcher/minecraft/auth/MinecraftAccount.h
index 0dcaeb53..67623a5a 100644
--- a/launcher/minecraft/auth/MinecraftAccount.h
+++ b/launcher/minecraft/auth/MinecraftAccount.h
@@ -98,6 +98,8 @@ public: /* construction */
static MinecraftAccountPtr loadFromJsonV2(const QJsonObject &json);
static MinecraftAccountPtr loadFromJsonV3(const QJsonObject &json);
+ static QUuid uuidFromUsername(QString username);
+
//! Saves a MinecraftAccount to a JSON object and returns it.
QJsonObject saveToJson() const;