Player list is now sent in Game List New notification. Not shown in dialog yet.

This commit is contained in:
lotodore
2007-09-01 22:59:55 +00:00
parent 096c02dd24
commit d35f4ae997
7 changed files with 75 additions and 3 deletions
+1
View File
@@ -556,6 +556,7 @@ ServerLobbyThread::CreateNetPacketGameListNew(const ServerGameThread &game)
packetData.gameInfo.mode = GAME_MODE_CREATED;
packetData.gameInfo.name = game.GetName();
packetData.gameInfo.data = game.GetGameData();
packetData.gameInfo.players = game.GetSessionManager().GetPlayerIdList();
static_cast<NetPacketGameListNew *>(packet.get())->SetData(packetData);
return packet;
}