World of Warcraft Forever API · Build.md, for your AI
Build (global functions)
12 functions, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
GetBuildInfo
buildVersion, buildNumber, buildDate, interfaceVersion, localizedVersion, buildInfo = GetBuildInfo()
Returns
buildVersion | cstring | |
|---|---|---|
buildNumber | cstring | |
buildDate | cstring | |
interfaceVersion | number | |
localizedVersion | cstring | |
buildInfo | string |
GetBuildOption
isSet = GetBuildOption(name)
Arguments
name | cstring |
|---|
Returns
isSet | bool may be nil |
|---|
Is64BitClient
is64Bit = Is64BitClient()
Returns
is64Bit | bool |
|---|
IsBetaBuild
isBetaBuild = IsBetaBuild()
Returns
isBetaBuild | bool |
|---|
IsDebugBuild
isDebugBuild = IsDebugBuild()
Returns
isDebugBuild | bool |
|---|
IsLinuxClient
isLinux = IsLinuxClient()
Returns
isLinux | bool |
|---|
IsMacClient
isMac = IsMacClient()
Returns
isMac | bool |
|---|
IsPublicBuild
isPublicBuild = IsPublicBuild()
Returns
isPublicBuild | bool |
|---|
IsPublicTestClient
isPublicTestClient = IsPublicTestClient()
Reflects the state of the OnlyBetaAndPTR TOC directive
Returns
isPublicTestClient | bool |
|---|
IsTestBuild
isTestBuild = IsTestBuild()
Returns
isTestBuild | bool |
|---|
IsWindowsClient
isWindows = IsWindowsClient()
Returns
isWindows | bool |
|---|
SupportsClipCursor
supportsClipCursor = SupportsClipCursor()
Returns
supportsClipCursor | bool |
|---|