diff options
Diffstat (limited to 'logic/minecraft/onesix/OneSixVersionFormat.h')
-rw-r--r-- | logic/minecraft/onesix/OneSixVersionFormat.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/logic/minecraft/onesix/OneSixVersionFormat.h b/logic/minecraft/onesix/OneSixVersionFormat.h new file mode 100644 index 00000000..ab21a6a0 --- /dev/null +++ b/logic/minecraft/onesix/OneSixVersionFormat.h @@ -0,0 +1,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); +} |