Added system and above action bar chat messages
This commit is contained in:
@@ -246,6 +246,60 @@ void cProtocol172::SendBlockChanges(int a_ChunkX, int a_ChunkZ, const sSetBlockV
|
||||
|
||||
|
||||
void cProtocol172::SendChat(const AString & a_Message)
|
||||
{
|
||||
this->SendChatType(a_Message, ctChatBox);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void cProtocol172::SendChat(const cCompositeChat & a_Message)
|
||||
{
|
||||
this->SendChatType(a_Message, ctChatBox);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void cProtocol172::SendChatSystem(const AString & a_Message)
|
||||
{
|
||||
this->SendChatType(a_Message, ctSystem);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void cProtocol172::SendChatSystem(const cCompositeChat & a_Message)
|
||||
{
|
||||
this->SendChatType(a_Message, ctSystem);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void cProtocol172::SendChatAboveActionBar(const AString & a_Message)
|
||||
{
|
||||
this->SendChatType(a_Message, ctAboveActionBar);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void cProtocol172::SendChatAboveActionBar(const cCompositeChat & a_Message)
|
||||
{
|
||||
this->SendChatType(a_Message, ctAboveActionBar);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void cProtocol172::SendChatType(const AString & a_Message, eChatType type)
|
||||
{
|
||||
ASSERT(m_State == 3); // In game mode?
|
||||
|
||||
@@ -257,7 +311,7 @@ void cProtocol172::SendChat(const AString & a_Message)
|
||||
|
||||
|
||||
|
||||
void cProtocol172::SendChat(const cCompositeChat & a_Message)
|
||||
void cProtocol172::SendChatType(const cCompositeChat & a_Message, eChatType type)
|
||||
{
|
||||
ASSERT(m_State == 3); // In game mode?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user