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