DdsSubFile.h 989 B

12345678910111213141516171819202122232425262728293031
  1. //
  2. // Created by Иван_Архипов on 24.11.2017.
  3. //
  4. #ifndef LOTRO_DAT_LIBRARY_DDSSUBFILE_H
  5. #define LOTRO_DAT_LIBRARY_DDSSUBFILE_H
  6. #include "SubFile.h"
  7. namespace LOTRO_DAT {
  8. class DdsSubFile : public SubFile {
  9. public:
  10. DdsSubFile() = delete;
  11. explicit DdsSubFile(const DdsSubFile &other) = delete;
  12. DdsSubFile &operator =(const DdsSubFile &other) = delete;
  13. DdsSubFile(DatFile &dat, long long dictionary_offset, long long fragments_count, long long unknown1,
  14. long long file_id, long long file_offset, long long file_size, long long timestamp,
  15. long long version, long long block_size);
  16. FILE_TYPE FileType() const override;
  17. std::string Extension() const override;
  18. SubfileData PrepareForExport(const BinaryData &file_data) override;
  19. BinaryData MakeForImport(const BinaryData &old_data, const SubfileData &data) override;
  20. };
  21. };
  22. #endif //LOTRO_DAT_LIBRARY_DDSSUBFILE_H