diff options
Diffstat (limited to 'logic/minecraft/VersionFile.h')
-rw-r--r-- | logic/minecraft/VersionFile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/logic/minecraft/VersionFile.h b/logic/minecraft/VersionFile.h index e5ce4026..5df1cd29 100644 --- a/logic/minecraft/VersionFile.h +++ b/logic/minecraft/VersionFile.h @@ -19,6 +19,7 @@ typedef std::shared_ptr<VersionFile> VersionFilePtr; class VersionFile : public ProfilePatch { public: /* methods */ + static VersionFilePtr fromMojangJson(const QJsonDocument &doc, const QString &filename); static VersionFilePtr fromJson(const QJsonDocument &doc, const QString &filename, const bool requireOrder); virtual QJsonDocument toJson(bool saveOrder) override; |