diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-19 21:49:29 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-07-19 21:49:29 +0200 |
commit | 5dd51e87e5b59e81287c2b29c2a82b4ac2c2a1d0 (patch) | |
tree | 86265b8850b6c84a465e227555245f353ff7b5d7 /src/Protocol/Protocol_1_12.cpp | |
parent | Remove Waterlogged value from registry (diff) | |
download | cuberite-5dd51e87e5b59e81287c2b29c2a82b4ac2c2a1d0.tar cuberite-5dd51e87e5b59e81287c2b29c2a82b4ac2c2a1d0.tar.gz cuberite-5dd51e87e5b59e81287c2b29c2a82b4ac2c2a1d0.tar.bz2 cuberite-5dd51e87e5b59e81287c2b29c2a82b4ac2c2a1d0.tar.lz cuberite-5dd51e87e5b59e81287c2b29c2a82b4ac2c2a1d0.tar.xz cuberite-5dd51e87e5b59e81287c2b29c2a82b4ac2c2a1d0.tar.zst cuberite-5dd51e87e5b59e81287c2b29c2a82b4ac2c2a1d0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol_1_12.cpp | 29 |
1 files changed, 4 insertions, 25 deletions
diff --git a/src/Protocol/Protocol_1_12.cpp b/src/Protocol/Protocol_1_12.cpp index 804e26b40..29e6cbac8 100644 --- a/src/Protocol/Protocol_1_12.cpp +++ b/src/Protocol/Protocol_1_12.cpp @@ -318,14 +318,8 @@ namespace Metadata_1_12 -cProtocol_1_12::cProtocol_1_12(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State) : - Super(a_Client, a_ServerAddress, a_ServerPort, a_State) -{ -} - - - - +//////////////////////////////////////////////////////////////////////////////// +// cProtocol_1_12: void cProtocol_1_12::WriteEntityMetadata(cPacketizer & a_Pkt, const cEntity & a_Entity) { @@ -1118,14 +1112,8 @@ bool cProtocol_1_12::HandlePacket(cByteBuffer & a_ByteBuffer, UInt32 a_PacketTyp -cProtocol_1_12_1::cProtocol_1_12_1(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State) : - Super(a_Client, a_ServerAddress, a_ServerPort, a_State) -{ -} - - - - +//////////////////////////////////////////////////////////////////////////////// +// cProtocol_1_12_1: UInt32 cProtocol_1_12_1::GetPacketID(ePacketType a_Packet) { @@ -1276,15 +1264,6 @@ bool cProtocol_1_12_1::HandlePacket(cByteBuffer & a_ByteBuffer, UInt32 a_PacketT //////////////////////////////////////////////////////////////////////////////// // cProtocol_1_12_2:: -cProtocol_1_12_2::cProtocol_1_12_2(cClientHandle * a_Client, const AString & a_ServerAddress, UInt16 a_ServerPort, UInt32 a_State) : - Super(a_Client, a_ServerAddress, a_ServerPort, a_State) -{ -} - - - - - cProtocol::Version cProtocol_1_12_2::GetProtocolVersion() { return Version::Version_1_12_2; |