Preparing "reportGameName" network message.

This commit is contained in:
lotodore
2012-03-31 20:14:11 +00:00
parent 7ff145a66a
commit ac0041cb8f
112 changed files with 773 additions and 365 deletions
+7
View File
@@ -472,6 +472,13 @@ void Session::reportBadAvatar(unsigned reportedPlayerId, const std::string &avat
myNetClient->SendReportAvatar(reportedPlayerId, avatarHash);
}
void Session::reportBadGameName(unsigned gameId)
{
if (!myNetClient)
return; // only act if client is running.
myNetClient->SendReportGameName(gameId);
}
void Session::voteKick(bool doKick)
{
if (!myNetClient)