View Single Post
12-16-22, 12:01 PM   #4
gmarco
An Onyxian Warder
 
gmarco's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2009
Posts: 362
Hi all,

the search for dungeon areaID is almost over. I need only The azure vault then I think I have correctly mapped the 8 dungeons.

Just one question now.

I'd like to have an array made in this way:


Lua Code:
  1. [197] = { "EYE" }

where 197 is areaID code of the dungeon and EYE is a short memonic to print in databroker.

I'd like to use the areaID code to found in some way the dungeon name so avoiding the need to write the record in this way:

Lua Code:
  1. [197] = { "EYE" ,       "Eye of Azhara" },

and to have the need of the localization strings.

The problem is that I am not able to associate in any way that areaID with the dungeon name.

I use the areaID code in functions:
https://wowpedia.fandom.com/wiki/Cat...s/C_MythicPlus

But there is not anything to retrieve dungeon name.

So I thought to add another (different) number (journalInstanceID) from here in the record :
https://wowpedia.fandom.com/wiki/API_EJ_GetInstanceInfo

and use that to call and get the name of the dungeon .

Do you think I have a better approach to do this thing ?
Thanks. Really appreciated.
__________________
This is Unix-Land. In quiet nights, you can hear the Windows machines reboot.
  Reply With Quote