World of Warcraft Forever API · Screen.md, for your AI
Screen (global functions)
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
GetDefaultScale
scale = GetDefaultScale()
Returns
scale | number |
|---|
GetPhysicalScreenSize
sizeX, sizeY = GetPhysicalScreenSize()
Returns
sizeX | number | |
|---|---|---|
sizeY | number |
GetScreenDPIScale
scale = GetScreenDPIScale()
Returns
scale | number |
|---|
GetScreenHeight
height = GetScreenHeight()
Returns
height | number |
|---|
GetScreenWidth
width = GetScreenWidth()
Returns
width | number |
|---|