|
ActionAdventureKit 1.10.0
|
visualizes the contents of a ListedInventory and can enable using or equipping the items
Classes | |
| class | ItemPrefab |
Public Types | |
| enum | SortingMode { None , Name , Category , Slot } |
Public Member Functions | |
| void | Use () |
| void | Equip () |
| void | Equip (int index) |
| void | Unequip () |
Public Member Functions inherited from AdventureCore.ItemsControlBase< InventoryItem > | |
| virtual void | Initialize (ObservableCollection< T > source) |
| virtual void | OnPointerClick (PointerEventData eventData) |
| virtual void | DeselectEntry () |
| virtual void | SelectEntry (ItemsControlEntryBase< T > entry) |
| virtual void | EntrySubmitted (ItemsControlEntryBase< T > entry) |
| virtual void | EntryCancelled (ItemsControlEntryBase< T > entry) |
| virtual void | EntryBeginDrag (ItemsControlEntryBase< T > entry, PointerEventData eventData) |
| virtual void | EntryDrag (ItemsControlEntryBase< T > entry, PointerEventData eventData) |
| virtual void | EntryEndDrag (ItemsControlEntryBase< T > entry, PointerEventData eventData) |
| virtual bool | EntryMove (ItemsControlEntryBase< T > entry, AxisEventData axisEventData) |
| virtual void | EntryClicked (ItemsControlEntryBase< T > entry, PointerEventData eventData) |
Public Attributes | |
| ItemPrefab[] | ItemPrefabs |
| ListedInventory | Inventory |
| SortingMode | Sorting |
| ItemCategory | FilterCategory |
| ItemSlotCategory | FilterSlot |
| ItemSet | FilterSet |
| bool | DisableUse |
| Button | UseButton |
| bool | DisableEquip |
| Button | EquipButton |
| Button | UnequipButton |
Public Attributes inherited from AdventureCore.ItemsControlBase< InventoryItem > | |
| Transform | Parent |
| ItemsControlEntryBase< T > | Prefab |
| ScrollRect | ScrollRect |
| UnityEvent< T > | Submitted |
| UnityEvent< T > | SelectionChanged |
Protected Member Functions | |
| override void | Awake () |
| override void | onItemSelected (InventoryItem inventoryItem) |
| override void | onItemSubmitted (InventoryItem inventoryItem) |
| virtual bool | canUse (InventoryItem inventoryItem) |
| virtual bool | canEquip (InventoryItem inventoryItem, int index=0) |
| virtual bool | canUnequip (InventoryItem inventoryItem) |
| virtual void | onInventoryChanged (ItemQuantity itemQuantity) |
| virtual void | onInventoryEquipmentChanged (ItemSlotBase slot) |
| override ItemsControlEntryBase< InventoryItem > | getPrefab (InventoryItem item) |
| override bool | filter (InventoryItem inventoryItem) |
| override IComparer< InventoryItem > | getSorter () |
Protected Member Functions inherited from AdventureCore.ItemsControlBase< InventoryItem > | |
| virtual void | collectionChanged (object sender, NotifyCollectionChangedEventArgs e) |
| virtual void | add (T item) |
| virtual void | remove (T item) |
| virtual void | sort () |
| virtual ItemsControlEntryBase< T > | getPrefab (T item) |
| virtual bool | filter (T item) |
| virtual void | onItemSelected (T item) |
| virtual void | onItemSubmitted (T item) |
| virtual void | onItemCancelled (T item) |
Additional Inherited Members | |
Properties inherited from AdventureCore.ItemsControlBase< InventoryItem > | |
| T | Selected [get] |
|
inlineprotectedvirtual |
Reimplemented from AdventureCore.ItemsControlBase< InventoryItem >.
|
inlineprotectedvirtual |
Reimplemented from AdventureCore.ItemsControlBase< InventoryItem >.