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/Protocol/Protocol.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Protocol/Protocol.h') diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h index 3874307de..137a47acc 100644 --- a/src/Protocol/Protocol.h +++ b/src/Protocol/Protocol.h @@ -72,6 +72,7 @@ public: virtual void SendCameraSetTo (const cEntity & a_Entity) = 0; virtual void SendChat (const AString & a_Message, eChatType a_Type) = 0; virtual void SendChat (const cCompositeChat & a_Message, eChatType a_Type, bool a_ShouldUseChatPrefixes) = 0; + virtual void SendChatRaw (const AString & a_MessageRaw, eChatType a_Type) = 0; virtual void SendChunkData (int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer) = 0; virtual void SendCollectEntity (const cEntity & a_Entity, const cPlayer & a_Player) = 0; virtual void SendDestroyEntity (const cEntity & a_Entity) = 0; -- cgit v1.2.3