blob: 5e2e6487cdb5b7b5654861313bb2cde0d3f0f5ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#pragma once
#include "ATLPackManifest.h"
#include <QString>
#include <QVector>
#include <QMetaType>
#include "multimc_logic_export.h"
namespace ATLauncher
{
struct IndexedVersion
{
QString version;
QString minecraft;
};
struct IndexedPack
{
int id;
int position;
QString name;
PackType type;
QVector<IndexedVersion> versions;
bool system;
QString description;
QString safeName;
};
MULTIMC_LOGIC_EXPORT void loadIndexedPack(IndexedPack & m, QJsonObject & obj);
}
Q_DECLARE_METATYPE(ATLauncher::IndexedPack)
|