diff options
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.cpp | 66 |
1 files changed, 60 insertions, 6 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 3c003e132..683a243fe 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -2188,6 +2188,60 @@ void cClientHandle::SendBlockChanges(int a_ChunkX, int a_ChunkZ, const sSetBlock +void cClientHandle::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) +{ + m_Protocol->SendBossBarAdd(a_UniqueID, a_Title, a_FractionFilled, a_Color, a_DivisionType, a_DarkenSky, a_PlayEndMusic, a_CreateFog); +} + + + + + +void cClientHandle::SendBossBarUpdateFlags(UInt32 a_UniqueID, bool a_DarkenSky, bool a_PlayEndMusic, bool a_CreateFog) +{ + m_Protocol->SendBossBarUpdateFlags(a_UniqueID, a_DarkenSky, a_PlayEndMusic, a_CreateFog); +} + + + + + +void cClientHandle::SendBossBarUpdateStyle(UInt32 a_UniqueID, BossBarColor a_Color, BossBarDivisionType a_DivisionType) +{ + m_Protocol->SendBossBarUpdateStyle(a_UniqueID, a_Color, a_DivisionType); +} + + + + + +void cClientHandle::SendBossBarUpdateTitle(UInt32 a_UniqueID, const cCompositeChat & a_Title) +{ + m_Protocol->SendBossBarUpdateTitle(a_UniqueID, a_Title); +} + + + + + +void cClientHandle::SendBossBarRemove(UInt32 a_UniqueID) +{ + m_Protocol->SendBossBarRemove(a_UniqueID); +} + + + + + +void cClientHandle::SendBossBarUpdateHealth(UInt32 a_UniqueID, float a_FractionFilled) +{ + m_Protocol->SendBossBarUpdateHealth(a_UniqueID, a_FractionFilled); +} + + + + + void cClientHandle::SendCameraSetTo(const cEntity & a_Entity) { m_Protocol->SendCameraSetTo(a_Entity); @@ -2643,27 +2697,27 @@ void cClientHandle::SendPlayerListRemovePlayer(const cPlayer & a_Player) -void cClientHandle::SendPlayerListUpdateGameMode(const cPlayer & a_Player) +void cClientHandle::SendPlayerListUpdateDisplayName(const cPlayer & a_Player, const AString & a_CustomName) { - m_Protocol->SendPlayerListUpdateGameMode(a_Player); + m_Protocol->SendPlayerListUpdateDisplayName(a_Player, a_CustomName); } -void cClientHandle::SendPlayerListUpdatePing(const cPlayer & a_Player) +void cClientHandle::SendPlayerListUpdateGameMode(const cPlayer & a_Player) { - m_Protocol->SendPlayerListUpdatePing(a_Player); + m_Protocol->SendPlayerListUpdateGameMode(a_Player); } -void cClientHandle::SendPlayerListUpdateDisplayName(const cPlayer & a_Player, const AString & a_CustomName) +void cClientHandle::SendPlayerListUpdatePing(const cPlayer & a_Player) { - m_Protocol->SendPlayerListUpdateDisplayName(a_Player, a_CustomName); + m_Protocol->SendPlayerListUpdatePing(a_Player); } |