summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.cpp
diff options
context:
space:
mode:
authorHaoTNN <haotnn@gmail.com>2015-06-03 11:57:07 +0200
committerHaoTNN <haotnn@gmail.com>2015-06-03 11:57:07 +0200
commit6f1a3cb6dd6c102342eb8cfa901530f4d022c98c (patch)
tree697e29dfcf31001023ac87b325ea41f047dd16ae /src/Protocol/ProtocolRecognizer.cpp
parentFixes multiple furnace issues, including from loading world storage (diff)
parentMerge pull request #2199 from jan64/master (diff)
downloadcuberite-6f1a3cb6dd6c102342eb8cfa901530f4d022c98c.tar
cuberite-6f1a3cb6dd6c102342eb8cfa901530f4d022c98c.tar.gz
cuberite-6f1a3cb6dd6c102342eb8cfa901530f4d022c98c.tar.bz2
cuberite-6f1a3cb6dd6c102342eb8cfa901530f4d022c98c.tar.lz
cuberite-6f1a3cb6dd6c102342eb8cfa901530f4d022c98c.tar.xz
cuberite-6f1a3cb6dd6c102342eb8cfa901530f4d022c98c.tar.zst
cuberite-6f1a3cb6dd6c102342eb8cfa901530f4d022c98c.zip
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r--src/Protocol/ProtocolRecognizer.cpp60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/Protocol/ProtocolRecognizer.cpp b/src/Protocol/ProtocolRecognizer.cpp
index 477f2d71e..c89c745a4 100644
--- a/src/Protocol/ProtocolRecognizer.cpp
+++ b/src/Protocol/ProtocolRecognizer.cpp
@@ -158,6 +158,66 @@ void cProtocolRecognizer::SendChat(const cCompositeChat & a_Message)
+void cProtocolRecognizer::SendChatAboveActionBar(const AString & a_Message)
+{
+ ASSERT(m_Protocol != nullptr);
+ m_Protocol->SendChatAboveActionBar(a_Message);
+}
+
+
+
+
+
+void cProtocolRecognizer::SendChatAboveActionBar(const cCompositeChat & a_Message)
+{
+ ASSERT(m_Protocol != nullptr);
+ m_Protocol->SendChatAboveActionBar(a_Message);
+}
+
+
+
+
+
+void cProtocolRecognizer::SendChatSystem(const AString & a_Message)
+{
+ ASSERT(m_Protocol != nullptr);
+ m_Protocol->SendChatSystem(a_Message);
+}
+
+
+
+
+
+void cProtocolRecognizer::SendChatSystem(const cCompositeChat & a_Message)
+{
+ ASSERT(m_Protocol != nullptr);
+ m_Protocol->SendChatSystem(a_Message);
+}
+
+
+
+
+
+void cProtocolRecognizer::SendChatType(const AString & a_Message, eChatType type)
+{
+ ASSERT(m_Protocol != nullptr);
+ m_Protocol->SendChatType(a_Message, type);
+}
+
+
+
+
+
+void cProtocolRecognizer::SendChatType(const cCompositeChat & a_Message, eChatType type)
+{
+ ASSERT(m_Protocol != nullptr);
+ m_Protocol->SendChatType(a_Message, type);
+}
+
+
+
+
+
void cProtocolRecognizer::SendChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer)
{
ASSERT(m_Protocol != nullptr);