summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_8.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-12-15 20:21:43 +0100
committerMattes D <github@xoft.cz>2016-12-16 00:07:22 +0100
commit0e3b3be7662f03b7487408f70548eaca1188da3d (patch)
tree3751d17812c46e5847684d8f968f24c4a4e268d2 /src/Protocol/Protocol_1_8.h
parentAPIDump: Load the official undocumented from alternate location. (diff)
downloadcuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar
cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.gz
cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.bz2
cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.lz
cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.xz
cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.tar.zst
cuberite-0e3b3be7662f03b7487408f70548eaca1188da3d.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol_1_8.h (renamed from src/Protocol/Protocol18x.h)15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/Protocol/Protocol18x.h b/src/Protocol/Protocol_1_8.h
index 71bc95ef8..564443a38 100644
--- a/src/Protocol/Protocol18x.h
+++ b/src/Protocol/Protocol_1_8.h
@@ -1,11 +1,10 @@
-// Protocol18x.h
+// Protocol_1_8.h
/*
-Declares the 1.8.x protocol classes:
- - cProtocol180
- - release 1.8.0 protocol (#47)
-(others may be added later in the future for the 1.8 release series)
+Declares the 1.8 protocol classes:
+ - cProtocol_1_8_0
+ - release 1.8 protocol (#47)
*/
@@ -47,14 +46,14 @@ namespace Json
-class cProtocol180 :
+class cProtocol_1_8_0 :
public cProtocol
{
typedef cProtocol super;
public:
- cProtocol180(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State);
+ cProtocol_1_8_0(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State);
/** Called when client sends some data: */
virtual void DataReceived(const char * a_Data, size_t a_Size) override;
@@ -70,7 +69,7 @@ public:
virtual void SendChat (const cCompositeChat & a_Message, eChatType a_Type, bool a_ShouldUseChatPrefixes) override;
virtual void SendChatRaw (const AString & a_MessageRaw, eChatType a_Type) override;
virtual void SendChunkData (int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer) override;
- virtual void SendCollectEntity (const cEntity & a_Entity, const cPlayer & a_Player) override;
+ virtual void SendCollectEntity (const cEntity & a_Entity, const cPlayer & a_Player, int a_Count) override;
virtual void SendDestroyEntity (const cEntity & a_Entity) override;
virtual void SendDetachEntity (const cEntity & a_Entity, const cEntity & a_PreviousVehicle) override;
virtual void SendDisconnect (const AString & a_Reason) override;