Chat bot integration now fully functional.
This commit is contained in:
@@ -813,6 +813,10 @@ AbstractClientStateReceiving::HandlePacket(boost::shared_ptr<ClientThread> clien
|
||||
client->GetCallback().SignalNetClientGameChatMsg("(global notice)", STL_STRING_FROM_OCTET_STRING(netMessage->chatText));
|
||||
client->GetCallback().SignalNetClientLobbyChatMsg("(global notice)", STL_STRING_FROM_OCTET_STRING(netMessage->chatText));
|
||||
}
|
||||
else if (netMessage->chatType.present == chatType_PR_chatTypeBot)
|
||||
{
|
||||
client->GetCallback().SignalNetClientLobbyChatMsg("(chat bot)", STL_STRING_FROM_OCTET_STRING(netMessage->chatText));
|
||||
}
|
||||
else if (netMessage->chatType.present == chatType_PR_chatTypeGame)
|
||||
{
|
||||
unsigned playerId = netMessage->chatType.choice.chatTypeGame.playerId;
|
||||
|
||||
Reference in New Issue
Block a user