Skip to main content

IJointSlotComponent

An interface in Root.Township, Alta.Crafting.

A crafting joint slot or a group of slots, implemented by JointSlot and JointSlotGroup.

Properties​

MemberWhat it is
bool IsDestroyed { get; }True once the slot has been destroyed.
bool IsUsed { get; }True when a part is connected. For a group, true when any slot in it is used.

Events​

MemberWhat it is
event IsJointAvailable isAvailableRaised to let listeners veto the slot accepting a part, by clearing the passed flag.
event Action<IJointSlotComponent> UsedChangedRaised when the slot goes from free to used or back.

Used in​

Members of other types that take, return or hold a IJointSlotComponent: