diff options
Diffstat (limited to '')
-rw-r--r-- | src/ByteBuffer.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ByteBuffer.cpp b/src/ByteBuffer.cpp index ce9df77cc..af619f26f 100644 --- a/src/ByteBuffer.cpp +++ b/src/ByteBuffer.cpp @@ -509,6 +509,15 @@ bool cByteBuffer::ReadXYZPosition64(int & a_BlockX, int & a_BlockY, int & a_Bloc +bool cByteBuffer::ReadXYZPosition64(Vector3i & a_Position) +{ + return ReadXYZPosition64(a_Position.x, a_Position.y, a_Position.z); +} + + + + + bool cByteBuffer::ReadXZYPosition64(int & a_BlockX, int & a_BlockY, int & a_BlockZ) { CHECK_THREAD @@ -534,6 +543,15 @@ bool cByteBuffer::ReadXZYPosition64(int & a_BlockX, int & a_BlockY, int & a_Bloc +bool cByteBuffer::ReadXZYPosition64(Vector3i & a_Position) +{ + return ReadXZYPosition64(a_Position.x, a_Position.y, a_Position.z); +} + + + + + bool cByteBuffer::ReadUUID(cUUID & a_Value) { CHECK_THREAD |