[Server/Client/Protocol] Reporting users + moderation queue functionality

Took 6 minutes

Took 3 minutes

Took 8 seconds

Took 11 minutes

Took 12 minutes

Took 7 minutes

Took 15 seconds

Took 2 minutes

Took 1 minute


Took 30 seconds

Took 16 seconds
This commit is contained in:
Lukas Brübach 2026-05-27 18:07:40 +02:00
parent 9eafd90a91
commit b8a70c48a4
58 changed files with 3364 additions and 17 deletions

View file

@ -69,6 +69,10 @@ void Server_AbstractUserInterface::sendResponseContainer(const ResponseContainer
}
}
void Server_AbstractUserInterface::onLogin(ResponseContainer &)
{
}
void Server_AbstractUserInterface::playerRemovedFromGame(Server_Game *game)
{
qDebug() << "Server_AbstractUserInterface::playerRemovedFromGame(): gameId =" << game->getGameId();

View file

@ -42,6 +42,7 @@ public:
void playerRemovedFromGame(Server_Game *game);
void playerAddedToGame(int gameId, int roomId, int playerId);
void joinPersistentGames(ResponseContainer &rc);
virtual void onLogin(ResponseContainer &rc);
QMap<int, QPair<int, int>> getGames() const
{

View file

@ -614,6 +614,7 @@ Response::ResponseCode Server_ProtocolHandler::cmdLogin(const Command_Login &cmd
joinPersistentGames(rc);
databaseInterface->removeForgotPassword(userName);
onLogin(rc);
rc.setResponseExtension(re);
return Response::RespOk;
}