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
| Member | What it is |
|---|
SlotPairing() | Creates an ArmorManager with default values. |
Fields
2 private and internal fields
| Member | What it is |
|---|
private EquipmentReference[] detectors | Equipment references updated by Apply. |
private TSlot slot | Backing field for Slot. |
Properties
| Member | What it is |
|---|
TSlot Slot { get; } | The slot this pairing covers; used as the key in the manager's lookup. |
Methods
| Member | What 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: