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);
|
|
|
|
void loadIndexedPackVersions(ModPlatform::IndexedPack& pack,
|
|
|
|
QJsonArray& arr,
|
|
|
|
const shared_qobject_ptr<QNetworkAccessManager>& network,
|
|
|
|
BaseInstance* inst);
|
2022-05-13 20:12:08 +05:30
|
|
|
auto loadIndexedPackVersion(QJsonObject& obj) -> ModPlatform::IndexedVersion;
|
2022-01-16 15:50:21 +05:30
|
|
|
|
2022-03-03 03:05:59 +05:30
|
|
|
} // namespace FlameMod
|