Lobby chat width and custom lobby titles (#33783)
* lobby name cvar * panel width * skrek * server name localization fix * comment format fix Co-authored-by: Thomas <87614336+Aeshus@users.noreply.github.com> * remove redundant newline Co-authored-by: Thomas <87614336+Aeshus@users.noreply.github.com> * string.empty Co-authored-by: Thomas <87614336+Aeshus@users.noreply.github.com> * use SetWidth * Update Resources/Locale/en-US/lobby/lobby-gui.ftl --------- Co-authored-by: Thomas <87614336+Aeshus@users.noreply.github.com> Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
@@ -40,4 +40,17 @@ public sealed partial class CCVars
|
||||
/// </remarks>
|
||||
public static readonly CVarDef<int> ServerUptimeRestartMinutes =
|
||||
CVarDef.Create("server.uptime_restart_minutes", 0, CVar.SERVERONLY);
|
||||
|
||||
/// <summary>
|
||||
/// This will be the title shown in the lobby
|
||||
/// If empty, the title will be {ui-lobby-title} + the server's full name from the hub
|
||||
/// </summary>
|
||||
public static readonly CVarDef<string> ServerLobbyName =
|
||||
CVarDef.Create("server.lobby_name", "", CVar.REPLICATED | CVar.SERVER);
|
||||
|
||||
/// <summary>
|
||||
/// The width of the right side (chat) panel in the lobby
|
||||
/// </summary>
|
||||
public static readonly CVarDef<int> ServerLobbyRightPanelWidth =
|
||||
CVarDef.Create("server.lobby_right_panel_width", 650, CVar.REPLICATED | CVar.SERVER);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user