block inventories (backend)

This commit is contained in:
MihailRis
2024-02-12 18:28:18 +03:00
parent fe57c38edf
commit 87f50f79c9
12 changed files with 108 additions and 18 deletions
+8
View File
@@ -200,3 +200,11 @@ std::string ByteReader::getString() {
bool ByteReader::hasNext() const {
return pos < size;
}
const ubyte* ByteReader::pointer() const {
return data + pos;
}
void ByteReader::skip(size_t n) {
pos += n;
}