| 13 | inline constexpr int DC6TerminatorSize = 3; |
| 14 | |
| 15 | class DC6Frame { |
| 16 | uint32_t _flipped{}; |
| 17 | uint32_t _width{}; |
| 18 | uint32_t _height{}; |
| 19 | int32_t _xOffset{}; |
| 20 | int32_t _yOffset{}; |
| 21 | uint32_t _unknown{}; |
| 22 | uint32_t _nextBlock{}; |
| 23 | uint32_t _length{}; |
| 24 | std::vector<std::byte> _frameData{}; |
| 25 | std::vector<std::byte> _terminator{}; |
| 26 | |
| 27 | public: |
| 28 | explicit DC6Frame(Streams::StreamReader& stream); |
| 29 | [[nodiscard]] uint32_t getFlipped() const; |
| 30 | [[nodiscard]] uint32_t getWidth() const; |
| 31 | [[nodiscard]] uint32_t getHeight() const; |
| 32 | [[nodiscard]] int32_t getXOffset() const; |
| 33 | [[nodiscard]] int32_t getYOffset() const; |
| 34 | [[nodiscard]] uint32_t getUnknown() const; |
| 35 | [[nodiscard]] uint32_t getNextBlock() const; |
| 36 | [[nodiscard]] uint32_t getLength() const; |
| 37 | [[nodiscard]] const std::vector<std::byte>& getFrameData() const; |
| 38 | [[nodiscard]] const std::vector<std::byte>& getTerminator() const; |
| 39 | }; |
| 40 | |
| 41 | } // namespace Abyss::DataTypes |
nothing calls this directly
no outgoing calls
no test coverage detected