xna-cncnet-client
xna-cncnet-client copied to clipboard
Add lobby settings update window
Adds a new button and window to the CnCNetGameLobby where the host can change the room name, max players, and skill level, and password. Non-host players are notified of any changes. You can't make MaxPlayers less than the amount of players currently in the room.
Lobby name validation has been moved to NameValidator.cs
INI Changes required for YR:
CnCNetGameLobby.ini Add to the existing MultiplayerGameLobby section:
[MultiplayerGameLobby]
$CCMP100=btnGameLobbySettings:XNAClientButton
Then add the section:
[btnGameLobbySettings]
Text=Lobby Settings
Location=0,0
Size=133,23
DistanceFromBottomBorder=13
DistanceFromRightBorder=300
Visible=false
Enabled=false