Method GetAcceptableValueList
| Improve this Doc View SourceGetAcceptableValueList()
Get a BepInEx.Configuration.AcceptableValueList<T> of all incinerator names.
This can be used to create a BepInEx.Configuration.ConfigEntry<T> where only valid incinerator can be selected.
Example:
Example:
var incineratorConfig = Config.Bind("Section", "Key", nameof(Incinerators.Incinerator), new ConfigDescription("Description", Incinerators.GetAcceptableValueList()));
Declaration
public static AcceptableValueList<string> GetAcceptableValueList()
Returns
Type | Description |
---|---|
AcceptableValueList<string> |