WavSubfile.h 1.1 KB

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