1234567891011121314151617181920212223242526272829303132 |
- //
- // Created by Иван_Архипов on 24.11.2017.
- //
- #ifndef LOTRO_DAT_LIBRARY_UNKNOWNSUBFILE_H
- #define LOTRO_DAT_LIBRARY_UNKNOWNSUBFILE_H
- #include "../Subfile.h"
- namespace LOTRO_DAT {
- class UnknownSubfile : public Subfile {
- public:
- UnknownSubfile();
- UnknownSubfile(DatFile *dat, long long fragments_count, long long unknown1, long long file_id, long long file_offset,
- long long file_size, long long timestamp, long long version, long long block_size);
- FILE_TYPE FileType() const override;
- std::string Extension() const override;
- bool PrepareForExport(const BinaryData &file_data, long long &export_size, std::vector<BinaryData> &binary_data,
- std::vector<std::u16string> &text_data, std::vector<YAML::Node> &options) override;
- BinaryData MakeForImport(const BinaryData &old_data, const BinaryData &binary_data,
- const std::u16string &text_data, const YAML::Node &options) override;
- };
- };
- #endif //LOTRO_DAT_LIBRARY_UNKNOWNSUBFILE_H
|