diff options
Diffstat (limited to 'logic/minecraft/VersionBuilder.h')
-rw-r--r-- | logic/minecraft/VersionBuilder.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/logic/minecraft/VersionBuilder.h b/logic/minecraft/VersionBuilder.h index 77746199..350179b9 100644 --- a/logic/minecraft/VersionBuilder.h +++ b/logic/minecraft/VersionBuilder.h @@ -24,6 +24,8 @@ class OneSixInstance; class QJsonObject; class QFileInfo; +typedef QStringList PatchOrder; + class VersionBuilder { VersionBuilder(); @@ -33,8 +35,8 @@ public: static VersionFilePtr parseJsonFile(const QFileInfo &fileInfo, const bool requireOrder, bool isFTB = false); static VersionFilePtr parseBinaryJsonFile(const QFileInfo &fileInfo); - static QMap<QString, int> readOverrideOrders(OneSixInstance *instance); - static bool writeOverrideOrders(const QMap<QString, int> &order, OneSixInstance *instance); + bool readOverrideOrders(OneSixInstance *instance, PatchOrder &order); + static bool writeOverrideOrders(OneSixInstance *instance, const PatchOrder &order); private: InstanceVersion *m_version; |