Table of Contents

Class ConVarCreationOptions<T>

Namespace
CounterStrikeSharp.API.Modules.Cvars
Assembly
CounterStrikeSharp.API.dll
public sealed record ConVarCreationOptions<T> : IEquatable<ConVarCreationOptions<T>>

Type Parameters

T
Inheritance
object
ConVarCreationOptions<T>
Implements

Properties

DefaultValue

public required T DefaultValue { get; init; }

Property Value

T

Description

public string Description { get; init; }

Property Value

string

Flags

public ConVarFlags Flags { get; init; }

Property Value

ConVarFlags

MaxValue

Optional upper bound. Omit this property for no maximum; zero and false are valid bounds.

public T? MaxValue { get; init; }

Property Value

T

MinValue

Optional lower bound. Omit this property for no minimum; zero and false are valid bounds.

public T? MinValue { get; init; }

Property Value

T

Name

public required string Name { get; init; }

Property Value

string