summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/MojangVersionFormat.h
blob: cd87d68e713b2c2b66ee3ce699739d1deed64301 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <minecraft/VersionFile.h>
#include <QJsonDocument>

#include "multimc_logic_export.h"

class MULTIMC_LOGIC_EXPORT MojangVersionFormat
{
public:
	// version files / profile patches
	static VersionFilePtr versionFileFromJson(const QJsonDocument &doc, const QString &filename);
	static QJsonDocument profilePatchToJson(const ProfilePatchPtr &patch);
};