Quantcast WoWInterface - View Single Post - Data Updates
Thread: Data Updates
View Single Post
07-05-15, 12:30 PM   #4
Nimhfree
A Frostmaul Preserver
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 264
You can determine the location of the NPCs in the garrison buildings by determining which plots the buildings are in and what level the buildings are. There are Blizzard APIs to get a lot of the data, but some of the data is not available in the Blizzard APIs if you have not been in the garrison before you query them. For example, if you login and are away from the garrison, calling the APIs gives you less information than if you have been to the garrison already. My addon, Grail, handles this by keeping its own table of how the different buildings related to each other (the different levels of buildings). If you look at Grail to see that it has prerequisites of specific buildings, etc. including different locations, you can see what it does. However, if you would like more information just let me know.
  Reply With Quote