summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol125.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2013-10-11 01:41:54 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2013-10-11 01:41:54 +0200
commitd7b2c534fd2e272c328b176432c922fd11a7cd85 (patch)
tree8431feefc1a28a05c18eb01c06a22550b7f34d77 /source/Protocol/Protocol125.h
parentSecond round of fixes (diff)
downloadcuberite-d7b2c534fd2e272c328b176432c922fd11a7cd85.tar
cuberite-d7b2c534fd2e272c328b176432c922fd11a7cd85.tar.gz
cuberite-d7b2c534fd2e272c328b176432c922fd11a7cd85.tar.bz2
cuberite-d7b2c534fd2e272c328b176432c922fd11a7cd85.tar.lz
cuberite-d7b2c534fd2e272c328b176432c922fd11a7cd85.tar.xz
cuberite-d7b2c534fd2e272c328b176432c922fd11a7cd85.tar.zst
cuberite-d7b2c534fd2e272c328b176432c922fd11a7cd85.zip
Diffstat (limited to '')
-rw-r--r--source/Protocol/Protocol125.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/Protocol/Protocol125.h b/source/Protocol/Protocol125.h
index 7b493881b..ae198780c 100644
--- a/source/Protocol/Protocol125.h
+++ b/source/Protocol/Protocol125.h
@@ -142,8 +142,14 @@ protected:
/// Parses one item, "slot" as the protocol wiki calls it, from m_ReceivedData; returns the usual ParsePacket() codes
virtual int ParseItem(cItem & a_Item);
- /// Writes the entity metadata
- void WriteMetadata(const cEntity & a_Entity);
+ /// Writes the COMMON entity metadata
+ void WriteCommonMetadata(const cEntity & a_Entity);
+
+ /// Writes normal entity metadata
+ void WriteEntityMetadata(const cEntity & a_Entity);
+
+ /// Writes mobile entity metadata
+ void WriteMobMetadata(const cMonster & a_Mob);
} ;