Quantcast
Event that indicates that conduit data is available? - WoWInterface
 
Thread Tools Display Modes
03-07-21, 11:58 AM   #1
sezz
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 158
Event that indicates that conduit data is available?

Is there an event that fires when installed conduits can be queried after logging in (specifically soulbindData.tree.nodes returned by C_Soulbinds.GetSoulbindData or C_Soulbinds.FindNodeIDActuallyInstalled)?

PLAYER_ENTERING_WORLD is too soon (it sometimes works but doesn't anymore after zoning), SPELLS_CHANGED isn't reliable either.

The following events work, but they require that the user interacts with the soulbind UI which shouldn't be required:

SOULBIND_CONDUIT_INSTALLED
SOULBIND_ACTIVATED

I tried to RegisterAllEvents on a frame and output the last x events after the data is available, but couldn't find anything useful.

The goal is to only activate part of my addon when a specific conduit is installed.
  Reply With Quote
03-07-21, 01:26 PM   #2
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,423
Possibly CURRENCY_DISPLAY_UPDATE?

The charges tray registers for this when it shows.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 03-07-21 at 01:36 PM.
  Reply With Quote
03-07-21, 05:07 PM   #3
sezz
A Chromatic Dragonspawn
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 158
Originally Posted by Fizzlemizz View Post
Possibly CURRENCY_DISPLAY_UPDATE?

The charges tray registers for this when it shows.
Interesting, but seems to fire even before PLAYER_ENTERING_WORLD.

I just had a a look at some random WAs related to conduits and they all seem to use a timer for this, maybe that's currently really the only way.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Event that indicates that conduit data is available?

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