World of Warcraft Forever API · C_XMLUtil.md, for your AI
C_XMLUtil
2 functions, 3 tables, 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
C_XMLUtil.GetTemplateInfo
info = C_XMLUtil.GetTemplateInfo(name)
May return nothing.
Arguments
name | cstring |
|---|
Returns
info | XMLTemplateInfo |
|---|
C_XMLUtil.GetTemplates
templates = C_XMLUtil.GetTemplates()
Returns
templates | XMLTemplateListInfo[] |
|---|
Tables
XMLTemplateInfo structure
type | cstring | |
|---|---|---|
width | number | |
height | number | |
keyValues | XMLTemplateKeyValue[] | |
inherits | cstring may be nil | |
sourceLocation | string |
XMLTemplateKeyValue structure
key | cstring | |
|---|---|---|
keyType | cstring | |
type | cstring | |
value | cstring |
XMLTemplateListInfo structure
name | cstring | |
|---|---|---|
type | cstring |