IGenericCraftingComponent
An interface in Root.Township, Alta.Crafting.
Something a generic crafting station accepts when a player drops it in: a recipe result that starts a project, or a component added to one. Implemented by GenericCraftingResult and GenericCraftingComponent.
- Listed in Crafting and making
- Derived types
GenericCraftingComponent,GenericCraftingResult
Properties
| Member | What it is |
|---|---|
bool IsAddingProject { get; } | True if this starts a project. The station only takes it when this matches whether the station is empty. |
Methods
| Member | What it is |
|---|---|
void Released(GenericCraftingStation station) | Called by the station when the player lets go of the item over it and it's valid to add. |
void Track(GenericCraftingStation station) | Called by the station each update while the item is held inside its trigger. |
Used in
Members of other types that take, return or hold a IGenericCraftingComponent: