blob: 405a3448381e2db9ac455ff599e667924ecdf27a (
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
|
#pragma once
#include "ATLPackManifest.h"
#include <QString>
#include <QVector>
#include <QMetaType>
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;
};
void loadIndexedPack(IndexedPack & m, QJsonObject & obj);
}
Q_DECLARE_METATYPE(ATLauncher::IndexedPack)
|