From d47a8ea008062b2857142cbb096a7f045308527e Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Mon, 4 Nov 2013 21:20:36 +0100 Subject: Protocol 1.7: Added more client-bound packets. Untested, still more to come. --- source/Protocol/Protocol17x.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/Protocol/Protocol17x.h') 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; -- cgit v1.2.3