PrismLauncher/launcher/modplatform/flame/FlameModIndex.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

24 lines
751 B
C
Raw Normal View History

2022-01-16 10:20:21 +00:00
//
// Created by timoreo on 16/01/2022.
//
#pragma once
#include "modplatform/ModIndex.h"
2022-01-16 10:20:21 +00:00
#include "BaseInstance.h"
#include <QNetworkAccessManager>
2022-01-16 10:20:21 +00:00
namespace FlameMod {
void loadIndexedPack(ModPlatform::IndexedPack& m, QJsonObject& obj);
void loadURLs(ModPlatform::IndexedPack& m, QJsonObject& obj);
void loadBody(ModPlatform::IndexedPack& m, QJsonObject& obj);
void loadIndexedPackVersions(ModPlatform::IndexedPack& pack,
QJsonArray& arr,
const shared_qobject_ptr<QNetworkAccessManager>& network,
const BaseInstance* inst);
auto loadIndexedPackVersion(QJsonObject& obj, bool load_changelog = false) -> ModPlatform::IndexedVersion;
2022-01-16 10:20:21 +00:00
} // namespace FlameMod