Api Sandbox ConVarAttribute
class

ConVarAttribute

public class ConVarAttribute : Attribute

Console variable

Constructors

ConVarAttribute(String name, ConVarFlags flags)
ConVarAttribute(ConVarFlags flags)

Properties

Name Type Description
Name String If unset the name will be set to the name of the method/property
Help String Describes why this command exists
Min Single Minimum value for this command
Max Single Maximum value for this command
Saved Boolean If true this variable is saved
Flags ConVarFlags Describes the kind of convar this is
Assembly: Sandbox.System Namespace: Sandbox Full Name: Sandbox.ConVarAttribute