DdsSubfile.h 803 B

12345678910111213141516171819202122232425262728
  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 : Subfile {
  9. public:
  10. DdsSubfile();
  11. DdsSubfile(DatFile *dat, 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. FILE_TYPE FileType() const override;
  14. std::string Extension() const override;
  15. bool PrepareAsBinary(BinaryData &data) override;
  16. BinaryData MakeFromBinary(const BinaryData &data) override;
  17. private:
  18. bool compressed_;
  19. };
  20. };
  21. #endif //LOTRO_DAT_LIBRARY_DDSSUBFILE_H