Skip to main content

ArmorManager<TSlot>.SlotPairing

A class in Root.Township, Alta.Customization.

Inspector pairing of one armour slot with the equipment references (detectors) that should take whatever armour goes in that slot.

Constructors​

MemberWhat it is
SlotPairing()Creates an ArmorManager with default values.

Fields​

2 private and internal fields
MemberWhat it is
private EquipmentReference[] detectorsEquipment references updated by Apply.
private TSlot slotBacking field for Slot.

Properties​

MemberWhat it is
TSlot Slot { get; }The slot this pairing covers; used as the key in the manager's lookup.

Methods​

MemberWhat it is
void Apply(ArmorDefinition armor)Sets the given armour definition on every detector in this pairing.

Used in​

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