Adding code for private chat messages (server side). These messages are not allowed within a game. Adding config option to disable brute force protection.
This commit is contained in:
@@ -379,6 +379,14 @@ void Session::sendLobbyChatMessage(const std::string &message)
|
||||
myNetClient->SendLobbyChatMessage(message);
|
||||
}
|
||||
|
||||
void Session::sendPrivateChatMessage(unsigned targetPlayerId, const std::string &message)
|
||||
{
|
||||
if (!myNetClient)
|
||||
return;
|
||||
myNetClient->SendPrivateChatMessage(targetPlayerId, message);
|
||||
}
|
||||
|
||||
|
||||
void Session::kickPlayer(unsigned playerId)
|
||||
{
|
||||
if (!myNetClient)
|
||||
|
||||
Reference in New Issue
Block a user