Method GetAcceptableValueList
| Edit this page View SourceGetAcceptableValueList()
Get a AcceptableValueList<T> of all piece usage tag names.
Since a piece can have any number of tags, store them as one comma separated string Example:
Since a piece can have any number of tags, store them as one comma separated string Example:
var pieceUsageConfig = Config.Bind("Piece", "Hammer Usages", $"{PieceUsages.Storage},{PieceUsages.Doors}", $"Comma separated usage tags.\n{PieceUsages.GetAcceptableValueList().ToDescriptionString()}");
pieceConfig.Usage = pieceUsageConfig.Value.Split(',');Declaration
public static AcceptableValueList<string> GetAcceptableValueList()
Returns
| Type | Description |
|---|---|
| AcceptableValueList<string> |