mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Set room status to "In Game" once gameplay starts
This commit is contained in:
@@ -149,6 +149,13 @@ void GlobalLobbyProcessor::onConnectionEstablished(const std::shared_ptr<INetwor
|
||||
}
|
||||
}
|
||||
|
||||
void GlobalLobbyProcessor::sendGameStarted()
|
||||
{
|
||||
JsonNode toSend;
|
||||
toSend["type"].String() = "gameStarted";
|
||||
sendMessage(controlConnection, toSend);
|
||||
}
|
||||
|
||||
void GlobalLobbyProcessor::sendChangeRoomDescription(const std::string & description)
|
||||
{
|
||||
JsonNode toSend;
|
||||
|
||||
Reference in New Issue
Block a user