Class ConfigAcceptableList<T>
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class ConfigAcceptableList<T> : ConfigAcceptableBase where T : IEquatable<T>
Type Parameters
T
- Inheritance
-
ConfigAcceptableList<T>
- Inherited Members
-
Constructors
ConfigAcceptableList(params T[])
public ConfigAcceptableList(params T[] acceptableValues)
Parameters
acceptableValues T[]
Properties
AcceptableValues
public virtual T[] AcceptableValues { get; set; }
Property Value
- T[]
Methods
Clamp(object)
public override object Clamp(object value)
Parameters
value object
Returns
- object
IsValid(object)
public override bool IsValid(object value)
Parameters
value object
Returns
- bool
ToDescriptionString()
public override string ToDescriptionString()
Returns
- string