1
0

Implemented cCompositeChat.

This allows plugins to send composite chat messages, containing URLs, commands to run and cmdline suggestions.
Fixes #678.
This commit is contained in:
madmaxoft
2014-02-15 23:16:44 +01:00
parent 584f7bd806
commit 0f1f7583ae
18 changed files with 671 additions and 21 deletions

View File

@@ -159,6 +159,16 @@ void cProtocolRecognizer::SendChat(const AString & a_Message)
void cProtocolRecognizer::SendChat(const cCompositeChat & a_Message)
{
ASSERT(m_Protocol != NULL);
m_Protocol->SendChat(a_Message);
}
void cProtocolRecognizer::SendChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer)
{
ASSERT(m_Protocol != NULL);