gitlab Tsoukie/classicapi 1.22

latest releases: 1.24, 1.23
one month ago

ItemMixin
  • Fixed ItemMixin:GetItemID failing on uncached items due to C_Item.GetItemInfoInstant changes in the last release (eg, OmniCD settings wouldn't open) (#53).
  • Resolved an error in ItemMixin associated with GetDetailedItemLevelInfo.

AsyncCallbackSystemMixin

  • Added unified AsyncCallbackSystemMixin from retail to handle both ItemEventListener and SpellEventListener under a single callback system.
  • Event ITEM_DATA_LOAD_RESULT will now only fire if an item was successfully added to the client cache.
  • Event SPELL_DATA_LOAD_RESULT will no longer always fire when calling C_Spell.RequestLoadSpellData.

ErrorUtil

  • Added CallErrorHandler
  • Added assertsafe

CooldownCapture

  • Resolved an error triggered under specific conditions where the parent frame had a width or height of zero.

C_Item

  • Added:
    • C_Item.GetItemGem
    • C_Item.GetItemGemID
    • C_Item.GetItemIconByID
    • C_Item.GetItemCount
    • C_Item.GetItemStats
    • C_Item.GetItemCooldown
    • C_Item.GetItemSpell
    • C_Item.GetItemFamily
    • C_Item.GetItemStatDelta
    • C_Item.GetItemUniqueness
    • C_Item.IsConsumableItem
    • C_Item.IsCurrentItem
    • C_Item.IsDressableItem
    • C_Item.IsEquippableItem
    • C_Item.IsEquippedItem
    • C_Item.IsEquippedItemType
    • C_Item.IsHarmfulItem
    • C_Item.IsHelpfulItem
    • C_Item.IsItemInRange
    • C_Item.IsUsableItem
    • C_Item.ItemHasRange
    • C_Item.GetItemMaxStackSizeByID
    • C_Item.GetDetailedItemLevelInfo
    • C_Item.GetItemMaxStackSize
  • Removed:
    • GetItemInfoInstant
    • GetItemSubClassInfo
    • GetItemInventorySlotInfo

Miscellaneous

  • Minor clean-up, optimization and file organization.

Don't miss a new classicapi release

NewReleases is sending notifications on new releases.