API ReferenceSandbox
public static abstract sealed class Sandbox.ConsoleSystem
A library to interact with the Console System.
Methods
Showing 7 methods
public static string GetValue(string name, string defaultValue = null)
Get a console variable's value as a string.
Parameters
defaultValue: Default: null
public static void OnChangePropertySet(Sandbox.WrappedPropertySet`1<T> p)
public static T OnWrappedGet(Sandbox.WrappedPropertyGet`1<T> p)
public static void OnWrappedSet(Sandbox.WrappedPropertySet`1<T> p)
public static void SetValue(string name, object value)
Try to set a console variable. You will only be able to set variables that you have permission to set.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.ConsoleSystem |