summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-02-15 23:16:44 +0100
committermadmaxoft <github@xoft.cz>2014-02-15 23:17:49 +0100
commit0f1f7583aeea65335b2ee051585a857b1142a927 (patch)
treed87a4a6c92ea5f144327d2e88d5bd5845cd668e8 /src/ClientHandle.cpp
parentMerge pull request #679 from mc-server/NotchDeath (diff)
downloadcuberite-0f1f7583aeea65335b2ee051585a857b1142a927.tar
cuberite-0f1f7583aeea65335b2ee051585a857b1142a927.tar.gz
cuberite-0f1f7583aeea65335b2ee051585a857b1142a927.tar.bz2
cuberite-0f1f7583aeea65335b2ee051585a857b1142a927.tar.lz
cuberite-0f1f7583aeea65335b2ee051585a857b1142a927.tar.xz
cuberite-0f1f7583aeea65335b2ee051585a857b1142a927.tar.zst
cuberite-0f1f7583aeea65335b2ee051585a857b1142a927.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp
index 1b3ebc3d4..f8a707324 100644
--- a/src/ClientHandle.cpp
+++ b/src/ClientHandle.cpp
@@ -31,6 +31,7 @@
#include "MersenneTwister.h"
#include "Protocol/ProtocolRecognizer.h"
+#include "CompositeChat.h"
@@ -1729,7 +1730,7 @@ void cClientHandle::SendBlockChanges(int a_ChunkX, int a_ChunkZ, const sSetBlock
-void cClientHandle::SendChat(const AString & a_Message, ChatPrefixCodes a_ChatPrefix, const AString & a_AdditionalData)
+void cClientHandle::SendChat(const AString & a_Message, eMessageType a_ChatPrefix, const AString & a_AdditionalData)
{
bool ShouldAppendChatPrefixes = true;
@@ -1840,6 +1841,15 @@ void cClientHandle::SendChat(const AString & a_Message, ChatPrefixCodes a_ChatPr
+void cClientHandle::SendChat(const cCompositeChat & a_Message)
+{
+ m_Protocol->SendChat(a_Message);
+}
+
+
+
+
+
void cClientHandle::SendChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer)
{
ASSERT(m_Player != NULL);