WowAddons

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

C_AccountStore

11 functions, 5 events, 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_AccountStore.BeginPurchase

purchaseStarted = C_AccountStore.BeginPurchase(itemID)

Arguments

itemIDnumber

Returns

purchaseStartedbool

C_AccountStore.GetCategories

categories = C_AccountStore.GetCategories(storeFrontID)

Arguments

storeFrontIDnumber

Returns

categoriesnumber[]

C_AccountStore.GetCategoryInfo

info = C_AccountStore.GetCategoryInfo(categoryID)

Arguments

categoryIDnumber

Returns

infoAccountStoreCategoryInfo

C_AccountStore.GetCategoryItems

itemIDs = C_AccountStore.GetCategoryItems(categoryID)

Arguments

categoryIDnumber

Returns

itemIDsnumber[]

C_AccountStore.GetCurrencyAvailable

amount = C_AccountStore.GetCurrencyAvailable(currencyID)

Arguments

currencyIDnumber

Returns

amountnumber

C_AccountStore.GetCurrencyIDForStore

currencyID = C_AccountStore.GetCurrencyIDForStore(storeFrontID)

Arguments

storeFrontIDnumber

Returns

currencyIDnumber may be nil

C_AccountStore.GetCurrencyInfo

info = C_AccountStore.GetCurrencyInfo(currencyID)

Arguments

currencyIDnumber

Returns

infoAccountStoreCurrencyInfo

C_AccountStore.GetItemInfo

info = C_AccountStore.GetItemInfo(itemID)

Arguments

itemIDnumber

Returns

infoAccountStoreItemInfo may be nil

C_AccountStore.GetStoreFrontState

state = C_AccountStore.GetStoreFrontState(storeFrontID)

Arguments

storeFrontIDnumber

Returns

stateAccountStoreState

C_AccountStore.RefundItem

refundStarted = C_AccountStore.RefundItem(itemID)

Arguments

itemIDnumber

Returns

refundStartedbool

C_AccountStore.RequestStoreFrontInfoUpdate

C_AccountStore.RequestStoreFrontInfoUpdate(storeFrontID)

Arguments

storeFrontIDnumber

Events

ACCOUNT_STORE_CURRENCY_AVAILABLE_UPDATED

currencyIDnumber

ACCOUNT_STORE_FRONT_UPDATED

storeFrontIDnumber

ACCOUNT_STORE_ITEM_INFO_UPDATED

itemIDnumber

ACCOUNT_STORE_TRANSACTION_ERROR

resultAccountStoreTransactionResult

STORE_FRONT_STATE_UPDATED

storeFrontIDnumber

Tables

AccountStoreCategoryInfo structure

idnumber
namecstring
typeAccountStoreCategoryType
iconfileID

AccountStoreCurrencyInfo structure

idnumber
amountnumber
maxQuantitynumber may be nil
namecstring
iconfileID

AccountStoreItemInfo structure

idnumber
statusAccountStoreItemStatus
modeAccountStoreItemMode
currencyIDnumber
flagsAccountStoreItemFlag
customUIModelSceneIDnumber may be nil
namecstring
descriptioncstring may be nil
pricenumber
nonrefundablebool
creatureDisplayIDnumber may be nil
transmogSetIDnumber may be nil
displayIconfileID may be nil
refundSecondsRemainingtime_t may be nil

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