// // 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 &binary_data, std::vector &text_data, std::vector &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