ConVarAttributeclass

Console variable

objectAttributeConVarAttribute
Namespace
Sandbox
Assembly
Sandbox.System
Declaration
public class Sandbox.ConVarAttribute : System.Attribute

Constructors2

Showing 2 constructors

Properties6

Showing 6 properties

public string Sandbox.ConVarAttribute.Help { get; set; }PUBLICGETSET

Describes why this command exists

Returns:string

public float Sandbox.ConVarAttribute.Max { get; set; }PUBLICGETSET

Maximum value for this command

Returns:float

public float Sandbox.ConVarAttribute.Min { get; set; }PUBLICGETSET

Minimum value for this command

Returns:float

public string Sandbox.ConVarAttribute.Name { get; set; }PUBLICGETSET

If unset the name will be set to the name of the method/property

Returns:string

public bool Sandbox.ConVarAttribute.Saved { get; set; }PUBLICGETSET

If true this variable is saved

Returns:bool

On this page