Show / Hide Table of Contents

Class CustomPieceTable

Main interface for adding custom piece tables to the game.
All custom piece tables have to be wrapped inside this class to add it to Jötunns PieceManager.
Add strings to Categories to use custom categories on your piece table. All categories will be replaced so list vanilla categories, too.
Inheritance
object
CustomEntity
CustomPieceTable
Inherited Members
CustomEntity.SourceMod
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
object.MemberwiseClone()
Namespace: Jotunn.Entities
Assembly: Jotunn.dll
Syntax
public class CustomPieceTable : CustomEntity

Constructors

Name Description
CustomPieceTable(AssetBundle, string, PieceTableConfig) Custom piece table from a prefab loaded from an AssetBundle with a PieceTableConfig attached.
CustomPieceTable(GameObject) Custom piece table from a prefab.
CustomPieceTable(GameObject, PieceTableConfig) Custom piece table from a prefab with a PieceTableConfig attached.
CustomPieceTable(string, PieceTableConfig) "Empty" custom piece table with a PieceTableConfig attached.

Properties

Name Description
Categories String array of categories used on the PieceTable. Will be ignored when m_useCategories is false.
All categories provided here will be used and displayed on the Hud.
PieceTable The PieceTable component for this custom piece table as a shortcut.
PieceTablePrefab The prefab for this custom piece table.

Methods

Name Description
Equals(object) Determines whether the specified object is equal to the current object.
GetHashCode() Serves as the default hash function.
IsValid() Checks if a custom piece table is valid (i.e. has a prefab and a PieceTable component).
ToString() Returns a string that represents the current object.

Extension Methods

PrefabExtension.FixReferences(object)
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾