diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-22 17:15:08 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-22 17:15:08 +0200 |
commit | bcb11078e323240b21d5ff1de8b694212eea2bbf (patch) | |
tree | 0c6cee3041650ba3678656a0adf27851b3bad18c /src/Protocol/Protocol18x.h | |
parent | Code improvements. (diff) | |
download | cuberite-bcb11078e323240b21d5ff1de8b694212eea2bbf.tar cuberite-bcb11078e323240b21d5ff1de8b694212eea2bbf.tar.gz cuberite-bcb11078e323240b21d5ff1de8b694212eea2bbf.tar.bz2 cuberite-bcb11078e323240b21d5ff1de8b694212eea2bbf.tar.lz cuberite-bcb11078e323240b21d5ff1de8b694212eea2bbf.tar.xz cuberite-bcb11078e323240b21d5ff1de8b694212eea2bbf.tar.zst cuberite-bcb11078e323240b21d5ff1de8b694212eea2bbf.zip |
Diffstat (limited to 'src/Protocol/Protocol18x.h')
-rw-r--r-- | src/Protocol/Protocol18x.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Protocol/Protocol18x.h b/src/Protocol/Protocol18x.h index fd3121d7f..2275f6298 100644 --- a/src/Protocol/Protocol18x.h +++ b/src/Protocol/Protocol18x.h @@ -269,6 +269,9 @@ protected: /** The dimension that was last sent to a player in a Respawn or Login packet. Used to avoid Respawning into the same dimension, which confuses the client. */ eDimension m_LastSentDimension; + + /** Read a nbt data from the buffer. (It's needed because the 1.8 protocol doesn't send the nbt length) */ + AString ReadNBTDataFromBuffer(cByteBuffer & a_ByteBuffer, int a_ListTag = 0); /** Adds the received (unencrypted) data to m_ReceivedData, parses complete packets */ |