Shadowlands API changes?
Hi there,
Are the Shadowlands API changes announced for now? |
Server-side changes have not been announced yet, nor has any organized patch notes concerning API.
However, you're welcome to browse this github diff between live servers and a UI extract from the beta: https://github.com/Gethe/wow-ui-sour...a?diff=unified |
Thank you very much!
|
frame:SetBackdrop("something") doesnt work anymore and SL Beta tells me SetBackdrop is nil.
Anyone knows what replaces SetBackdrop? EDITH: nvm found it: https://us.forums.blizzard.com/en/wo...beta/586355/17 "Instead of always creating backdrops on every frame, they require each frame to explicitly inherit backdrops. There is no change in functionality, only the default setting has been changed in an effort to improve performance." |
Try this thread: https://www.wowinterface.com/forums/...ad.php?t=58109
|
Anyone knows with what GetCurrencyListSize() was replaced cause it aint working on Beta anymore?
|
Code:
local numTokenTypes = C_CurrencyInfo.GetCurrencyListSize(); |
Quote:
|
Several of currency related function calls have been replace with C_CurrencyInfo API calls.
So the return values also changed. Check here for some more details. |
Not sure about the code in general, but I know that NAMEPLATE_FONT and NAMEPLATE_SPELLCAST_FONT doesn't accept file paths, they have to be the name of a font object instead. Like "GameFontWhite" or "GameFontNormalSmall".
|
I've asked about the API changes because my good old lua code seems to have stopped working in 9.x. It's a simple code to print out quest IDs into chat if any quest is accepted or completed. (useful for tracking hidden quests)
Code:
local RealQuestBlacklist = {} -- [questID] = true, Ignore any questIDs in the list It's a part of an old, never released rare scanner addon, I just cut this part for myself so there may be some leftovers here and there (since I don't speak the lua language at all.) On retail this code prints out every accepted and completed quest but on Beta/PTR it says "QUEST_ACCEPTED nil" for the accepted quests and nothing for completed ones. The error log is: Code:
Message: Interface\AddOns\raredar\code.lua:94: attempt to call global 'GetQuestsCompleted' (a nil value) Also, if no replacements, do you know any addon that does the same thing? Or do you have any idea how to change this code chunk to print IDs for accepted and completed quests in 9.x? Thank you very much in advance. |
GetAllCompletedQuestIDs exists in C_QuestLog namespace.
https://www.townlong-yak.com/framexm...umentation.lua |
Thank you,
It works differently, so I see it's not enough just to replace the function's name in the code. Wowpedia says "it now returns quest IDs in a sequentially ordered table instead of associative." - but I don't know what does it mean. ^^ Do you have any idea how to change this chunk of code to make it work again? |
Lua Code:
|
Thank you!
|
All times are GMT -6. The time now is 03:09 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI