# applyLatched
function applyLatched(registry)Apply latched.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
src/miniquake2/qcommon/cvar.mlProvides miniquake2 qcommon cvar facilities for this project.
miniquake2/qcommon/constants.ml as qc → src/miniquake2/qcommon/constants.mlminiquake2/qcommon/types.ml as qt → src/miniquake2/qcommon/types.mlfunction applyLatched(registry)Apply latched.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
function archiveText(registry)Serialize the CVAR_ARCHIVE subset in an executable Quake II config form.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
function bitInfo(registry, flags)Return the bit info value.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
flags | dynamic | — | Bit flags controlling the operation. |
function command(registry, arguments)Return the command value.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
arguments | dynamic | — | arguments value consumed by this operation. |
function createRegistry()Create registry.
function find(registry, name)Finds find used by the miniquake2 qcommon cvar module.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
name | dynamic | — | Name of the affected item. |
function forceSet(registry, name, value)Set force.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
name | dynamic | — | Name of the affected item. |
value | dynamic | — | Value consumed or transformed by the operation. |
function fullSet(registry, name, value, flags)Set full.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
name | dynamic | — | Name of the affected item. |
value | dynamic | — | Value consumed or transformed by the operation. |
flags | dynamic | — | Bit flags controlling the operation. |
function get(registry, name, defaultValue, flags)Return state.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
name | dynamic | — | Name of the affected item. |
defaultValue | dynamic | — | defaultValue value consumed by this operation. |
flags | dynamic | — | Bit flags controlling the operation. |
function infoValueValid(value)Report whether info value valid.
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed or transformed by the operation. |
function listText(registry)Return the stock cvarlist flags and values for a console frontend.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
function numericValue(text)Performs the numericValue operation for the miniquake2 qcommon cvar module.
| Parameter | Type | Default | Description |
|---|---|---|---|
text | dynamic | — | Text consumed by the operation. |
function set(registry, name, value)Set state.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
name | dynamic | — | Name of the affected item. |
value | dynamic | — | Value consumed or transformed by the operation. |
function set2(registry, name, value, force)Set 2.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
name | dynamic | — | Name of the affected item. |
value | dynamic | — | Value consumed or transformed by the operation. |
force | dynamic | — | force value consumed by this operation. |
function setCommand(registry, arguments)Apply the stock `set <name> <value> [u|s]` console command. Returning text instead of printing keeps the qcommon service usable by client and server consoles without a platform dependency.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
arguments | dynamic | — | arguments value consumed by this operation. |
function variableString(registry, name)Return the variable string value.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
name | dynamic | — | Name of the affected item. |
function variableValue(registry, name)Return the variable value.
| Parameter | Type | Default | Description |
|---|---|---|---|
registry | dynamic | — | registry value consumed by this operation. |
name | dynamic | — | Name of the affected item. |