mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 07:36:56 +00:00
f497c71523
Eight commits off classicapi_next. ClassicAPI's RegisterUnitEvent registers for an event but only delivers it when arg1 is one of the given units, so a handler for one unit stops waking for every other one in the world. The 26 registrations whose unit set is fixed at registration time now name it. The rule throughout is register the superset and keep the handler's own check -- the filter narrows what arrives, it does not decide what to act on. Guards that look unreachable stay put: the filter applies only when arg1 is a string, so an event that fires with a number or no argument is delivered as if plainly registered. Frames whose unit changes at runtime own their subscriptions instead of sorting events out per event. unitframes points them at the unitstr UpdateVisibility already computes -- replacing a string concat, and on a miss a second concat plus a UnitGUID call, for every frame on every unit event in the world -- and a frame that is not in use drops its unit events entirely. nameplates registers per plate against the plate's own token, which is also the only workable shape: slots have no cap, so any nameplate1..N list would have been a guess that fails in exactly the crowded scenes where plates matter. marktracking names mark1 through mark8. A registration keeps its kind, so none of these can be plain-registered first. Both teardown paths PLAYER_LOGOUT guards -- the crash 132 -- now cover the per-frame subscriptions: plates tear down rather than dispatching through logout, and a unit frame takes itself off the visibility scan so it cannot re-register what it just dropped. marktracking also drops its once-a-second full rebuild, which ran for the whole session whether or not a marker existed anywhere. The ticker is created and cancelled with group membership. It is deliberately not keyed on a mark being visible -- a marker on an out-of-range unit shows no row, and that is the case the poll exists to catch. nameplates gates the per-plate update against the floor across all four throttle categories before classifying it, instead of running a GetAlpha, a castbar IsShown, a cast lookup and up to two libthrottle:Get resolutions on plates throttled to 10fps that were going to return anyway. Nothing that would have updated can be turned away by a floor. The four throttles resolve in CacheConfig, where config changes already land. energytick sweeps the clock the server actually runs. There is one regen timer for every power, re-armed every 2s by Player::RegenerateAll and never touched by casting; the five-second rule changes what a tick pays, not when it lands. The sweep is a free-running phase lock on that clock, so Illumination refunds, potions and a Mana Spring totem on its own phase no longer snap the spark mid-cycle, and an 80ms band keeps a correct tick from hitching it at the wrap. The FSR window shades rather than predicting a share of spirit the client cannot compute -- the Casting Regen item ladder is equip auras absent from the buff list. The energy period is summed from SPELL_AURA_MOD_ENERGY_REGEN_TIME across the spellbook and buffs, so Blade Rush is found without GetTalentInfo(2, 16), an ordinal that does not fail when the tree changes but reads another talent's rank. macrotweak is gone -- ClassicAPI 1.15 covers it -- with its config entry, its GUI block, its translations in all eight locales, and actionbar's ButtonMacroScan, the #showtooltip scanner that fed it.
83 lines
3.5 KiB
XML
83 lines
3.5 KiB
XML
<Ui xmlns="http://www.blizzard.com/wow/ui/">
|
|
<Include file="..\modules\gui.lua"/>
|
|
<Include file="..\modules\unlock.lua"/>
|
|
<Include file="..\modules\hoverbind.lua"/>
|
|
<Include file="..\modules\updatenotify.lua"/>
|
|
<Include file="..\modules\actionbar.lua"/>
|
|
<Include file="..\modules\gryphons.lua"/>
|
|
<Include file="..\modules\hunterbar.lua"/>
|
|
<Include file="..\modules\chat.lua"/>
|
|
<Include file="..\modules\whisperproxy.lua"/>
|
|
<Include file="..\modules\chatcopy.lua"/>
|
|
<Include file="..\modules\bubbles.lua"/>
|
|
<Include file="..\modules\addons.lua"/>
|
|
<Include file="..\modules\minimap.lua"/>
|
|
<Include file="..\modules\panel.lua"/>
|
|
<Include file="..\modules\player.lua"/>
|
|
<Include file="..\modules\focus.lua"/>
|
|
<Include file="..\modules\target.lua"/>
|
|
<Include file="..\modules\combopoints.lua"/>
|
|
<Include file="..\modules\swingtimer.lua"/>
|
|
<Include file="..\modules\marktracking.lua"/>
|
|
<Include file="..\modules\targettarget.lua"/>
|
|
<Include file="..\modules\targettargettarget.lua"/>
|
|
<Include file="..\modules\pet.lua"/>
|
|
<Include file="..\modules\group.lua"/>
|
|
<Include file="..\modules\raid.lua"/>
|
|
<Include file="..\modules\mouseover.lua"/>
|
|
<Include file="..\modules\castbar.lua"/>
|
|
<Include file="..\modules\skin.lua"/>
|
|
<Include file="..\modules\xpbar.lua"/>
|
|
<Include file="..\modules\autoshift.lua"/>
|
|
<Include file="..\modules\autovendor.lua"/>
|
|
<Include file="..\modules\bags.lua"/>
|
|
<Include file="..\modules\itemclick.lua"/>
|
|
<Include file="..\modules\cooldown.lua"/>
|
|
<Include file="..\modules\tooltip.lua"/>
|
|
<Include file="..\modules\questitem.lua"/>
|
|
<Include file="..\modules\thirdparty.lua"/>
|
|
<Include file="..\modules\thirdparty-vanilla.lua"/>
|
|
<Include file="..\modules\buff.lua"/>
|
|
<Include file="..\modules\buffwatch.lua"/>
|
|
<Include file="..\modules\nameplates.lua"/>
|
|
<Include file="..\modules\loot.lua"/>
|
|
<Include file="..\modules\roll.lua"/>
|
|
<Include file="..\modules\infight.lua"/>
|
|
<Include file="..\modules\sellvalue.lua"/>
|
|
<Include file="..\modules\itemcount.lua"/>
|
|
<Include file="..\modules\eqcompare.lua"/>
|
|
<Include file="..\modules\map.lua"/>
|
|
<Include file="..\modules\mapcolors.lua"/>
|
|
<Include file="..\modules\uf_tukui.lua"/>
|
|
<Include file="..\modules\custom.lua"/>
|
|
<Include file="..\modules\gm.lua"/>
|
|
<Include file="..\modules\mirrortimers.lua"/>
|
|
<Include file="..\modules\feigndeath.lua"/>
|
|
<Include file="..\modules\pixelperfect.lua"/>
|
|
<Include file="..\modules\hdgraphic.lua"/>
|
|
<Include file="..\modules\share.lua"/>
|
|
<Include file="..\modules\tracking.lua"/>
|
|
<Include file="..\modules\easteregg.lua"/>
|
|
<Include file="..\modules\farmmode.lua"/>
|
|
<Include file="..\modules\pettarget.lua"/>
|
|
<Include file="..\modules\mapreveal.lua"/>
|
|
<Include file="..\modules\unusable.lua"/>
|
|
<Include file="..\modules\socialmod.lua"/>
|
|
<Include file="..\modules\firstrun.lua"/>
|
|
<Include file="..\modules\addonbuttons.lua"/>
|
|
<Include file="..\modules\afkcam.lua"/>
|
|
<Include file="..\modules\screenshot.lua"/>
|
|
<Include file="..\modules\addoncompat.lua"/>
|
|
<Include file="..\modules\energytick.lua"/>
|
|
<Include file="..\modules\totems.lua"/>
|
|
<Include file="..\modules\macroicons.lua"/>
|
|
<Include file="..\modules\superwow.lua"/>
|
|
<Include file="..\modules\innervatecall.lua"/>
|
|
<Include file="..\modules\nampower.lua"/>
|
|
<Include file="..\modules\unitxp.lua"/>
|
|
<Include file="..\modules\bgscore.lua"/>
|
|
<Include file="..\modules\equipmentmanager.lua"/>
|
|
<Include file="..\modules\loothistory.lua"/>
|
|
<Include file="..\modules\newitem.lua"/>
|
|
<Include file="..\modules\friendnotes.lua"/>
|
|
</Ui> |