mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-15 23:50:38 +00:00
Retail's per-slot temporary enchant, the function its deprecated GetWeaponEnchantInfo is now built from. It reads the same temporary enchant slot as C_Item.GetItemTempEnchantInfo, in retail's shape: an INVSLOT_ number in, and a TemporaryItemEnchantInfo table out (enchantID, remainingTimeMs, chargesRemaining, hasExpirationTime), or nothing when the slot has no temporary enchant. A slot outside 1..19 also returns nothing, so the engine never sees it. hasExpirationTime is the descriptor duration gate that the shared reader already tested before it asked for the time left. C_Item.GetItemTempEnchantInfo stays as the ClassicAPI extension for a weapon in a bag (#47). The docs link the two.