fish-station/Content.Shared/CCVar/CCVars.Interface.cs
2025-01-20 07:08:43 +03:00

47 lines
1.8 KiB
C#

using Robust.Shared.Configuration;
namespace Content.Shared.CCVar;
public sealed partial class CCVars
{
/// <summary>
/// The sound played when clicking a UI button
/// </summary>
// Sunrise-Edit
public static readonly CVarDef<string> UIClickSound =
CVarDef.Create("interface.click_sound", "/Audio/_Sunrise/UserInterface/button_click.ogg", CVar.REPLICATED);
/// <summary>
/// The sound played when the mouse hovers over a clickable UI element
/// </summary>
// Sunrise-Edit
public static readonly CVarDef<string> UIHoverSound =
CVarDef.Create("interface.hover_sound", "/Audio/_Sunrise/UserInterface/button_hover.ogg", CVar.REPLICATED);
/// <summary>
/// The layout style of the UI
/// </summary>
public static readonly CVarDef<string> UILayout =
CVarDef.Create("ui.layout", "Default", CVar.CLIENTONLY | CVar.ARCHIVE);
/// <summary>
/// The dimensions for the chat window in Default UI mode
/// </summary>
public static readonly CVarDef<string> DefaultScreenChatSize =
CVarDef.Create("ui.default_chat_size", "", CVar.CLIENTONLY | CVar.ARCHIVE);
/// <summary>
/// The width of the chat panel in Separated UI mode
/// </summary>
public static readonly CVarDef<string> SeparatedScreenChatSize =
CVarDef.Create("ui.separated_chat_size", "0.6,0", CVar.CLIENTONLY | CVar.ARCHIVE);
public static readonly CVarDef<bool> OutlineEnabled =
CVarDef.Create("outline.enabled", true, CVar.CLIENTONLY);
/// <summary>
/// If true, the admin overlay will be displayed in the old style (showing only "ANTAG")
/// </summary>
public static readonly CVarDef<bool> AdminOverlayClassic =
CVarDef.Create("ui.admin_overlay_classic", false, CVar.CLIENTONLY | CVar.ARCHIVE);
}