mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-28 15:18:21 +00:00
35 lines
500 B
C++
35 lines
500 B
C++
#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)
|