# `QuakeServer.Cvars.Cvar`
[🔗](https://github.com/jaman/quake_server/blob/v0.1.0/lib/quake_server/cvars/cvar.ex#L1)

One console variable as `QuakeServer.Cvars.fetch/2` reads it.

  * `name` — the name it was made with
  * `string` — its value as text
  * `value` — the text read as a number, a 32-bit float (FTE's `Q_atof`)
  * `ival` — the text read as a whole number (FTE's `Q_atoi`)
  * `default` — the value `cvarreset` gives back; configs move it with
    `cvar_lockdefaults`
  * `engine` — the engine's own default, `nil` for a variable the engine does not
    register
  * `flags` — the flag bitmask, see `QuakeServer.Cvars.flags/0`
  * `latched` — a value waiting to take effect, or `nil`
  * `description` — what it is for, or `nil`
  * `group` — the group it is listed and saved under
  * `alias` — its second name, or `nil`

# `t`

```elixir
@type t() :: %QuakeServer.Cvars.Cvar{
  alias: String.t() | nil,
  default: String.t(),
  description: String.t() | nil,
  engine: String.t() | nil,
  flags: non_neg_integer(),
  group: String.t(),
  ival: integer(),
  latched: String.t() | nil,
  name: String.t(),
  string: String.t(),
  value: float()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
