Class PieceCategories
Helper to get existing piece category names
Inherited Members
Namespace: Jotunn.Configs
Assembly: Jotunn.dll
Syntax
public static class PieceCategories
Properties
Name | Description |
---|---|
All | All piece categories |
Building | Piece 'Building' category |
Crafting | Piece 'Crafting' category |
Feasts | Piece 'Feasts' category |
Food | Piece 'Food' category |
Furniture | Piece 'Furniture' category |
HeavyBuild | Piece 'HeavyBuild' category |
Mead | Piece 'Mead' category |
Misc | Piece 'Misc' category |
Methods
Name | Description |
---|---|
GetAcceptableValueList() | Get a BepInEx.Configuration.AcceptableValueList<T> of all piece category names.
This can be used to create a BepInEx.Configuration.ConfigEntry<T> where only valid piece category can be selected. Example:
|
GetInternalName(string) | Get the internal name for a piece category from its human readable name. |
GetNames() | Gets the human readable name to internal names map |