summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.cpp
diff options
context:
space:
mode:
authorjan64 <jan64.email@gmail.com>2015-06-02 19:59:46 +0200
committerjan64 <jan64.email@gmail.com>2015-06-02 19:59:46 +0200
commitd37e0eb72b12cd47863bdca78a790a3f6193d863 (patch)
tree4036b4b29e577b4886ab2d77d7f2b9bc601b7091 /src/Protocol/ProtocolRecognizer.cpp
parentMerge pull request #2182 from birkett/master (diff)
downloadcuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.tar
cuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.tar.gz
cuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.tar.bz2
cuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.tar.lz
cuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.tar.xz
cuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.tar.zst
cuberite-d37e0eb72b12cd47863bdca78a790a3f6193d863.zip
Diffstat (limited to '')
-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);