2016-02-27 21:02:56 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <minecraft/VersionFile.h>
|
|
|
|
#include <QJsonDocument>
|
|
|
|
|
2016-02-28 18:01:54 +00:00
|
|
|
class MojangVersionFormat
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
// version files / profile patches
|
|
|
|
static VersionFilePtr versionFileFromJson(const QJsonDocument &doc, const QString &filename);
|
|
|
|
/*
|
|
|
|
static QJsonDocument profilePatchToJson(const ProfilePatchPtr &patch);
|
|
|
|
*/
|
|
|
|
};
|