summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol16x.h
blob: 60e3d13603713b133cd1a9f8cc953bd927d59f2c (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
40
41
42
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;
} ;