Class PieceTableConfig
Configuration class for adding custom piece tables.
Inherited Members
Namespace: Jotunn.Configs
Assembly: Jotunn.dll
Syntax
public class PieceTableConfig
Properties
| Name | Description |
|---|---|
| CanRemovePieces | Indicator if the PieceTable can also remove pieces. Defaults to true. |
| CustomCategories | Array of custom categories the PieceTable uses. Will be ignored when UseCustomCategories is false. |
| UseCategories | Indicator if the PieceTable uses the vanilla categories. Defaults to true. |
| UseCustomCategories | Indicator if the PieceTable uses custom categories. Defaults to false. |
Methods
| Name | Description |
|---|---|
| Apply(GameObject) | Apply this configs values to a piece table GameObject. |
| GetCategories() | Creates the final categories array for this PieceTable. Adds vanilla categories when UseCategories is true. Adds custom categories when UseCustomCategories is true. |