mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 07:13:36 +00:00
29 lines
752 B
C++
29 lines
752 B
C++
#pragma once
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
#include "DLCFile.h"
|
|
#include "app/common/DLC/DLCManager.h"
|
|
|
|
class DLCTextureFile : public DLCFile {
|
|
private:
|
|
bool m_bIsAnim;
|
|
std::string m_animString;
|
|
|
|
std::uint8_t* m_pbData;
|
|
std::uint32_t m_dataBytes;
|
|
|
|
public:
|
|
DLCTextureFile(const std::string& path);
|
|
|
|
virtual void addData(std::uint8_t* pbData, std::uint32_t dataBytes);
|
|
virtual std::uint8_t* getData(std::uint32_t& dataBytes);
|
|
|
|
virtual void addParameter(DLCManager::EDLCParameterType type,
|
|
const std::string& value);
|
|
|
|
virtual std::string getParameterAsString(
|
|
DLCManager::EDLCParameterType type);
|
|
virtual bool getParameterAsBool(DLCManager::EDLCParameterType type);
|
|
};
|