[open] Fetching trial scores
Hey, I want to gather raid scores for my addon, so I'm using `GetRaidLeaderboardLocalPlayerInfo(RAID_CATEGORY_TRIAL, raidIndex)` method to fetch the data, but, it behaves really strange:
1. I have these lines in my addon: Code:
mainData.Trials = {} `/script d(GetRaidLeaderboardLocalPlayerInfo(RAID_CATEGORY_TRIAL, 1))`. Doesn't even matter what index. I don't even need to call them all, just once. 3. Now, if I reload UI the API call returns all the correct data. But once I logout and log back in, I need to do a local call again or the `GetRaidLeaderboardLocalPlayerInfo` calls always return zeros. Anyone know what is going on here? |
I believe you need to call QueryRaidLeaderboardData() to make sure it is updated. Not sure if that happens immediately or not.
|
All times are GMT -6. The time now is 08:13 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI