API GetItemSubClassInfo
Returns the name of the item subtype.
name, isArmorType = GetItemSubClassInfo(classID, subClassID)
Arguments
- classID
- number - ID of the ItemType
- subClassID
- number - ID of the item subtype
Returns
- name
- string - Name of the item subtype
- isArmorType
- boolean - Seems to only return true for
classID 4: Armor - subClassID 0 to 4
Miscellaneous, Cloth, Leather, Mail, Plate
Example
print(GetItemSubClassInfo(LE_ITEM_CLASS_CONSUMABLE, 0))
> "Explosives and Devices", false
Patch changes
Patch 7.0.3 (2016-07-19): Added.