How to read "Interface" TOC field?
Hello,
Is there a way to read "Interface" field in the TOC file of an addon? I tried: Code:
GetAddOnMetadata(myAddonName, "Interface") Thanks. |
That's because it's not a valid field.
https://wow.gamepedia.com/API_GetAddOnMetadata |
OK, so is there another way to get this value?
|
You might take a look at https://www.townlong-yak.com/framexm...onList.lua#478
Lua Code:
|
What exactly are you wanting to do with the info? Perhaps there is a different solution.
|
Thank you Rilgamon. I tried your script but "reason" is NIL when the addon TOC interface is 9.x on WoW Retail (8.x).
I wanted to compare an addon TOC interface number with WoW version number but I realised I don't need to perform such a test. Sorry to ask a stupid question, and thank you for your replies. |
All times are GMT -6. The time now is 02:45 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI