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/Entities/Player.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Entities/Player.h') diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 04cb5232b..cc83b1ca2 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -256,6 +256,7 @@ public: void SendMessageFatal (const AString & a_Message) { m_ClientHandle->SendChat(a_Message, mtFailure); } void SendMessagePrivateMsg (const AString & a_Message, const AString & a_Sender) { m_ClientHandle->SendChat(a_Message, mtPrivateMessage, a_Sender); } void SendMessage (const cCompositeChat & a_Message) { m_ClientHandle->SendChat(a_Message); } + void SendMessageRaw (const AString & a_MessageRaw, eChatType a_Type = eChatType::ctChatBox) { m_ClientHandle->SendChatRaw(a_MessageRaw, a_Type); } void SendSystemMessage (const AString & a_Message) { m_ClientHandle->SendChatSystem(a_Message, mtCustom); } void SendAboveActionBarMessage(const AString & a_Message) { m_ClientHandle->SendChatAboveActionBar(a_Message, mtCustom); } -- cgit v1.2.3