WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   EncounterJournalOverviewInfo - Enumerate (https://www.wowinterface.com/forums/showthread.php?t=59643)

Platine 07-27-23 05:49 AM

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?

Fizzlemizz 07-27-23 08:24 AM

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.


All times are GMT -6. The time now is 01:44 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI