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
purchaseStarted = C_AccountStore.BeginPurchase(itemID)
Arguments
Returns
categories = C_AccountStore.GetCategories(storeFrontID)
Arguments
Returns
info = C_AccountStore.GetCategoryInfo(categoryID)
Arguments
Returns
itemIDs = C_AccountStore.GetCategoryItems(categoryID)
Arguments
Returns
amount = C_AccountStore.GetCurrencyAvailable(currencyID)
Arguments
Returns
currencyID = C_AccountStore.GetCurrencyIDForStore(storeFrontID)
Arguments
Returns
currencyID | number may be nil | |
|---|
info = C_AccountStore.GetCurrencyInfo(currencyID)
Arguments
Returns
info = C_AccountStore.GetItemInfo(itemID)
Arguments
Returns
state = C_AccountStore.GetStoreFrontState(storeFrontID)
Arguments
Returns
refundStarted = C_AccountStore.RefundItem(itemID)
Arguments
Returns
C_AccountStore.RequestStoreFrontInfoUpdate(storeFrontID)
Arguments
Events
result | AccountStoreTransactionResult | |
|---|
Tables
id | number | |
|---|
name | cstring | |
|---|
type | AccountStoreCategoryType | |
|---|
icon | fileID | |
|---|
id | number | |
|---|
amount | number | |
|---|
maxQuantity | number may be nil | |
|---|
name | cstring | |
|---|
icon | fileID | |
|---|
id | number | |
|---|
status | AccountStoreItemStatus | |
|---|
mode | AccountStoreItemMode | |
|---|
currencyID | number | |
|---|
flags | AccountStoreItemFlag | |
|---|
customUIModelSceneID | number may be nil | |
|---|
name | cstring | |
|---|
description | cstring may be nil | |
|---|
price | number | |
|---|
nonrefundable | bool | |
|---|
creatureDisplayID | number may be nil | |
|---|
transmogSetID | number may be nil | |
|---|
displayIcon | fileID may be nil | |
|---|
refundSecondsRemaining | time_t may be nil | |
|---|