summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol.h
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2016-10-23 22:52:10 +0200
committerGitHub <noreply@github.com>2016-10-23 22:52:10 +0200
commit824f5dbbd6b88226b6899b7566fecb3af2cc6d58 (patch)
treee73bb368cc26cf3c6b5041bc27ae818ec50a25f9 /src/Protocol/Protocol.h
parentStyleCheck: Add "else has to be on a separate line" (#3412) (diff)
parentAdded SendMessageRaw for sending json string. (diff)
downloadcuberite-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/Protocol.h')
-rw-r--r--src/Protocol/Protocol.h1
1 files changed, 1 insertions, 0 deletions
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;