summaryrefslogtreecommitdiffstats
path: root/src/Protocol/ProtocolRecognizer.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/ProtocolRecognizer.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/ProtocolRecognizer.h')
-rw-r--r--src/Protocol/ProtocolRecognizer.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/Protocol/ProtocolRecognizer.h b/src/Protocol/ProtocolRecognizer.h
index d3cfd9bf7..7b5952bea 100644
--- a/src/Protocol/ProtocolRecognizer.h
+++ b/src/Protocol/ProtocolRecognizer.h
@@ -53,14 +53,8 @@ public:
virtual void SendBlockBreakAnim (UInt32 a_EntityID, int a_BlockX, int a_BlockY, int a_BlockZ, char a_Stage) override;
virtual void SendBlockChange (int a_BlockX, int a_BlockY, int a_BlockZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) override;
virtual void SendBlockChanges (int a_ChunkX, int a_ChunkZ, const sSetBlockVector & a_Changes) override;
- virtual void SendChat (const AString & a_Message) override;
- virtual void SendChat (const cCompositeChat & a_Message) override;
- virtual void SendChatAboveActionBar (const AString & a_Message) override;
- virtual void SendChatAboveActionBar (const cCompositeChat & a_Message) override;
- virtual void SendChatSystem (const AString & a_Message) override;
- virtual void SendChatSystem (const cCompositeChat & a_Message) override;
- virtual void SendChatType (const AString & a_Message, eChatType type) override;
- virtual void SendChatType (const cCompositeChat & a_Message, eChatType type) override;
+ virtual void SendChat (const AString & a_Message, eChatType a_Type) override;
+ virtual void SendChat (const cCompositeChat & a_Message, eChatType a_Type, bool a_ShouldUseChatPrefixes) override;
virtual void SendChunkData (int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer) override;
virtual void SendCollectEntity (const cEntity & a_Entity, const cPlayer & a_Player) override;
virtual void SendDestroyEntity (const cEntity & a_Entity) override;