From 2c804dd34a58ff9702bd1ab2cab30f6a61503638 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Mon, 9 Sep 2019 18:22:37 +0200 Subject: Protocol: Use logical outgoing packet types. --- src/Protocol/Protocol_1_12.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Protocol/Protocol_1_12.h') diff --git a/src/Protocol/Protocol_1_12.h b/src/Protocol/Protocol_1_12.h index fe518fdbd..25a103801 100644 --- a/src/Protocol/Protocol_1_12.h +++ b/src/Protocol/Protocol_1_12.h @@ -27,7 +27,7 @@ Declares the 1.12 protocol classes: class cProtocol_1_12 : public cProtocol_1_11_1 { - typedef cProtocol_1_11_1 super; + typedef cProtocol_1_11_1 Super; public: cProtocol_1_12(cClientHandle * a_Client, const AString &a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State); @@ -48,7 +48,7 @@ protected: protected: - virtual UInt32 GetPacketId(eOutgoingPackets a_Packet) override; + virtual UInt32 GetPacketID(ePacketType a_Packet) override; }; @@ -58,13 +58,13 @@ protected: class cProtocol_1_12_1 : public cProtocol_1_12 { - typedef cProtocol_1_12 super; + typedef cProtocol_1_12 Super; public: cProtocol_1_12_1(cClientHandle * a_Client, const AString &a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State); protected: - virtual UInt32 GetPacketId(eOutgoingPackets a_Packet) override; + virtual UInt32 GetPacketID(ePacketType a_Packet) override; virtual bool HandlePacket(cByteBuffer & a_ByteBuffer, UInt32 a_PacketType) override; virtual void HandlePacketStatusRequest(cByteBuffer & a_ByteBuffer) override; -- cgit v1.2.3