Quantcast C_ContributionCollector.GetState() is 0 at login - WoWInterface
Thread Tools Display Modes
10-08-19, 06:51 AM   #1
Dathwada
A Defias Bandit
AddOn Author - Click to view addons
Join Date: Aug 2019
Posts: 2
C_ContributionCollector.GetState() is 0 at login

Hi,

I just have a problem that C_ContributionCollector.GetState () only outputs a 0 after the login but only after a reload the required values.

does anyone know a way to get the required values after login?
  Reply With Quote
10-08-19, 12:09 PM   #2
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,670
You're calling the function too early, before that information is available to the UI.
https://wow.gamepedia.com/AddOn_load...during_loading
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » C_ContributionCollector.GetState() is 0 at login

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