Expand description
§Equipment system
Generic equipment types for equipping and unequipping items in slot-based inventories.
| Type | Purpose |
|---|---|
EquipSlot<Id> | Slot identifier with standard + custom variants |
EquipmentSlots<I, S> | Slot → item mapping with mutation methods |
EquipError | Error conditions for equipment operations |
Structs§
- Equipment
Slots - A collection of equipment slots that tracks which item (if any) is equipped in each slot.
Enums§
- Equip
Error - Error that can occur when equipping an item.
- Equip
Slot - Represents a slot where an item can be equipped.
Traits§
- Equip
Provider - Optional provider trait for games with an equipment system.