| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- using Robust.Shared.Configuration;
- namespace Content.Shared.CCVar;
- public sealed partial class CCVars
- {
- /// <summary>
- /// The sound played when clicking a UI button
- /// </summary>
- public static readonly CVarDef<string> UIClickSound =
- CVarDef.Create("interface.click_sound", "/Audio/UserInterface/click.ogg", CVar.REPLICATED);
- /// <summary>
- /// The sound played when the mouse hovers over a clickable UI element
- /// </summary>
- public static readonly CVarDef<string> UIHoverSound =
- CVarDef.Create("interface.hover_sound", "/Audio/UserInterface/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);
- /// <summary>
- /// If true, the admin overlay will display the total time of the players
- /// </summary>
- public static readonly CVarDef<bool> AdminOverlayPlaytime =
- CVarDef.Create("ui.admin_overlay_playtime", false, CVar.CLIENTONLY | CVar.ARCHIVE);
- /// <summary>
- /// If true, the admin overlay will display the players starting position.
- /// </summary>
- public static readonly CVarDef<bool> AdminOverlayStartingJob =
- CVarDef.Create("ui.admin_overlay_starting_job", false, CVar.CLIENTONLY | CVar.ARCHIVE);
- }
|