mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
27 lines
691 B
C
27 lines
691 B
C
#pragma once
|
|
#include <QMap>
|
|
#include <QString>
|
|
#include <QSet>
|
|
#include <QDateTime>
|
|
|
|
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 that will not show up in the version lists.
|
|
QSet<QString> legacyBlacklist;
|
|
// no new versions below this date will be accepted from Mojang servers
|
|
QDateTime legacyCutoffDate;
|
|
};
|
|
extern VersionFilterData g_VersionFilterData;
|