1
0

Added SendMessageRaw for sending json string.

This commit is contained in:
Lukas Pioch
2016-09-22 11:51:22 +02:00
parent 502b5ec732
commit b088123d18
11 changed files with 69 additions and 0 deletions

View File

@@ -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);