summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_8.h
diff options
context:
space:
mode:
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;