PrismLauncher/launcher/minecraft/mod/ResourcePack.h
Trial97 2b0b9824a3
Resource should not be QObject
because it has no signals

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2026-05-13 10:51:53 +03:00

23 lines
495 B
C++

#pragma once
#include "minecraft/mod/DataPack.h"
#include <QImage>
#include <QMutex>
#include <QPixmap>
#include <QPixmapCache>
class Version;
/* TODO:
*
* Store localized descriptions
* */
class ResourcePack : public DataPack {
public:
ResourcePack(QFileInfo file_info) : DataPack(file_info) {}
/** Gets, respectively, the lower and upper versions supported by the set pack format. */
QMap<std::pair<int, int>, std::pair<Version, Version>> mappings() const override;
};