World of Warcraft Forever API · SimpleOffScreenFrameAPI.md, for your AI
SimpleOffScreenFrameAPI (widget methods)
8 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
ApplySnapshot
success = self:ApplySnapshot(texture, snapshotID)
Arguments
texture | SimpleTexture | |
|---|---|---|
snapshotID | number |
Returns
success | bool |
|---|
Flush
self:Flush()
GetMaxSnapshots
maxSnapshots = self:GetMaxSnapshots()
Returns
maxSnapshots | number |
|---|
IsSnapshotValid
isValid = self:IsSnapshotValid(snapshotID)
Arguments
snapshotID | number |
|---|
Returns
isValid | bool |
|---|
SetMaxSnapshots
self:SetMaxSnapshots(maxSnapshots)
Arguments
maxSnapshots | number |
|---|
TakeSnapshot
snapshotID = self:TakeSnapshot()
Returns
snapshotID | number may be nil |
|---|
TestPrintToFile
success = self:TestPrintToFile(snapshotID, filename)
Unavailable in public builds
Arguments
snapshotID | number | |
|---|---|---|
filename | cstring |
Returns
success | bool |
|---|
UsesNPOT
usesNPOT = self:UsesNPOT()
Returns
usesNPOT | bool may be nil |
|---|