Ketho / vscode-wow-api

VS Code extension for World of Warcraft AddOns
https://marketplace.visualstudio.com/items?itemName=ketho.wow-api
MIT License
151 stars 33 forks source link

Some missing API's or wrong API parameters #47

Closed Nils89 closed 2 years ago

Nils89 commented 2 years ago

Hi, thanks for that amazing extension :)

I habe found some API's which requires wrong parameters: GetActiveSpecGroup() -> the parameter is required but it is optional GetSpellLevelLearned(spellId) --> Missing UIFrameFadeIn and UIFrameFadeOut --> required the wrong types tables instead of dbl UnitBuff() --> first parameter retirees a string not a integer PlaySoundFile() --> missing UnitPower() --> has optional parameters UnitPowerMax() --> has optional parameters UnitIsMercenary() -- parameter unit = string --> missing SetSpecialization() --> second parameter is optional GetAddOnMemoryUsage() --> parameter: index --> missing GetAddOnCPUUsage() --> parameter: index --> missing

Ketho commented 2 years ago

A few of those APIs like UnitIsMercenary were not documented yet, but you can help out by creating a wowpedia page and it will be automatically pulled 👍 Basically the state of the extension reflects the wiki.