feat: add 'getFiles' by fileIds route in Flame API

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-07-21 16:40:28 -03:00
parent 208ed73e59
commit 242fb156a2
2 changed files with 24 additions and 0 deletions

View File

@ -12,6 +12,7 @@ class FlameAPI : public NetworkModAPI {
auto getLatestVersion(VersionSearchArgs&& args) -> ModPlatform::IndexedVersion;
auto getProjects(QStringList addonIds, QByteArray* response) const -> NetJob* override;
auto getFiles(QStringList fileIds, QByteArray* response) const -> NetJob*;
private:
inline auto getSortFieldInt(QString sortString) const -> int