From b088123d1818b9b3585032906036778128c76bfc Mon Sep 17 00:00:00 2001 From: Lukas Pioch Date: Thu, 22 Sep 2016 11:51:22 +0200 Subject: Added SendMessageRaw for sending json string. --- src/ClientHandle.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/ClientHandle.cpp') diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 469095b19..fc41a4f7c 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -2271,6 +2271,15 @@ void cClientHandle::SendChat(const cCompositeChat & a_Message) +void cClientHandle::SendChatRaw(const AString & a_MessageRaw, eChatType a_Type) +{ + m_Protocol->SendChatRaw(a_MessageRaw, a_Type); +} + + + + + void cClientHandle::SendChatAboveActionBar(const AString & a_Message, eMessageType a_ChatPrefix, const AString & a_AdditionalData) { cWorld * World = GetPlayer()->GetWorld(); -- cgit v1.2.3