mirror of
https://github.com/UltimMC/Launcher.git
synced 2026-01-04 06:26:46 +00:00
Start working on search
This commit is contained in:
29
launcher/ui/pages/modplatform/modrinth/ModrinthData.h
Normal file
29
launcher/ui/pages/modplatform/modrinth/ModrinthData.h
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* Copyright 2022 kb1000
|
||||
*
|
||||
* This source is subject to the Microsoft Permissive License (MS-PL).
|
||||
* Please see the COPYING.md file for more information.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
#include <QMetaType>
|
||||
#include <QUrl>
|
||||
|
||||
namespace Modrinth {
|
||||
struct Modpack {
|
||||
QString id;
|
||||
|
||||
QString name;
|
||||
QUrl iconUrl;
|
||||
QString author;
|
||||
QString description;
|
||||
|
||||
bool metadataLoaded = false;
|
||||
QString wikiUrl;
|
||||
QString body;
|
||||
};
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(Modrinth::Modpack)
|
||||
Reference in New Issue
Block a user