summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol142.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Protocol/Protocol142.h')
-rw-r--r--source/Protocol/Protocol142.h39
1 files changed, 39 insertions, 0 deletions
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;
+} ;
+
+
+
+