v0.13.8

C_AccountStore

namespaceavailable in: camelot

Status in wowlua

11 functions: 0 implemented, 0 recorded, 11 guessed. 5 events, 0 of them fired by the emulator on its own.

Functions

functionwhat it doesstatus
BeginPurchaseStarts buying the item from the account store. · by wowlua
(itemID: number): boolean
guessed
GetCategoriesReturns the IDs of the store front's categories. · by wowlua
(storeFrontID: number): number[]
guessed
GetCategoryInfoReturns information about the account store category. · by wowlua
(categoryID: number): AccountStoreCategoryInfo
guessed
GetCategoryItemsReturns the IDs of the items in the account store category. · by wowlua
(categoryID: number): number[]
guessed
GetCurrencyAvailableReturns how much of the account store currency the player has. · by wowlua
(currencyID: number): number
guessed
GetCurrencyIDForStoreReturns the ID of the currency the store front uses. · by wowlua
(storeFrontID: number): number?
guessed
GetCurrencyInfoReturns information about the account store currency. · by wowlua
(currencyID: number): AccountStoreCurrencyInfo
guessed
GetItemInfoReturns information about the account store item. · by wowlua
(itemID: number): AccountStoreItemInfo?
guessed
GetStoreFrontStateReturns the state of the store front. · by wowlua
(storeFrontID: number): AccountStoreState
guessed
RefundItemRequests a refund of the account store item. · by wowlua
(itemID: number): boolean
guessed
RequestStoreFrontInfoUpdateRequests up-to-date information about the store front from the server. · by wowlua
(storeFrontID: number)
guessed

"by wowlua": no one documents this function, so wowlua wrote the description from its name, signature and behaviour.

Events

eventpayloadfired by the emulator
ACCOUNT_STORE_CURRENCY_AVAILABLE_UPDATEDcurrencyID: numbernot implemented
ACCOUNT_STORE_FRONT_UPDATEDstoreFrontID: numbernot implemented
ACCOUNT_STORE_ITEM_INFO_UPDATEDitemID: numbernot implemented
ACCOUNT_STORE_TRANSACTION_ERRORresult: AccountStoreTransactionResultnot implemented
STORE_FRONT_STATE_UPDATEDstoreFrontID: numbernot implemented

An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("ACCOUNT_STORE_CURRENCY_AVAILABLE_UPDATED").

Structures

  • AccountStoreCategoryInfo · id, name, type, icon
  • AccountStoreCurrencyInfo · id, amount, maxQuantity?, name, icon
  • AccountStoreItemInfo · id, status, mode, currencyID, flags, customUIModelSceneID?, name, description?, price, nonrefundable, creatureDisplayID?, transmogSetID?, displayIcon?, refundSecondsRemaining?

sources

Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (AccountStore system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.