Class ModCraftTreeNode
Basic data structure of a crafting tree node.
public abstract class ModCraftTreeNode
- Inheritance
-
ModCraftTreeNode
- Derived
- Inherited Members
- Extension Methods
Fields
Action
The action this node takes in the crafting tree.
public readonly TreeAction Action
Field Value
- TreeAction
CraftNode
The the in-game representation of this node.
public CraftNode CraftNode
Field Value
- CraftNode
Name
The name ID for this tab node.
public readonly string Name
Field Value
TechType
The tech type ID associated to this node.
For item nodes, it is the item ID to be crafted.
For root and tab nodes, this is always TechType.None.
public readonly TechType TechType
Field Value
- TechType
Methods
RemoveNode()
Removes the calling node from parent.
public void RemoveNode()