mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 01:44:00 +00:00
24 lines
554 B
C++
24 lines
554 B
C++
#pragma once
|
|
#include <cstdint>
|
|
#include <string>
|
|
|
|
#include "DLCFile.h"
|
|
|
|
class StringTable;
|
|
|
|
class DLCLocalisationFile : public DLCFile {
|
|
private:
|
|
StringTable* m_strings;
|
|
|
|
public:
|
|
DLCLocalisationFile(const std::string& path);
|
|
DLCLocalisationFile(
|
|
std::uint8_t* pbData,
|
|
std::uint32_t dataBytes); // when we load in a texture pack details
|
|
// file from TMS++
|
|
|
|
virtual void addData(std::uint8_t* pbData, std::uint32_t dataBytes);
|
|
|
|
StringTable* getStringTable() { return m_strings; }
|
|
};
|