summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol.h
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2015-09-21 14:30:17 +0200
committerworktycho <work.tycho@gmail.com>2015-09-21 14:30:17 +0200
commit87489dc30846e0b46822d5ed3b841417577d1fff (patch)
tree6d30b3e0f16b151b50bc39a675b5b2472543a1f6 /src/Protocol/Protocol.h
parentMerge pull request #2487 from cuberite/sigpipe (diff)
parentRefactored cProtocol Chat handling (diff)
downloadcuberite-87489dc30846e0b46822d5ed3b841417577d1fff.tar
cuberite-87489dc30846e0b46822d5ed3b841417577d1fff.tar.gz
cuberite-87489dc30846e0b46822d5ed3b841417577d1fff.tar.bz2
cuberite-87489dc30846e0b46822d5ed3b841417577d1fff.tar.lz
cuberite-87489dc30846e0b46822d5ed3b841417577d1fff.tar.xz
cuberite-87489dc30846e0b46822d5ed3b841417577d1fff.tar.zst
cuberite-87489dc30846e0b46822d5ed3b841417577d1fff.zip
Diffstat (limited to 'src/Protocol/Protocol.h')
-rw-r--r--src/Protocol/Protocol.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h
index 9153ec8ae..4581da6a9 100644
--- a/src/Protocol/Protocol.h
+++ b/src/Protocol/Protocol.h
@@ -68,14 +68,8 @@ public:
virtual void SendBlockBreakAnim (UInt32 a_EntityID, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Stage) = 0;
virtual void SendBlockChange (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) = 0;
virtual void SendBlockChanges (int a_ChunkX, int a_ChunkZ, const sSetBlockVector & a_Changes) = 0;
- virtual void SendChat (const AString & a_Message) = 0;
- virtual void SendChat (const cCompositeChat & a_Message) = 0;
- virtual void SendChatAboveActionBar (const AString & a_Message) = 0;
- virtual void SendChatAboveActionBar (const cCompositeChat & a_Message) = 0;
- virtual void SendChatSystem (const AString & a_Message) = 0;
- virtual void SendChatSystem (const cCompositeChat & a_Message) = 0;
- virtual void SendChatType (const AString & a_Message, eChatType type) = 0;
- virtual void SendChatType (const cCompositeChat & a_Message, eChatType type) = 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 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;