ItemContainerView
Inherits: Container
Properties
Section titled “Properties”| Name | Type | Description |
|---|---|---|
StackViews | List |
Methods
Section titled “Methods”void Clear()Clears all stack views from the container.
Refresh
Section titled “Refresh”void Refresh()_Ready
Section titled “_Ready”void _Ready()CreateStackView
Section titled “CreateStackView”void CreateStackView(IItemStack displayStack)RemoveStackView
Section titled “RemoveStackView”void RemoveStackView(ItemStack stack)else if(_controller.ItemContainer == null && InitialContainer == null)else if(_controller.ItemContainer == null && InitialContainer != null)PopulateEditorSlots
Section titled “PopulateEditorSlots”void PopulateEditorSlots()_CanDropData
Section titled “_CanDropData”bool _CanDropData(Vector2 atPosition, Variant data)_DropData
Section titled “_DropData”void _DropData(Vector2 atPosition, Variant data)QueueRefresh
Section titled “QueueRefresh”void QueueRefresh()RemoveStackView
Section titled “RemoveStackView”void RemoveStackView(IItemStack stack)SetItemContainer
Section titled “SetItemContainer”void SetItemContainer(IItemContainer itemContainer)Used to change the ItemContainer for this view.
Parameters:
itemContainer-