summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_13.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-08-20 22:34:46 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-08-21 01:53:09 +0200
commit82d251b71be3091575a86e507fa4f587af4d4330 (patch)
treec0d6142859da36f424eef1ddb6aaa350c80ba4c7 /src/Protocol/Protocol_1_13.h
parentRemove complex templated SendBlockChange (diff)
downloadcuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.gz
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.bz2
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.lz
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.xz
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.tar.zst
cuberite-82d251b71be3091575a86e507fa4f587af4d4330.zip
Diffstat (limited to 'src/Protocol/Protocol_1_13.h')
-rw-r--r--src/Protocol/Protocol_1_13.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Protocol/Protocol_1_13.h b/src/Protocol/Protocol_1_13.h
index 1d19c59fe..8100b2cb9 100644
--- a/src/Protocol/Protocol_1_13.h
+++ b/src/Protocol/Protocol_1_13.h
@@ -56,8 +56,8 @@ protected:
/** Converts eMonsterType to protocol-specific mob types */
virtual UInt32 GetProtocolMobType(eMonsterType a_MobType) override;
- virtual UInt8 GetEntityMetadataID(eEntityMetadata a_Metadata);
- virtual UInt8 GetEntityMetadataID(eEntityMetadataType a_FieldType);
+ virtual UInt8 GetEntityMetadataID(EntityMetadata a_Metadata);
+ virtual UInt8 GetEntityMetadataID(EntityMetadataType a_FieldType);
virtual std::pair<short, short> GetItemFromProtocolID(UInt32 a_ProtocolID);
virtual UInt32 GetProtocolBlockType(BLOCKTYPE a_BlockType, NIBBLETYPE a_Meta);
virtual UInt32 GetProtocolItemType(short a_ItemID, short a_ItemDamage);
@@ -69,7 +69,7 @@ protected:
virtual bool ReadItem(cByteBuffer & a_ByteBuffer, cItem & a_Item, size_t a_KeepRemainingBytes) override;
virtual void WriteItem(cPacketizer & a_Pkt, const cItem & a_Item) override;
- virtual void WriteEntityMetadata(cPacketizer & a_Pkt, const eEntityMetadata a_Metadata, const eEntityMetadataType a_FieldType);
+ virtual void WriteEntityMetadata(cPacketizer & a_Pkt, EntityMetadata a_Metadata, EntityMetadataType a_FieldType);
virtual void WriteEntityMetadata(cPacketizer & a_Pkt, const cEntity & a_Entity) override;
virtual void WriteMobMetadata(cPacketizer & a_Pkt, const cMonster & a_Mob) override;
};