2014-04-23 00:27:40 +00:00
|
|
|
#pragma once
|
|
|
|
#include <QMap>
|
|
|
|
#include <QString>
|
|
|
|
#include <QSet>
|
2014-05-11 10:37:21 +00:00
|
|
|
#include <QDateTime>
|
2014-04-23 00:27:40 +00:00
|
|
|
|
|
|
|
struct FMLlib
|
|
|
|
{
|
2018-07-15 12:51:05 +00:00
|
|
|
QString filename;
|
|
|
|
QString checksum;
|
2014-04-23 00:27:40 +00:00
|
|
|
};
|
|
|
|
|
2014-05-04 22:10:59 +00:00
|
|
|
struct VersionFilterData
|
2014-04-23 00:27:40 +00:00
|
|
|
{
|
2018-07-15 12:51:05 +00:00
|
|
|
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;
|
|
|
|
// no new versions below this date will be accepted from Mojang servers
|
|
|
|
QDateTime legacyCutoffDate;
|
|
|
|
// Libraries that belong to LWJGL
|
|
|
|
QSet<QString> lwjglWhitelist;
|
2021-06-23 20:24:25 +00:00
|
|
|
// release date of first version to require Java 8 (17w13a)
|
|
|
|
QDateTime java8BeginsDate;
|
|
|
|
// release data of first version to require Java 16 (21w19a)
|
|
|
|
QDateTime java16BeginsDate;
|
2014-04-23 00:27:40 +00:00
|
|
|
};
|
2021-07-25 17:11:59 +00:00
|
|
|
extern VersionFilterData g_VersionFilterData;
|