Thread Tools Display Modes
04/07/21, 06:51 AM   #1
IsJustaGhost
AddOn Author - Click to view addons
Join Date: May 2020
Posts: 37
Question are the only functions that get current event info private?

I'm working on making an Event oriented addon.
Are there any functions, not private, usable to get information about the current event?
eventName = "Anniversary Jubilee"

This is needed to set hooks as only active during the event, and trying to use predetermined dates will likely cause false returns. Meaning there will be times where the hooks are allowed to run when the event is not active, or not run when needed because the event overruns.
  Reply With Quote
04/07/21, 07:16 AM   #2
Baertram
Super Moderator
 
Baertram's Avatar
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 4,960
Check the Eventor addon and other event related ones, I think most funcs are private or server side, and the other stuff is hardcoded "buff" checks and hard coded time checks.
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » are the only functions that get current event info private?

Thread Tools
Display Modes

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