s&box docs

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.

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.ConsoleSystem

On this page