From 66c211c33afa1dc99f6dc3a03119ad0b99ce50c5 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Fri, 9 Apr 2021 23:17:01 +0100 Subject: Unify multiprotocol entity animations --- src/Protocol/Protocol_1_11.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Protocol/Protocol_1_11.h') diff --git a/src/Protocol/Protocol_1_11.h b/src/Protocol/Protocol_1_11.h index 6cd4d7607..f5ed73187 100644 --- a/src/Protocol/Protocol_1_11.h +++ b/src/Protocol/Protocol_1_11.h @@ -33,6 +33,7 @@ public: protected: virtual void SendCollectEntity (const cEntity & a_Collected, const cEntity & a_Collector, unsigned a_Count) override; + virtual void SendEntityAnimation (const cEntity & a_Entity, EntityAnimation a_Animation) override; virtual void SendHideTitle (void) override; virtual void SendResetTitle (void) override; virtual void SendSpawnMob (const cMonster & a_Mob) override; @@ -44,6 +45,7 @@ protected: /** Converts eMonsterType to protocol-specific mob IDs */ virtual UInt32 GetProtocolMobType(eMonsterType a_MobType) override; + virtual signed char GetProtocolEntityStatus(EntityAnimation a_Animation) const override; virtual void HandlePacketBlockPlace (cByteBuffer & a_ByteBuffer) override; -- cgit v1.2.3