summaryrefslogtreecommitdiffstats
path: root/logic/VersionFilterData.h
blob: 562654a94c359508599850c84a286120d06f4b19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;