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