diff options
author | Lukas Pioch <lukas@zgow.de> | 2016-10-23 22:52:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-23 22:52:10 +0200 |
commit | 824f5dbbd6b88226b6899b7566fecb3af2cc6d58 (patch) | |
tree | e73bb368cc26cf3c6b5041bc27ae818ec50a25f9 /src/Protocol/ProtocolRecognizer.cpp | |
parent | StyleCheck: Add "else has to be on a separate line" (#3412) (diff) | |
parent | Added SendMessageRaw for sending json string. (diff) | |
download | cuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.tar cuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.tar.gz cuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.tar.bz2 cuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.tar.lz cuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.tar.xz cuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.tar.zst cuberite-824f5dbbd6b88226b6899b7566fecb3af2cc6d58.zip |
Diffstat (limited to 'src/Protocol/ProtocolRecognizer.cpp')
-rw-r--r-- | src/Protocol/ProtocolRecognizer.cpp | 10 |
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); |