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_9.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/Protocol/Protocol_1_9.h') diff --git a/src/Protocol/Protocol_1_9.h b/src/Protocol/Protocol_1_9.h index d43c2bf09..99d65c77a 100644 --- a/src/Protocol/Protocol_1_9.h +++ b/src/Protocol/Protocol_1_9.h @@ -32,7 +32,7 @@ Declares the 1.9 protocol classes: class cProtocol_1_9_0 : public cProtocol { - typedef cProtocol super; + typedef cProtocol Super; public: @@ -172,7 +172,7 @@ protected: void AddReceivedData(const char * a_Data, size_t a_Size); /** Get the packet ID for a given packet */ - virtual UInt32 GetPacketId(eOutgoingPackets a_Packet) override; + virtual UInt32 GetPacketID(ePacketType a_Packet) override; /** Reads and handles the packet. The packet length and type have already been read. Returns true if the packet was understood, false if it was an unknown packet. */ @@ -289,7 +289,7 @@ protected: class cProtocol_1_9_1 : public cProtocol_1_9_0 { - typedef cProtocol_1_9_0 super; + typedef cProtocol_1_9_0 Super; public: cProtocol_1_9_1(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State); @@ -308,7 +308,7 @@ public: class cProtocol_1_9_2 : public cProtocol_1_9_1 { - typedef cProtocol_1_9_1 super; + typedef cProtocol_1_9_1 Super; public: cProtocol_1_9_2(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State); @@ -326,7 +326,7 @@ public: class cProtocol_1_9_4 : public cProtocol_1_9_2 { - typedef cProtocol_1_9_2 super; + typedef cProtocol_1_9_2 Super; public: cProtocol_1_9_4(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State); @@ -339,6 +339,6 @@ public: protected: - virtual UInt32 GetPacketId(eOutgoingPackets a_Packet) override; + virtual UInt32 GetPacketID(ePacketType a_Packet) override; } ; -- cgit v1.2.3