NOISSUE Flatten gui and logic libraries into MultiMC
This commit is contained in:
34
launcher/modplatform/atlauncher/ATLPackIndex.h
Normal file
34
launcher/modplatform/atlauncher/ATLPackIndex.h
Normal file
@ -0,0 +1,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)
|
Reference in New Issue
Block a user