summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol.h
diff options
context:
space:
mode:
authortycho <work.tycho@gmail.com>2015-09-21 00:07:53 +0200
committertycho <work.tycho@gmail.com>2015-09-21 13:32:56 +0200
commitfd7b87741a39de10584b1b1c24982699ab3e3fab (patch)
tree6d30b3e0f16b151b50bc39a675b5b2472543a1f6 /src/Protocol/Protocol.h
parentMerge pull request #2487 from cuberite/sigpipe (diff)
downloadcuberite-fd7b87741a39de10584b1b1c24982699ab3e3fab.tar
cuberite-fd7b87741a39de10584b1b1c24982699ab3e3fab.tar.gz
cuberite-fd7b87741a39de10584b1b1c24982699ab3e3fab.tar.bz2
cuberite-fd7b87741a39de10584b1b1c24982699ab3e3fab.tar.lz
cuberite-fd7b87741a39de10584b1b1c24982699ab3e3fab.tar.xz
cuberite-fd7b87741a39de10584b1b1c24982699ab3e3fab.tar.zst
cuberite-fd7b87741a39de10584b1b1c24982699ab3e3fab.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;