~/forever/addon-api
Addon API
math.round(value, decimalPlaces) : roundedValuemath.saturate(value) : saturatedValuemath.sign(value) : signmath.wrap(value, minimum, maximum) : wrappedscrub(values) : scrubbedscrubsecretvalues(values) : scrubbedsecretunwrap(values) : unwrappedsecretwrap(values) : wrappedsecurecallmethod(object, method, arguments) : resultssecurecopy(value?, options?) : copysettablesecurity(table, option)string.contains(str, substring) : containsstring.endswith(str, suffix) : endsWithstring.ltrim(str, characters) : trimmedstring.rtrim(str, characters) : trimmedstring.startswith(str, prefix) : startsWithstring.trim(str, characters) : trimmedtable.contains(table, value?) : containsValuetable.count(table) : counttable.create(arraySizeHint, nodeSizeHint) : tabletable.freeze(table) : frozentable.getcountinfo(table) : numEntries, numPositiveIntegerKeys, maxPositiveIntegerKeytable.indexof(table, value?) : indextable.isempty(table) : emptytable.isfrozen(table) : frozentable.keys(table) : keystable.removeunordered(table, index?) : valuetable.removevalue(table, value?) : removedCounttable.values(table) : valuesDocumented entries come from Blizzard's in-client API documentation, and UI code functions from its Lua files, mirrored per build. C functions that neither mentions aren't included, and UI code functions can be internal.