diff options
author | Trial97 <alexandru.tripon97@gmail.com> | 2023-07-21 19:30:06 +0300 |
---|---|---|
committer | Trial97 <alexandru.tripon97@gmail.com> | 2023-07-21 19:30:06 +0300 |
commit | 0b74b3833a95598d1770d7bd98acf15f2582ccb6 (patch) | |
tree | e6c2dc266c06d6475347c7d5480b692dedf86901 /launcher/minecraft/auth/MinecraftAccount.h | |
parent | ef21879df4f7c2822381e1b6af4901e0e6b0d339 (diff) | |
parent | 821dd8400b1a27ab1f932200bfa77d7a04edef5d (diff) | |
download | PrismLauncher-0b74b3833a95598d1770d7bd98acf15f2582ccb6.tar.gz PrismLauncher-0b74b3833a95598d1770d7bd98acf15f2582ccb6.tar.bz2 PrismLauncher-0b74b3833a95598d1770d7bd98acf15f2582ccb6.zip |
Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher into import
Diffstat (limited to 'launcher/minecraft/auth/MinecraftAccount.h')
-rw-r--r-- | launcher/minecraft/auth/MinecraftAccount.h | 2 |
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; |