WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   Lua/XML Help (https://www.wowinterface.com/forums/forumdisplay.php?f=16)
-   -   Event that indicates that conduit data is available? (https://www.wowinterface.com/forums/showthread.php?t=58619)

sezz 03-07-21 11:58 AM

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.

Fizzlemizz 03-07-21 01:26 PM

Possibly CURRENCY_DISPLAY_UPDATE?

The charges tray registers for this when it shows.

sezz 03-07-21 05:07 PM

Quote:

Originally Posted by Fizzlemizz (Post 338580)
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.


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

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