World of Warcraft Forever API · SimpleObjectAPI.md, for your AI
SimpleObjectAPI (widget methods)
5 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
ClearParentKey
self:ClearParentKey()
GetDebugName
debugName = self:GetDebugName([preferParentKey])
Arguments
preferParentKey | bool default false |
|---|
Returns
debugName | string |
|---|
GetParent
parent = self:GetParent()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
parent | CScriptObject |
|---|
GetParentKey
parentKey = self:GetParentKey()
Returns
parentKey | cstring |
|---|
SetParentKey
self:SetParentKey(parentKey, [clearOtherKeys])
Arguments
parentKey | cstring | |
|---|---|---|
clearOtherKeys | bool default false |