8000 GitHub - imbus64/wow-api-type-definitions: Lua type definitions for WoW 1.12.1
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

imbus64/wow-api-type-definitions

 
 

Repository files navigation

Contributing

  • See Completion Status for remaining tasks.
  • UI functions go in DefaultUI.d.lua, not /Function, because they're part of the interface code.

Usage

  • Install sumneko.lua language server extension in your IDE of choice
  • Clone this repo into your addon directory and .gitignore it.
  • Configure .luarc.json, including path to root directory of these type definitions.
  • The language server doesn't support Lua 5.0, so avoid using features added in Lua 5.1.
{
   "diagnostics.globals": [
      "arg",
      "arg1",
      "arg2",
      "arg3",
      "arg4",
      "arg5",
      "arg6",
      "arg7",
      "arg8",
      "arg9",
      "event"
   ],
   "runtime.version": "Lua 5.1",
   "type.inferParamType": true,
   "workspace.library": ["wow-api-type-definitions"]
}

Attributions

This repo includes work adapted from documentation:

  • Events from Shagu, who compiled them from wowpedia
  • Global Functions from wowpedia, 20 October 2006
  • TODO Global Variables
  • Widgets from wowpedia, 9 October 2006

Licensing

The only software license compatible with this project is the GNU GPLv3. That's because Wowpedia and WoWWiki license content under CC BY-SA 3.0, which allows upgrading to CC BY-SA 4.0, and then one-way to GNU GPLv3 to complete a license hat trick.

About

Lua type definitions for WoW 1.12.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%
0