| 5 | namespace Abyss::DataTypes { |
| 6 | |
| 7 | DC6Frame::DC6Frame(Streams::StreamReader &stream) { |
| 8 | _flipped = stream.readUInt32(); |
| 9 | _width = stream.readUInt32(); |
| 10 | _height = stream.readUInt32(); |
| 11 | _xOffset = stream.readInt32(); |
| 12 | _yOffset = stream.readInt32(); |
| 13 | _unknown = stream.readUInt32(); |
| 14 | _nextBlock = stream.readUInt32(); |
| 15 | _length = stream.readUInt32(); |
| 16 | |
| 17 | _frameData.resize(_length); |
| 18 | stream.readBytes(_frameData); |
| 19 | |
| 20 | _terminator.resize(DC6TerminatorSize); |
| 21 | stream.readBytes(_terminator); |
| 22 | } |
| 23 | |
| 24 | uint32_t DC6Frame::getFlipped() const { return _flipped; } |
| 25 |
nothing calls this directly
no test coverage detected