OggSubfile.h 1.0 KB

123456789101112131415161718192021222324252627
  1. //
  2. // Created by Иван_Архипов on 24.11.2017.
  3. //
  4. #ifndef LOTRO_DAT_LIBRARY_OGGSUBFILE_H
  5. #define LOTRO_DAT_LIBRARY_OGGSUBFILE_H
  6. #include "../Subfile.h"
  7. namespace LOTRO_DAT {
  8. class OggSubfile : Subfile {
  9. OggSubfile();
  10. OggSubfile(DatFile *dat, long long fragments_count, long long unknown1, long long file_id, long long file_offset,
  11. long long file_size, long long timestamp, long long version, long long block_size) override;
  12. FILE_TYPE FileType() const override;
  13. std::string Extension() const override;
  14. bool PrepareForExport(const BinaryData &file_data, long long &export_size, std::vector<BinaryData> &binary_data,
  15. std::vector<std::u16string> &text_data, std::vector<YAML::Node> &options) override;
  16. BinaryData MakeForImport(const BinaryData &old_data, const BinaryData &binary_data,
  17. const std::u16string &text_data, const YAML::Node &options) override;
  18. };
  19. };
  20. #endif //LOTRO_DAT_LIBRARY_OGGSUBFILE_H