summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol16x.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-05 21:40:19 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-05 21:40:19 +0200
commitde5cec741985a7c2be52d0629a79b616921b6d57 (patch)
tree4ba655ce0e642c39e0c29cdca971af2b15ba8634 /source/Protocol/Protocol16x.h
parentFixed a crash when moving a player to a non-existent world (reported by tonibm19) (diff)
downloadcuberite-de5cec741985a7c2be52d0629a79b616921b6d57.tar
cuberite-de5cec741985a7c2be52d0629a79b616921b6d57.tar.gz
cuberite-de5cec741985a7c2be52d0629a79b616921b6d57.tar.bz2
cuberite-de5cec741985a7c2be52d0629a79b616921b6d57.tar.lz
cuberite-de5cec741985a7c2be52d0629a79b616921b6d57.tar.xz
cuberite-de5cec741985a7c2be52d0629a79b616921b6d57.tar.zst
cuberite-de5cec741985a7c2be52d0629a79b616921b6d57.zip
Diffstat (limited to 'source/Protocol/Protocol16x.h')
-rw-r--r--source/Protocol/Protocol16x.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/source/Protocol/Protocol16x.h b/source/Protocol/Protocol16x.h
new file mode 100644
index 000000000..60e3d1360
--- /dev/null
+++ b/source/Protocol/Protocol16x.h
@@ -0,0 +1,43 @@
+
+// Protocol16x.h
+
+/*
+Declares the 1.6.x protocol classes:
+ - cProtocol161
+ - release 1.6.1 protocol (#73)
+(others may be added later in the future for the 1.6 release series)
+*/
+
+
+
+
+
+#pragma once
+
+#include "Protocol15x.h"
+
+
+
+
+
+class cProtocol161 :
+ public cProtocol150
+{
+ typedef cProtocol150 super;
+
+public:
+ cProtocol161(cClientHandle * a_Client);
+
+ // cProtocol150 overrides:
+ virtual void SendAttachEntity(const cEntity & a_Entity, const cEntity * a_Vehicle) override;
+ virtual void SendChat (const AString & a_Message) override;
+ virtual void SendHealth (void) override;
+ virtual void SendWindowOpen (char a_WindowID, char a_WindowType, const AString & a_WindowTitle, char a_NumSlots) override;
+
+ virtual int ParseEntityAction (void) override;
+ virtual int ParsePlayerAbilities(void) override;
+} ;
+
+
+
+