diff options
author | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-31 21:18:01 +0100 |
---|---|---|
committer | luksor111@gmail.com <luksor111@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-31 21:18:01 +0100 |
commit | 9012e834d7babadd3f2f2a41cbb8d03b8fb689a1 (patch) | |
tree | 492f95cabb6f02fd3933669936a58c3328c013ed /source/Protocol/Protocol142.h | |
parent | Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct version (diff) | |
download | cuberite-9012e834d7babadd3f2f2a41cbb8d03b8fb689a1.tar cuberite-9012e834d7babadd3f2f2a41cbb8d03b8fb689a1.tar.gz cuberite-9012e834d7babadd3f2f2a41cbb8d03b8fb689a1.tar.bz2 cuberite-9012e834d7babadd3f2f2a41cbb8d03b8fb689a1.tar.lz cuberite-9012e834d7babadd3f2f2a41cbb8d03b8fb689a1.tar.xz cuberite-9012e834d7babadd3f2f2a41cbb8d03b8fb689a1.tar.zst cuberite-9012e834d7babadd3f2f2a41cbb8d03b8fb689a1.zip |
Diffstat (limited to 'source/Protocol/Protocol142.h')
-rw-r--r-- | source/Protocol/Protocol142.h | 39 |
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;
+} ;
+
+
+
+
|