EquipmentSlotInteraction

Struct

Namespace: GGG.Equipment.UI

Semantic UI intent emitted by an equipment-slot interaction component. It deliberately contains no equip or unequip command.

public readonly struct EquipmentSlotInteraction

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

EquipmentSlotInteraction(SlotInteractionType, EquipmentSlotDefinition, EquipmentSlotView)

Creates a new EquipmentSlotInteraction instance.

public EquipmentSlotInteraction(SlotInteractionType type, EquipmentSlotDefinition slotDefinition, EquipmentSlotView view)

Parameters

type SlotInteractionType

The interaction or operation category.

slotDefinition EquipmentSlotDefinition

The equipment slot definition to inspect or use.

view EquipmentSlotView

The slot view associated with the operation.

Properties

SlotDefinition

Gets the equipment slot definition bound to this view.

public EquipmentSlotDefinition SlotDefinition { get; }

Property Value

EquipmentSlotDefinition

Type

Gets the interaction category.

public SlotInteractionType Type { get; }

Property Value

SlotInteractionType

View

Gets the originating slot view.

public EquipmentSlotView View { get; }

Property Value

EquipmentSlotView