1
0

CCVars.Console.cs 550 B

123456789101112131415
  1. using Robust.Shared.Configuration;
  2. namespace Content.Shared.CCVar;
  3. public sealed partial class CCVars
  4. {
  5. public static readonly CVarDef<bool> ConsoleLoginLocal =
  6. CVarDef.Create("console.loginlocal", true, CVar.ARCHIVE | CVar.SERVERONLY);
  7. /// <summary>
  8. /// Automatically log in the given user as host, equivalent to the <c>promotehost</c> command.
  9. /// </summary>
  10. public static readonly CVarDef<string> ConsoleLoginHostUser =
  11. CVarDef.Create("console.login_host_user", "", CVar.ARCHIVE | CVar.SERVERONLY);
  12. }