Some checks failed
CodeQL Code Scanning / CodeQL (push) Has been cancelled
Build Application / Build Debug (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (macos-13, x86_64-darwin) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (macos-14, aarch64-darwin) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (ubuntu-22.04, x86_64-linux) (push) Has been cancelled
Nix / Build (${{ matrix.system }}) (ubuntu-22.04-arm, aarch64-linux) (push) Has been cancelled
Update Flake Lockfile / update-flake (push) Has been cancelled
20 lines
746 B
C++
Executable File
20 lines
746 B
C++
Executable File
#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, Token& output, QString name);
|
|
bool parseMojangResponse(QByteArray& data, Token& output);
|
|
|
|
bool parseMinecraftProfile(QByteArray& data, MinecraftProfile& output);
|
|
bool parseMinecraftProfileMojang(QByteArray& data, MinecraftProfile& output);
|
|
bool parseMinecraftEntitlements(QByteArray& data, MinecraftEntitlement& output);
|
|
bool parseRolloutResponse(QByteArray& data, bool& result);
|
|
} // namespace Parsers
|