SwiftlyS2

ConvarFlags

Enum ConvarFlags

Namespace: SwiftlyS2.Shared.Convars

Assembly: SwiftlyS2.CS2.dll

[Flags]
public enum ConvarFlags : ulong

Fields

  • ARCHIVE — Set to cause it to be saved to vars.rc.
  • CHEAT — Only usable in singleplayer/debug or when sv_cheats is enabled.
  • CLIENTCMD_CAN_EXECUTE — IVEngineClient::ClientCmd is allowed to execute this command.
  • CLIENTDLL — Defined by the client DLL.
  • CLIENT_CAN_EXECUTE — Assigned to commands to let clients execute them.
  • COMMANDLINE_ENFORCED — If set via launch options, value will not be reset by ResetConVarsToDefaultValuesByFlag.
  • DEFENSIVE — Defensive flag.
  • DEMO — Record this convar when starting a demo file.
  • DEVELOPMENT_ONLY — Hidden in released products. Flag is removed automatically if ALLOW_DEVELOPMENT_CVARS is defined.
  • DONTRECORD — Do not record this command in demo files.
  • EXECUTE_PER_TICK — Execute per tick.
  • GAMEDLL — Defined by the game DLL.
  • HIDDEN — Hidden. Doesn't appear in find or auto complete. Like DEVELOPMENTONLY, but can't be compiled out.
  • INITIAL_SETVALUE — Is set for a first convar SetValue either with its default_value or with a value from a gameinfo. Mostly for callbacks to check for.
  • LINKED_COMMAND — Allows concommand callback chaining. When command is dispatched all chained callbacks would fire.
  • MENUBAR_ITEM — Show as a menu bar item.
  • NONE — The default, no flags at all
  • NOTIFY — Notifies players when changed.
  • NOT_CONNECTED — Cvar cannot be changed by a client that is connected to a server.
  • PERFORMING_CALLBACKS — Set when cvar is executing callbacks; value sets during callbacks are queued until callbacks finish.
  • PER_USER — Causes per-user variants (e.g. varname2..N for splitscreen) to be autogenerated.
  • PROTECTED — It's a server cvar, but we don't send the data since it's a password, etc. Sends 1 if it's not bland/zero, 0 otherwise as value.
  • REFERENCE — Means cvar is a reference, usually used to get a cvar reference of a cvar registered in other module, and is temporary until the actual cvar was registered.
  • RELEASE — Only cvars tagged with this are available to customers.
  • REPLICATED — Server setting enforced on clients. Values are replicated from server to clients.
  • SERVER_CANNOT_QUERY — If this is set, then the server is not allowed to query this cvar's value.
  • SERVER_CAN_EXECUTE — The server is allowed to execute this command on clients via ClientCommand/NET_StringCmd/CBaseClientState::ProcessStringCmd.
  • SPONLY — This cvar cannot be changed by clients connected to a multiplayer server.
  • UNLOGGED — If this is a FCVAR_SERVER, don't log changes to the log file / console if we are creating a log.
  • USERINFO — Changes the client's info string
  • VCONSOLE_FUZZY_MATCHING — Enable fuzzy matching in vconsole.
  • VCONSOLE_SET_FOCUS — vconsole set focus.

On this page