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