Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

5. Functions & Properties

Lucas Vilas-Bôas edited this page Apr 18, 2023 · 1 revision

Inventory Component

Properties

  • bAllowEmptySlots
  • ElementusItems
  • CurrentWeight
  • MaxWeight
  • MaxNumItems

Functions

  • GetCurrentWeight
  • GetMaxWeight
  • GetCurrentNumItems
  • GetMaxNumItems
  • GetItemsArray
  • GetItemReferenceAt
  • GetItemCopyAt
  • CanReceiveItem
  • CanGiveItem
  • FindFirstItemIndexWithInfo
  • FindFirstItemIndexWithTags
  • FindAllItemIndexesWithInfo
  • FindAllItemIndexesWithTags
  • FindAllItemIndexesWithId
  • ContainsItem
  • IsInventoryEmpty
  • DebugInventory
  • ClearInventory
  • UpdateWeight
  • GetItemIndexesFrom
  • GiveItemIndexesTo
  • GetItemsFrom
  • GiveItemsTo
  • DiscardItemIndexes
  • DiscardItems
  • AddItems
  • NotifyInventoryChange

Delegates

  • OnInventoryUpdate
  • OnInventoryEmpty

Inventory Package

Properties

  • PackageInventory
  • bDestroyWhenInventoryIsEmpty

Functions

  • PutItemIntoPackage
  • GetItemFromPackage
  • SetDestroyOnEmpty
  • GetDestroyOnEmpty
  • BeginPackageDestruction

Helper Functions

Functions

  • UnloadAllElementusItems
  • UnloadElementusItem
  • CompareItemInfo
  • CompareItemData
  • GetSingleItemDataById
  • GetItemDataArrayById
  • SearchElementusItemData
  • GetAllElementusItemIds
  • TradeElementusItem
  • IsItemValid
  • IsItemStackable
  • GetItemTagsWithParentTag
  • ElementusItemEnumTypeToString
  • GetItemMetadatas
  • GetItemRelations