mirror of
https://github.com/UltimMC/Launcher.git
synced 2026-01-04 14:28:09 +00:00
NOISSUE rename Twitch to flame internally for consistency and to CurseForge for user displayed strings
This commit is contained in:
38
application/pages/modplatform/flame/FlameData.h
Normal file
38
application/pages/modplatform/flame/FlameData.h
Normal file
@@ -0,0 +1,38 @@
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
#include <QList>
|
||||
|
||||
namespace Flame {
|
||||
|
||||
struct ModpackAuthor {
|
||||
QString name;
|
||||
QString url;
|
||||
};
|
||||
|
||||
struct ModpackFile {
|
||||
int addonId;
|
||||
int fileId;
|
||||
QString version;
|
||||
QString mcVersion;
|
||||
QString downloadUrl;
|
||||
};
|
||||
|
||||
struct Modpack
|
||||
{
|
||||
bool broken = true;
|
||||
int addonId = 0;
|
||||
|
||||
QString name;
|
||||
QString description;
|
||||
QList<ModpackAuthor> authors;
|
||||
QString mcVersion;
|
||||
QString logoName;
|
||||
QString logoUrl;
|
||||
QString websiteUrl;
|
||||
|
||||
ModpackFile latestFile;
|
||||
};
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(Flame::Modpack)
|
||||
Reference in New Issue
Block a user