diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-13 02:47:59 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-13 02:47:59 +0100 |
commit | 39aebddf3b6b93091aa8494f74690b4a819593d1 (patch) | |
tree | 824e2bd5a4a3c67118982d9a13bdd73914501741 /logic/auth/MojangAccount.h | |
parent | bf34aa7fbd87eb5e21bc1bb69fc3f53c2c92d8fd (diff) | |
download | MultiMC-39aebddf3b6b93091aa8494f74690b4a819593d1.tar MultiMC-39aebddf3b6b93091aa8494f74690b4a819593d1.tar.gz MultiMC-39aebddf3b6b93091aa8494f74690b4a819593d1.tar.lz MultiMC-39aebddf3b6b93091aa8494f74690b4a819593d1.tar.xz MultiMC-39aebddf3b6b93091aa8494f74690b4a819593d1.zip |
Add support for 1.7.4 user_type (needs testing with legacy accounts)
Diffstat (limited to 'logic/auth/MojangAccount.h')
-rw-r--r-- | logic/auth/MojangAccount.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/logic/auth/MojangAccount.h b/logic/auth/MojangAccount.h index 95f777ce..9eecbc4f 100644 --- a/logic/auth/MojangAccount.h +++ b/logic/auth/MojangAccount.h @@ -20,6 +20,7 @@ #include <QList> #include <QJsonObject> #include <QPair> +#include <QMap> #include <memory> @@ -41,14 +42,13 @@ struct AccountProfile { QString id; QString name; + bool legacy; }; struct User { QString id; - // pair of key:value - // we don't know if the keys:value mapping is 1:1, so a list is used. - QList<QPair<QString, QString>> properties; + QMultiMap<QString,QString> properties; }; enum AccountStatus |