Show / Hide Table of Contents

Method GetPieceCategory

| Edit this page View Source

GetPieceCategory(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
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾