summaryrefslogtreecommitdiffstats
path: root/source/Protocol/Protocol17x.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-11-04 21:20:36 +0100
committermadmaxoft <github@xoft.cz>2013-11-04 21:20:36 +0100
commitd47a8ea008062b2857142cbb096a7f045308527e (patch)
treee956cbc958e78be3c88388701d0b3c7cdeb0b97c /source/Protocol/Protocol17x.h
parentProtocol 1.7: Added client status packet. (diff)
downloadcuberite-d47a8ea008062b2857142cbb096a7f045308527e.tar
cuberite-d47a8ea008062b2857142cbb096a7f045308527e.tar.gz
cuberite-d47a8ea008062b2857142cbb096a7f045308527e.tar.bz2
cuberite-d47a8ea008062b2857142cbb096a7f045308527e.tar.lz
cuberite-d47a8ea008062b2857142cbb096a7f045308527e.tar.xz
cuberite-d47a8ea008062b2857142cbb096a7f045308527e.tar.zst
cuberite-d47a8ea008062b2857142cbb096a7f045308527e.zip
Diffstat (limited to 'source/Protocol/Protocol17x.h')
-rw-r--r--source/Protocol/Protocol17x.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Protocol/Protocol17x.h b/source/Protocol/Protocol17x.h
index 4be166814..e3a51b844 100644
--- a/source/Protocol/Protocol17x.h
+++ b/source/Protocol/Protocol17x.h
@@ -167,6 +167,8 @@ protected:
void WriteItem(const cItem & a_Item);
void WriteByteAngle(double a_Angle); // Writes the specified angle using a single byte
void WriteFPInt(double a_Value); // Writes the double value as a 27:5 fixed-point integer
+ void WriteEntityMetadata(const cEntity & a_Entity); // Writes the metadata for the specified entity, not including the terminating 0x7f
+ void WriteMobMetadata(const cMonster & a_Mob); // Writes the mob-specific metadata for the specified mob
protected:
cProtocol172 & m_Protocol;