summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.cpp
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2016-09-22 11:51:22 +0200
committerLukas Pioch <lukas@zgow.de>2016-10-21 11:17:39 +0200
commitb088123d1818b9b3585032906036778128c76bfc (patch)
treee73bb368cc26cf3c6b5041bc27ae818ec50a25f9 /src/Protocol/ProtocolRecognizer.cpp
parentStyleCheck: Add "else has to be on a separate line" (#3412) (diff)
downloadcuberite-b088123d1818b9b3585032906036778128c76bfc.tar
cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.gz
cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.bz2
cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.lz
cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.xz
cuberite-b088123d1818b9b3585032906036778128c76bfc.tar.zst
cuberite-b088123d1818b9b3585032906036778128c76bfc.zip
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r--src/Protocol/ProtocolRecognizer.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp
index be97279a9..0c67f66f5 100644
--- a/src/Protocol/ProtocolRecognizer.cpp
+++ b/src/Protocol/ProtocolRecognizer.cpp
@@ -200,6 +200,16 @@ void cProtocolRecognizer::SendChat(const cCompositeChat & a_Message, eChatType a
+void cProtocolRecognizer::SendChatRaw(const AString & a_MessageRaw, eChatType a_Type)
+{
+ ASSERT(m_Protocol != nullptr);
+ m_Protocol->SendChatRaw(a_MessageRaw, a_Type);
+}
+
+
+
+
+
void cProtocolRecognizer::SendChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer)
{
ASSERT(m_Protocol != nullptr);