diff options
author | Mattes D <github@xoft.cz> | 2015-06-03 09:49:28 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-06-03 09:49:28 +0200 |
commit | 1f2c9b226ca9287237d4489e08419076f4a87620 (patch) | |
tree | f5e5b669b0f8c3fe98b39133c5772df2db6ad5c0 /src/Protocol/ProtocolRecognizer.cpp | |
parent | Merge pull request #2190 from mc-server/CrashDumpArgs (diff) | |
parent | Added system and above action bar chat messages (diff) | |
download | cuberite-1f2c9b226ca9287237d4489e08419076f4a87620.tar cuberite-1f2c9b226ca9287237d4489e08419076f4a87620.tar.gz cuberite-1f2c9b226ca9287237d4489e08419076f4a87620.tar.bz2 cuberite-1f2c9b226ca9287237d4489e08419076f4a87620.tar.lz cuberite-1f2c9b226ca9287237d4489e08419076f4a87620.tar.xz cuberite-1f2c9b226ca9287237d4489e08419076f4a87620.tar.zst cuberite-1f2c9b226ca9287237d4489e08419076f4a87620.zip |
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r-- | src/Protocol/ProtocolRecognizer.cpp | 60 |
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); |