Classes

InventoryDragDropHandler

Handles drag/drop behavior local to an Inventory.

Responsibilities:

  • tracks Inventory slot drag state
  • tracks externally supplied ItemInstance drag state
  • moves Inventory slots
  • adds external items to targeted Inventory slots
  • removes the contents of a dragged Inventory slot

Drops that cannot be interpreted locally are surfaced through UnhandledSlotDropReceived so higher-level integrations can decide what they mean.

InventorySlotView

Presents one inventory position and composes ItemSlotView for shared item data. It never mutates inventory state.

InventoryView

Synchronizes a serialized list of InventorySlotView components with an IInventory source.

View-list position maps directly to inventory slot index: slotViews[0] presents inventory slot 0, and so on.

Structs

InventoryDragDropResult

Describes the outcome of an inventory drag-and-drop operation.

InventorySlotDragInteraction

Describes a drag-and-drop action involving an inventory slot.

InventorySlotInteraction

Describes a selection or click action on an inventory slot.

Interfaces

IInventorySlotInteractionSource

Exposes interaction notifications produced by an inventory slot view.

IInventorySlotView

Defines the information and binding operation exposed by a slot view.

Enums

InventoryDragDropOperation

Identifies the kind of inventory drag-and-drop operation.

Types