File Details
Cell_UnitFrames_23-04-26.zip
- R
- Apr 23, 2026
- 279.79 KB
- 664
- 12.0.5+1
- Retail
File Name
Cell_UnitFrames_23-04-26.zip
Supported Versions
- 12.0.5
- 12.0.1
v1.4.4 — 2026-04-18
- Bumped ` Version` to v1.4.4 and internal `CUF.version` to 32.
- Policy: `Cell/` stays read-only (upstream) — Midnight work lives in `Cell_UnitFrames/Util/Compat.lua` (UTF-8 / `UpdateTextWidth`, `UpdateCustomIndicators` proxy for secret `sourceUnit`, safe unit-button `OnUpdate` for secret `UnitGUID`). `RefreshCellMidnightUnitButtonGuidPatches` after first `UpdateLayout`.
- Compat: Resolves `UnitButton_UpdateInRange` from `UnitButton_OnTick` (and DFS by name); patches `Cell.unitButtons.{party,pet,raid,npc}.units` because `F.IterateAllUnitButtons` skips `"units"` (party pet `3401` spam).
- Compat: Re-patches when `GetScript("OnUpdate")` is not our wrapper; `nups` heuristic when upvalue names are stripped; `C_Timer.NewTicker(1)` retries until token maps fill; `debug`-nil guard + `CUF_Fallback_UnitButtonUpdateInRange` / `UpdateCombatIcon` when `debug.getupvalue` is unavailable.
- Compat: Wraps `Cell.funcs.IsPlayer` / `IsPet` / `IsNPC` / `IsVehicle` so secret GUIDs never hit `string.find` (Cell `ShouldShowPowerText` path).
- Names (`Util/Utils.lua`, `Widgets/Texts/NameText.lua`, `Widgets/Texts/CustomFormats.lua`): `Util.SafeUnitFullName` avoids Cell’s `F.UnitFullName` → `GetUnitName(unit, true)` on Midnight (Blizzard `GetUnitName` can compare a secret realm string when tainted — `UnitFrame.lua:1088`). Uses `GetUnitName(unit, false)` + safe realm append.

