Adding server function to reconnect to the chat server.
This commit is contained in:
@@ -469,6 +469,12 @@ ServerLobbyThread::SendChatBotMsg(const std::string &message)
|
||||
m_gameSessionManager.SendLobbyMsgToAllSessions(GetSender(), packet, SessionData::Game);
|
||||
}
|
||||
|
||||
void
|
||||
ServerLobbyThread::ReconnectChatBot()
|
||||
{
|
||||
m_chatCleanerManager->ReInit();
|
||||
}
|
||||
|
||||
void
|
||||
ServerLobbyThread::AddComputerPlayer(boost::shared_ptr<PlayerData> player)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user