WowAddons

World of Warcraft Forever API · FrameAPICharacterModelBase.md, for your AI

FrameAPICharacterModelBase (widget methods)

24 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

ApplySpellVisualKit

self:ApplySpellVisualKit(spellVisualKitID, [oneShot])

Arguments

spellVisualKitIDnumber
oneShotbool default false

CanSetUnit

self:CanSetUnit(unit)

Arguments

unitUnitToken

FreezeAnimation

self:FreezeAnimation(anim, variation, frame)

Arguments

animAnimationDataEnum
variationnumber
framenumber

GetDisplayInfo

displayID = self:GetDisplayInfo()

Returns

displayIDnumber

GetDoBlend

doBlend = self:GetDoBlend()

Returns

doBlendbool

GetKeepModelOnHide

keepModelOnHide = self:GetKeepModelOnHide()

Returns

keepModelOnHidebool

HasAnimation

hasAnimation = self:HasAnimation(anim)

Arguments

animAnimationDataEnum

Returns

hasAnimationbool

PlayAnimKit

self:PlayAnimKit(animKit, [loop])

Arguments

animKitnumber
loopbool default false

RefreshCamera

self:RefreshCamera()

RefreshUnit

self:RefreshUnit()

SetAnimation

self:SetAnimation(anim, [variation])

Arguments

animAnimationDataEnum
variationnumber may be nil

SetBarberShopAlternateForm

self:SetBarberShopAlternateForm()

SetCamDistanceScale

self:SetCamDistanceScale(scale)

Arguments

scalenumber

SetCreature

self:SetCreature(creatureID, [displayID])

Arguments

creatureIDnumber
displayIDnumber default 0

SetDisplayInfo

self:SetDisplayInfo(displayID, [mountDisplayID])

Arguments

displayIDnumber
mountDisplayIDnumber may be nil

SetDoBlend

self:SetDoBlend([doBlend])

Arguments

doBlendbool default false

SetItem

self:SetItem(itemID, [appearanceModID], [itemVisualID])

Arguments

itemIDnumber
appearanceModIDnumber may be nil
itemVisualIDnumber may be nil

SetItemAppearance

self:SetItemAppearance(itemAppearanceID, [itemVisualID], [itemSubclass])

Arguments

itemAppearanceIDnumber
itemVisualIDnumber may be nil
itemSubclassItemWeaponSubclass may be nil

SetKeepModelOnHide

self:SetKeepModelOnHide(keepModelOnHide)

Arguments

keepModelOnHidebool

SetPortraitZoom

self:SetPortraitZoom(zoom)

Arguments

zoomnumber

SetRotation

self:SetRotation(radians, [animate])

Arguments

radiansnumber
animatebool default true

SetUnit

success = self:SetUnit(unit, [blend], [useNativeForm])

Arguments

unitUnitToken
blendbool default true
useNativeFormbool may be nil

Returns

successbool

StopAnimKit

self:StopAnimKit()

ZeroCachedCenterXY

self:ZeroCachedCenterXY()

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows