Files
benilla-octo/crates/benilla-app/assets/ui/CharacterFrameAdapters.xml
T

17 lines
1.1 KiB
XML

<!--
Adapters over the stock CharacterFrame.xml; loaded after it, so these win.
Deviation: `ArenaFrame`, a sixth tab page 1.12 has no version of. TurtleWoW's `patch-4.mpq`
copy of `CharacterFrame.lua` appends "ArenaFrame" to `CHARACTERFRAME_SUBFRAMES` — six names
where the reference has five (line 1) — so `CharacterFrame_ShowSubFrame` indexes all six and
raises `attempt to index field '?' a nil value` on the fifth tab's Hide. There is no
`ArenaFrame.lua` or `.xml` anywhere in the player's chain, none in the reference `_G` capture,
and benilla implements no arena frames, so the name has to exist or the character window's own
tab loop dies. An empty hidden frame is the whole of it: no tab button, no content, no script.
`id="6"` continues the reference's own numbering (PaperDoll 1, PetPaperDoll 2, Reputation 3,
Skill 4, Honor 5), which is what `ToggleCharacter` hands `PanelTemplates_SetTab`.
-->
<Ui xmlns="http://www.blizzard.com/wow/ui/">
<Frame name="ArenaFrame" setAllPoints="true" parent="CharacterFrame" hidden="true" id="6" />
</Ui>