pollymc/logic/minecraft/onesix/OneSixVersionFormat.h

12 lines
406 B
C
Raw Normal View History

#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);
}