diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-11 20:42:22 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@outlook.com> | 2020-09-18 17:41:06 +0200 |
commit | acc399ffb3a8a542b0bb99d056de045f7e7d26e0 (patch) | |
tree | 711c11765121f5c96699c5cb4864e3d8c9787c28 /src/Protocol/Protocol_1_14.h | |
parent | Adding Generator For Single Piece Structures (#4830) (diff) | |
download | cuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.tar cuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.tar.gz cuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.tar.bz2 cuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.tar.lz cuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.tar.xz cuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.tar.zst cuberite-acc399ffb3a8a542b0bb99d056de045f7e7d26e0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol_1_14.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Protocol/Protocol_1_14.h b/src/Protocol/Protocol_1_14.h index 54b9c080f..e9bbca6eb 100644 --- a/src/Protocol/Protocol_1_14.h +++ b/src/Protocol/Protocol_1_14.h @@ -42,17 +42,16 @@ protected: virtual UInt32 GetPacketID(ePacketType a_PacketType) override; virtual Version GetProtocolVersion() override; + virtual std::pair<short, short> GetItemFromProtocolID(UInt32 a_ProtocolID) override; + virtual UInt32 GetProtocolBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta) override; + virtual UInt32 GetProtocolItemType(short a_ItemID, short a_ItemDamage) override; + virtual UInt32 GetProtocolStatisticType(Statistic a_Statistic) override; virtual bool HandlePacket(cByteBuffer & a_ByteBuffer, UInt32 a_PacketType) override; virtual void HandlePacketBlockDig(cByteBuffer & a_ByteBuffer) override; virtual void HandlePacketBlockPlace(cByteBuffer & a_ByteBuffer) override; virtual void HandlePacketUpdateSign(cByteBuffer & a_ByteBuffer) override; - virtual std::pair<short, short> GetItemFromProtocolID(UInt32 a_ProtocolID) override; - virtual UInt32 GetProtocolBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta) override; - virtual UInt32 GetProtocolItemType(short a_ItemID, short a_ItemDamage) override; - virtual UInt32 GetProtocolStatisticType(Statistic a_Statistic) override; - virtual void WriteEntityMetadata(cPacketizer & a_Pkt, const cEntity & a_Entity) override {} virtual void WriteMobMetadata(cPacketizer & a_Pkt, const cMonster & a_Mob) override {} }; |