WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Legion Invasion related API? (https://www.wowinterface.com/forums/showthread.php?t=55474)

Layback_ 06-14-17 12:32 AM

Legion Invasion related API?
 
Hi all,

I got a super quick and simple question.

Would there be any Invasion related API?

The reason that I'm asking this is to create myself an invasion timer to track:
  • Where the current invasion is located
  • When the current invasion ends
  • When the next invasion starts
  • Where the next invasion locates (if possible, as I'm guessing that location is selected randomly, but sequentially)

Unfortunately, I could've not found anything related to Legion Invasion from WoW UI Source, XML archive or wowpedia.
(There was only C_Garrison.IsInvasionAvailable, which seems to return boolean value for Garrison Invasion in WoD)

So, could I get some any advice on how I could achieve those four features?

Thank you!

p3lim 06-14-17 03:04 AM

There are a few addons doing such things already, like this one:
https://mods.curse.com/addons/wow/legioninvasiontimer

They are most likely all using custom timers based on Map POI API and Achievement/Quest data.

Layback_ 06-14-17 07:07 AM

Quote:

Originally Posted by p3lim (Post 323784)
There are a few addons doing such things already, like this one:
https://mods.curse.com/addons/wow/legioninvasiontimer

They are most likely all using custom timers based on Map POI API and Achievement/Quest data.

Awesome!

Gotta look through the code and see how they actually work :banana:

Thank you for the reference!!

(I totally forgot to search for existing addons :p)


All times are GMT -6. The time now is 03:03 PM.

vBulletin © 2020, Jelsoft Enterprises Ltd
© 2004 - 2020 MMOUI