2022-01-16 15:50:21 +05:30
|
|
|
//
|
|
|
|
// Created by timoreo on 16/01/2022.
|
|
|
|
//
|
|
|
|
|
|
|
|
#pragma once
|
2022-03-03 03:05:59 +05:30
|
|
|
|
|
|
|
#include "modplatform/ModIndex.h"
|
|
|
|
|
2022-01-16 15:50:21 +05:30
|
|
|
#include "BaseInstance.h"
|
2022-03-08 19:42:35 +05:30
|
|
|
#include <QNetworkAccessManager>
|
2022-01-16 15:50:21 +05:30
|
|
|
|
|
|
|
namespace FlameMod {
|
|
|
|
|
2022-03-03 03:05:59 +05:30
|
|
|
void loadIndexedPack(ModPlatform::IndexedPack& m, QJsonObject& obj);
|
2022-05-24 20:44:08 +05:30
|
|
|
void loadExtraPackData(ModPlatform::IndexedPack& m, QJsonObject& obj);
|
2022-03-03 03:05:59 +05:30
|
|
|
void loadIndexedPackVersions(ModPlatform::IndexedPack& pack,
|
|
|
|
QJsonArray& arr,
|
|
|
|
const shared_qobject_ptr<QNetworkAccessManager>& network,
|
|
|
|
BaseInstance* inst);
|
2022-06-04 05:15:44 +05:30
|
|
|
auto loadIndexedPackVersion(QJsonObject& obj, bool load_changelog = false) -> ModPlatform::IndexedVersion;
|
2022-01-16 15:50:21 +05:30
|
|
|
|
2022-03-03 03:05:59 +05:30
|
|
|
} // namespace FlameMod
|