View Single Post
05/01/21, 10:34 AM   #1
IsJustaGhost
AddOn Author - Click to view addons
Join Date: May 2020
Posts: 38
[rejected] Add ability to query in-game event information

I'm working on an addon that helps the user save event tickets. But it really needs access to the functions in MarketAnnouncement_Manager:PopulateEventAnnouncements().

Lua Code:
  1. GetNumEventAnnouncements()
  2. GetEventAnnouncementNameByIndex(i)
  3. GetEventAnnouncementDescriptionByIndex(i)
  4. GetEventAnnouncementIngameTileImageByIndex(i)
  5. GetEventAnnouncementStartTimeByIndex(i)
  6. GetEventAnnouncementRemainingTimeByIndex(i)
  7. GetEventAnnouncementIngameTileMarketProductIdByIndex(i)

Currently I am using a list I created. I will need to update the list for when each event runs in order for the dates to be correct. Cannot really predict when the years events are going to run. And then update it for any changes, like this years Anniversary Jubilee's over-run.

Last edited by IsJustaGhost : 05/01/21 at 01:46 PM.
  Reply With Quote