summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol17x.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-10-30 23:38:55 +0100
committermadmaxoft <github@xoft.cz>2013-10-30 23:38:55 +0100
commitfeaea31b787070f4ea45c4829d4833d728a15d6f (patch)
treecb619bf9fa973efbfe5788aa18beab98de264755 /source/Protocol/Protocol17x.h
parentFixed a compiler warning. (diff)
downloadcuberite-feaea31b787070f4ea45c4829d4833d728a15d6f.tar
cuberite-feaea31b787070f4ea45c4829d4833d728a15d6f.tar.gz
cuberite-feaea31b787070f4ea45c4829d4833d728a15d6f.tar.bz2
cuberite-feaea31b787070f4ea45c4829d4833d728a15d6f.tar.lz
cuberite-feaea31b787070f4ea45c4829d4833d728a15d6f.tar.xz
cuberite-feaea31b787070f4ea45c4829d4833d728a15d6f.tar.zst
cuberite-feaea31b787070f4ea45c4829d4833d728a15d6f.zip
Diffstat (limited to 'source/Protocol/Protocol17x.h')
-rw-r--r--source/Protocol/Protocol17x.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Protocol/Protocol17x.h b/source/Protocol/Protocol17x.h
index cea39f073..e5597ee0b 100644
--- a/source/Protocol/Protocol17x.h
+++ b/source/Protocol/Protocol17x.h
@@ -58,7 +58,9 @@ protected:
/// Reads and handles the packet. The packet length and type have already been read.
void HandlePacket(UInt32 a_PacketType, UInt32 a_RemainingBytes);
+ // Packet handlers while in the Status state (m_State == 1)
void HandlePacketStatusRequest(UInt32 a_RemainingBytes);
+ void HandlePacketStatusPing (UInt32 a_RemainingBytes);
/// Writes an entire packet into the output stream. a_Packet is expected to start with the packet type; data length is prepended here.
void WritePacket(cByteBuffer & a_Packet);