summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol_1_11.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
committerAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
commitcb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a (patch)
treef647b20e1823f1846af88e832cf82a4a02e96e69 /src/Protocol/Protocol_1_11.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.gz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.bz2
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.lz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.xz
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.tar.zst
cuberite-cb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a.zip
Diffstat (limited to 'src/Protocol/Protocol_1_11.h')
-rw-r--r--src/Protocol/Protocol_1_11.h30
1 files changed, 12 insertions, 18 deletions
diff --git a/src/Protocol/Protocol_1_11.h b/src/Protocol/Protocol_1_11.h
index 5bf03a9dd..9d71ea31d 100644
--- a/src/Protocol/Protocol_1_11.h
+++ b/src/Protocol/Protocol_1_11.h
@@ -21,23 +21,20 @@ Declares the 1.11 protocol classes:
-class cProtocol_1_11_0:
- public cProtocol_1_10_0
+class cProtocol_1_11_0 : public cProtocol_1_10_0
{
using Super = cProtocol_1_10_0;
-public:
-
+ public:
using Super::Super;
-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;
- virtual void SendTitleTimes (int a_FadeInTicks, int a_DisplayTicks, int a_FadeOutTicks) override;
+ 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;
+ virtual void SendTitleTimes(int a_FadeInTicks, int a_DisplayTicks, int a_FadeOutTicks) override;
virtual void SendUpdateBlockEntity(cBlockEntity & a_BlockEntity) override;
virtual signed char GetProtocolEntityStatus(EntityAnimation a_Animation) const override;
@@ -55,16 +52,13 @@ protected:
-class cProtocol_1_11_1:
- public cProtocol_1_11_0
+class cProtocol_1_11_1 : public cProtocol_1_11_0
{
using Super = cProtocol_1_11_0;
-public:
-
+ public:
using Super::Super;
-protected:
-
+ protected:
virtual Version GetProtocolVersion() const override;
};