Commit Graph

11 Commits

Author SHA1 Message Date
Brues 8e635afeed GetItemCount via C_Item, reagents via C_Spell.GetSpellReagents
Drops the legacy pfUI.api.GetItemCount wrapper (name-based bag walk +
GetItemInfo per slot) entirely — both call sites switch to direct
C_Item.GetItemCount(itemID) calls.

actionbar reagent counter: drops the SPELL_REAGENTS tooltip-scan +
libtipscan dependency. UpdateSlot now does GetActionInfo(slot) →
spellID → C_Spell.GetSpellReagents → reagent itemID, stored per slot.
Counts update via C_Item.GetItemCount(itemID). reagent_counts is
keyed by itemID instead of localized name string. Multi-reagent
spells now resolve cleanly (only first reagent counted, matching old
single-name behavior). Macro and bag-item actions skip cleanly.

questitem: switches to hooksecurefunc("SetItemRef", ...) + the
modern GameTooltip:HasItem / :GetItem pair instead of monkey-patching
_G.SetItemRef and string.find-parsing the "item:NNN" out of the link.
Drops the libtooltip indirection for the regular tooltip path —
GameTooltip:GetItem returns name + itemID directly. AddTooltip
extended to accept the itemID (both callers already had it and were
discarding it).
2026-05-21 16:20:19 -05:00
Meow 34f5c3eb02 Version 6.1.0 - Raid/Party Frame Fixes
Bugfixes:
- Fixed 40-yard range check not working for raid/party frames
- Fixed aggro indicator not displaying properly on raid/party frames
- Improved aggro cache to only cache positive results for instant detection
- Fixed HP/Mana not updating with "Use Raid Frames for group" enabled
- Added SuperWoW nil-check for SpellInfo
- Added missing events: PARTY_MEMBER_ENABLE, PARTY_MEMBER_DISABLE, PLAYER_UPDATE_RESTING

UI Improvements:
- Share/Hoverbind buttons now show warning when module is disabled
2026-01-08 12:25:18 +01:00
Meow 5d0e195d1e performance update
performance update
2026-01-03 12:58:31 +01:00
shagu dabd867944 questitem: ignore empty/invalid server results 2020-09-27 19:20:05 +02:00
Retinus ddc1b859a6 questitem: abort when no valid id is given 2020-07-13 16:36:26 +02:00
shagu cd76ac0b72 questitem: abort when no valid item was given 2020-07-10 17:08:12 +02:00
shagu 980782ffb1 questitem: check for existing variables first 2020-07-05 23:58:29 +02:00
shagu 11bc84524f questitem: add option to disable features 2020-07-05 22:39:53 +02:00
shagu 6826937db5 questitem: always show tooltip to refresh sizes 2020-07-05 22:27:07 +02:00
shagu 5cab5e1d4c questitem: show current and required item counts 2020-07-05 22:27:00 +02:00
shagu 6aea5b5803 questitem: show related questname on questitems 2020-07-03 16:25:17 +02:00