pollymc/launcher/modplatform/flame/FlameModIndex.h

24 lines
745 B
C
Raw Normal View History

2022-01-16 15:50:21 +05:30
//
// Created by timoreo on 16/01/2022.
//
#pragma once
#include "modplatform/ModIndex.h"
2022-01-16 15:50:21 +05:30
#include "BaseInstance.h"
#include <QNetworkAccessManager>
2022-01-16 15:50:21 +05:30
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,
BaseInstance* inst);
auto loadIndexedPackVersion(QJsonObject& obj, bool load_changelog = false) -> ModPlatform::IndexedVersion;
2022-01-16 15:50:21 +05:30
} // namespace FlameMod