pollymc/launcher/modplatform/atlauncher/ATLPackIndex.h

35 lines
500 B
C
Raw Normal View History

2020-08-25 03:43:43 +05:30
#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);
2020-08-25 03:43:43 +05:30
}
Q_DECLARE_METATYPE(ATLauncher::IndexedPack)