Thread Tools Display Modes
06-14-17, 12:32 AM   #1
Layback_
An Onyxian Warder
Join Date: Feb 2016
Posts: 358
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!
  Reply With Quote
06-14-17, 03:04 AM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
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.
  Reply With Quote
06-14-17, 07:07 AM   #3
Layback_
An Onyxian Warder
Join Date: Feb 2016
Posts: 358
Originally Posted by p3lim View Post
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

Thank you for the reference!!

(I totally forgot to search for existing addons )

Last edited by Layback_ : 06-14-17 at 07:11 AM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Legion Invasion related API?


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