diff options
author | 12xx12 <44411062+12xx12@users.noreply.github.com> | 2021-03-05 16:08:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-05 16:08:30 +0100 |
commit | 8405b8969f205ffae219361dfc03f3b4c680ce73 (patch) | |
tree | cc1aef4347d9e399b80a32afa16b657885fd3603 /src/Protocol/Protocol.h | |
parent | Add Mushrooms to Generator and fixed up the roofed forest (#5134) (diff) | |
download | cuberite-8405b8969f205ffae219361dfc03f3b4c680ce73.tar cuberite-8405b8969f205ffae219361dfc03f3b4c680ce73.tar.gz cuberite-8405b8969f205ffae219361dfc03f3b4c680ce73.tar.bz2 cuberite-8405b8969f205ffae219361dfc03f3b4c680ce73.tar.lz cuberite-8405b8969f205ffae219361dfc03f3b4c680ce73.tar.xz cuberite-8405b8969f205ffae219361dfc03f3b4c680ce73.tar.zst cuberite-8405b8969f205ffae219361dfc03f3b4c680ce73.zip |
Diffstat (limited to 'src/Protocol/Protocol.h')
-rw-r--r-- | src/Protocol/Protocol.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h index 7b5ad7a51..41c461e76 100644 --- a/src/Protocol/Protocol.h +++ b/src/Protocol/Protocol.h @@ -67,6 +67,7 @@ public: pktBlockBreakAnim, pktBlockChange, pktBlockChanges, + pktBossBar, pktCameraSetTo, pktChatRaw, pktCollectEntity, @@ -362,6 +363,12 @@ public: virtual void SendBlockBreakAnim (UInt32 a_EntityID, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Stage) = 0; virtual void SendBlockChange (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) = 0; virtual void SendBlockChanges (int a_ChunkX, int a_ChunkZ, const sSetBlockVector & a_Changes) = 0; + virtual void SendBossBarAdd (UInt32 a_UniqueID, const cCompositeChat & a_Title, float a_FractionFilled, BossBarColor a_Color, BossBarDivisionType a_DivisionType, bool a_DarkenSky, bool a_PlayEndMusic, bool a_CreateFog) = 0; + virtual void SendBossBarRemove (UInt32 a_UniqueID) = 0; + virtual void SendBossBarUpdateHealth (UInt32 a_UniqueID, float a_FractionFilled) = 0; + virtual void SendBossBarUpdateFlags (UInt32 a_UniqueID, bool a_DarkenSky, bool a_PlayEndMusic, bool a_CreateFog) = 0; + virtual void SendBossBarUpdateStyle (UInt32 a_UniqueID, BossBarColor a_Color, BossBarDivisionType a_DivisionType) = 0; + virtual void SendBossBarUpdateTitle (UInt32 a_UniqueID, const cCompositeChat & a_Title) = 0; virtual void SendCameraSetTo (const cEntity & a_Entity) = 0; virtual void SendChat (const AString & a_Message, eChatType a_Type) = 0; virtual void SendChat (const cCompositeChat & a_Message, eChatType a_Type, bool a_ShouldUseChatPrefixes) = 0; |