World of Warcraft Forever API · SimpleScrollFrameAPI.md, for your AI
SimpleScrollFrameAPI (widget methods)
9 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
GetHorizontalScroll
offset = self:GetHorizontalScroll()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
offset | uiUnit |
|---|
GetHorizontalScrollRange
range = self:GetHorizontalScrollRange()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
range | uiUnit |
|---|
GetScrollChild
scrollChild = self:GetScrollChild()
Returns
scrollChild | SimpleFrame |
|---|
GetVerticalScroll
offset = self:GetVerticalScroll()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
offset | uiUnit |
|---|
GetVerticalScrollRange
range = self:GetVerticalScrollRange()
Its returns can be secret values (in some instances and fights): guard them before any arithmetic.
Returns
range | uiUnit |
|---|
SetHorizontalScroll
self:SetHorizontalScroll(offset)
Protected: only Blizzard's own code may call it.
Arguments
offset | uiUnit |
|---|
SetScrollChild
self:SetScrollChild(scrollChild)
Protected: only Blizzard's own code may call it.
Arguments
scrollChild | SimpleFrame |
|---|
SetVerticalScroll
self:SetVerticalScroll(offset)
Protected: only Blizzard's own code may call it.
Arguments
offset | uiUnit |
|---|
UpdateScrollChildRect
self:UpdateScrollChildRect()