blob: ab21a6a077709d2144528d3a953997dc466d98ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#pragma once
#include <minecraft/VersionFile.h>
#include <minecraft/MinecraftProfile.h>
#include <QJsonDocument>
namespace OneSixVersionFormat {
std::shared_ptr<MinecraftProfile> readProfileFromSingleFile(const QJsonObject &obj);
VersionFilePtr fromJson(const QJsonDocument &doc, const QString &filename, const bool requireOrder);
QJsonDocument toJson(const ProfilePatchPtr &patch, bool saveOrder);
}
|