Thread Tools Display Modes
07-27-23, 05:49 AM   #1
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 72
EncounterJournalOverviewInfo - Enumerate

I'm trying to specify the name of the object as in the picture to retrieve the displayed text.
But I don't find that Encounter object JournalOverviewInfoHeader1 has any Enumeric methods.



How was the selected item created? How to get its handle?
  Reply With Quote
07-27-23, 08:24 AM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,879
From Blizzard_EncounterJournal.lua
Lua Code:
  1. infoHeader = CreateFrame("FRAME", "EncounterJournalOverviewInfoHeader"..index, EncounterJournal.encounter.overviewFrame, "EncounterInfoTemplate");

The header inherits EncounterInfoTemplate which is in Blizzard_EncounterJournal.xml

You might have to use GetChildren/GetRegions if the what you're looking for doesn't have a parentKey associated.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 07-27-23 at 08:27 AM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » EncounterJournalOverviewInfo - Enumerate


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off