summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_9.h
diff options
context:
space:
mode:
authorLane Kolbly <lane@rscheme.org>2017-08-02 16:46:29 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2017-08-02 16:46:29 +0200
commitdc49092ae5439c1fcc711fbfc2784a8de6b70840 (patch)
tree11d72b9b58b9708fb1d2e316c0ff66c43c8a1828 /src/Protocol/Protocol_1_9.h
parentcBlockHandler: take player by ref (diff)
downloadcuberite-dc49092ae5439c1fcc711fbfc2784a8de6b70840.tar
cuberite-dc49092ae5439c1fcc711fbfc2784a8de6b70840.tar.gz
cuberite-dc49092ae5439c1fcc711fbfc2784a8de6b70840.tar.bz2
cuberite-dc49092ae5439c1fcc711fbfc2784a8de6b70840.tar.lz
cuberite-dc49092ae5439c1fcc711fbfc2784a8de6b70840.tar.xz
cuberite-dc49092ae5439c1fcc711fbfc2784a8de6b70840.tar.zst
cuberite-dc49092ae5439c1fcc711fbfc2784a8de6b70840.zip
Diffstat (limited to 'src/Protocol/Protocol_1_9.h')
-rw-r--r--src/Protocol/Protocol_1_9.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Protocol/Protocol_1_9.h b/src/Protocol/Protocol_1_9.h
index d6533c5da..2c83168c2 100644
--- a/src/Protocol/Protocol_1_9.h
+++ b/src/Protocol/Protocol_1_9.h
@@ -173,6 +173,10 @@ protected:
/** State of the protocol. 1 = status, 2 = login, 3 = game */
UInt32 m_State;
+ /** The current teleport ID, and whether it has been confirmed by the client */
+ bool m_IsTeleportIdConfirmed;
+ UInt32 m_OutstandingTeleportId;
+
/** Buffer for the received data */
cByteBuffer m_ReceivedData;