summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_12.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2019-09-09 18:22:37 +0200
committerMattes D <github@xoft.cz>2019-09-10 09:45:28 +0200
commit2c804dd34a58ff9702bd1ab2cab30f6a61503638 (patch)
tree16b3052c65f65231898205d670c52660f79b661f /src/Protocol/Protocol_1_12.h
parentChunkGenerator: Changed to use cChunkCoords. (diff)
downloadcuberite-2c804dd34a58ff9702bd1ab2cab30f6a61503638.tar
cuberite-2c804dd34a58ff9702bd1ab2cab30f6a61503638.tar.gz
cuberite-2c804dd34a58ff9702bd1ab2cab30f6a61503638.tar.bz2
cuberite-2c804dd34a58ff9702bd1ab2cab30f6a61503638.tar.lz
cuberite-2c804dd34a58ff9702bd1ab2cab30f6a61503638.tar.xz
cuberite-2c804dd34a58ff9702bd1ab2cab30f6a61503638.tar.zst
cuberite-2c804dd34a58ff9702bd1ab2cab30f6a61503638.zip
Diffstat (limited to 'src/Protocol/Protocol_1_12.h')
-rw-r--r--src/Protocol/Protocol_1_12.h8
1 files changed, 4 insertions, 4 deletions
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;