mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 03:14:49 +00:00
21 lines
785 B
C++
21 lines
785 B
C++
#pragma once
|
|
|
|
#include "AccountData.h"
|
|
|
|
namespace Parsers
|
|
{
|
|
bool getDateTime(QJsonValue value, QDateTime & out);
|
|
bool getString(QJsonValue value, QString & out);
|
|
bool getNumber(QJsonValue value, double & out);
|
|
bool getNumber(QJsonValue value, int64_t & out);
|
|
bool getBool(QJsonValue value, bool & out);
|
|
|
|
bool parseXTokenResponse(QByteArray &data, Katabasis::Token &output, QString name);
|
|
bool parseMojangResponse(QByteArray &data, Katabasis::Token &output);
|
|
|
|
bool parseMinecraftProfile(QByteArray &data, MinecraftProfile &output);
|
|
bool parseMinecraftEntitlements(QByteArray &data, MinecraftEntitlement &output);
|
|
bool parseRolloutResponse(QByteArray &data, bool& result);
|
|
bool parseForcedMigrationResponse(QByteArray & data, bool& result);
|
|
}
|