diff options
Diffstat (limited to 'logic/VersionFilterData.h')
-rw-r--r-- | logic/VersionFilterData.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/logic/VersionFilterData.h b/logic/VersionFilterData.h new file mode 100644 index 00000000..562654a9 --- /dev/null +++ b/logic/VersionFilterData.h @@ -0,0 +1,23 @@ +#pragma once +#include <QMap> +#include <QString> +#include <QSet> + +struct FMLlib +{ + QString filename; + QString checksum; + bool ours; +}; + +struct VersionFilterData +{ + VersionFilterData(); + // mapping between minecraft versions and FML libraries required + QMap<QString, QList<FMLlib>> fmlLibsMapping; + // set of minecraft versions for which using forge installers is blacklisted + QSet<QString> forgeInstallerBlacklist; + // set of 'legacy' versions (ones that use the legacy launch) + QSet<QString> legacyLaunchWhitelist; +}; +extern VersionFilterData g_VersionFilterData; |