Skip to content

YaItemConfigComponent

Beta
YaItemConfigComponent

Functions

boolean ItemConfigExists(number itemId)Beta
Check if an item exists
  • itemId Item Id
number GetItemConfigIndex(number itemId)Beta
Get the item index in the item list
  • itemId Item Id
number GetTypeByItemId(number itemId)Beta
Gets type by item id.
  • itemId Item Id
number GetMaxStackByItemId(number itemId)Beta
Get the maximum stackable amount in backpack for an item
  • itemId Item ID
ItemConfig GetConfigByItemId(number itemId)Beta
Get item config of an item
  • itemId Item Id