Module cvar::console

source ·
Expand description

Interact with the configuration variables.

The design of this library makes recursive depth-first pre-order traversal the only feasable method to walk the cvars.

This trade-off allows the hierarchy to be constructed lazily with very convenient stack-allocated resources.

Functions

  • Finds a cvar by its path and invokes the closure with it.
  • Gets a property’s value as a string.
  • Gets a property’s value directly.
  • Invokes an action.
  • Pokes the cvar tree.
  • Lists all properties and actions in the visitor.
  • Resets properties to their default.
  • Resets all properties to their default.
  • Sets a property’s value parsed from a string.
  • Sets a property’s value directly.
  • Walks all nodes in the cvar hierarchy and call the closure with the node along its full path.