World of Warcraft Forever API · SimpleMapSceneAPI.md, for your AI
SimpleMapSceneAPI (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
GetMaxCharacterSlotCount
maxCharacterSlotCount = self:GetMaxCharacterSlotCount()
Returns
maxCharacterSlotCount | number |
|---|
GetModelDrawLayer
layer, sublayer = self:GetModelDrawLayer()
Returns
layer | DrawLayer | |
|---|---|---|
sublayer | number |
GetViewInsets
left, right, top, bottom = self:GetViewInsets()
Returns
left | uiUnit | |
|---|---|---|
right | uiUnit | |
top | uiUnit | |
bottom | uiUnit |
SetModelDrawLayer
self:SetModelDrawLayer(layer)
Arguments
layer | DrawLayer |
|---|
SetViewInsets
self:SetViewInsets(left, right, top, bottom)
Arguments
left | uiUnit | |
|---|---|---|
right | uiUnit | |
top | uiUnit | |
bottom | uiUnit |