From 9012e834d7babadd3f2f2a41cbb8d03b8fb689a1 Mon Sep 17 00:00:00 2001 From: "luksor111@gmail.com" Date: Wed, 31 Oct 2012 20:18:01 +0000 Subject: Initial 1.4.2 support. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1019 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Protocol/Protocol142.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 source/Protocol/Protocol142.h (limited to 'source/Protocol/Protocol142.h') diff --git a/source/Protocol/Protocol142.h b/source/Protocol/Protocol142.h new file mode 100644 index 000000000..e84cab72c --- /dev/null +++ b/source/Protocol/Protocol142.h @@ -0,0 +1,39 @@ + +// Protocol142.h + +// Interfaces to the cProtocol142 class representing the release 1.4.2 protocol (#47) + + + + + +#pragma once + +#include "Protocol132.h" +#include "../../CryptoPP/modes.h" +#include "../../CryptoPP/aes.h" + + + + + +class cProtocol142 : + public cProtocol132 +{ + typedef cProtocol132 super; +public: + + cProtocol142(cClientHandle * a_Client); + virtual ~cProtocol142(); + + // Sending commands (alphabetically sorted): + virtual void SendSoundParticleEffect(int a_EffectID, int a_SrcX, int a_SrcY, int a_SrcZ, int a_Data) override; + virtual void SendTimeUpdate (Int64 a_WorldTime) override; + + // Specific packet parsers: + virtual int ParseLogin (void) override; +} ; + + + + -- cgit v1.2.3