Namespace: GGG.Equipment.UI
Common contract for a UI component that presents one equipment slot.
public interface IEquipmentSlotView
Properties
IsOccupied
Gets whether this slot currently contains an item.
bool IsOccupied { get; }
Property Value
Slot
Gets the runtime slot bound to this view.
EquipmentSlot Slot { get; }
Property Value
Methods
Bind(EquipmentSlot)
Connects the view to the specified runtime model.
void Bind(EquipmentSlot slot)
Parameters
slot EquipmentSlot
Receives the matching runtime slot when found.