World of Warcraft Forever API · C_ConsoleScriptCollection.md, for your AI
C_ConsoleScriptCollection
4 functions, 4 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
data = C_ConsoleScriptCollection.GetCollectionDataByID(collectionID)
Arguments
Returns
data = C_ConsoleScriptCollection.GetCollectionDataByTag(collectionTag)
Arguments
Returns
elementIDs = C_ConsoleScriptCollection.GetElements(collectionID)
Arguments
Returns
data = C_ConsoleScriptCollection.GetScriptData(consoleScriptID)
Arguments
Returns
Tables
collectionID | number may be nil | |
|---|
consoleScriptID | number may be nil | |
|---|
ID | number | |
|---|
name | cstring | |
|---|
help | cstring | |
|---|
script | cstring | |
|---|
params | cstring | |
|---|
isLuaScript | bool | |
|---|
name | string | |
|---|
description | string | |
|---|