Method GetPieceCategory
| Improve this Doc View SourceGetPieceCategory(string)
Get a Piece.PieceCategory by name. Translates
vanilla or custom Piece Categories to their current integer value.
Declaration
public Piece.PieceCategory? GetPieceCategory(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name of the category. |
Returns
Type | Description |
---|---|
Piece.PieceCategory? | int value of the vanilla or custom category |