summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol142.h
blob: e84cab72ce18c4e0f64164fa6e8c95c6ce70c245 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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;
} ;