C_AccountStore
namespaceavailable in: camelotStatus in wowlua
11 functions: 0 implemented, 0 recorded, 11 guessed. 5 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
BeginPurchase | Starts buying the item from the account store. · by wowlua(itemID: number): boolean | guessed |
GetCategories | Returns the IDs of the store front's categories. · by wowlua(storeFrontID: number): number[] | guessed |
GetCategoryInfo | Returns information about the account store category. · by wowlua(categoryID: number): AccountStoreCategoryInfo | guessed |
GetCategoryItems | Returns the IDs of the items in the account store category. · by wowlua(categoryID: number): number[] | guessed |
GetCurrencyAvailable | Returns how much of the account store currency the player has. · by wowlua(currencyID: number): number | guessed |
GetCurrencyIDForStore | Returns the ID of the currency the store front uses. · by wowlua(storeFrontID: number): number? | guessed |
GetCurrencyInfo | Returns information about the account store currency. · by wowlua(currencyID: number): AccountStoreCurrencyInfo | guessed |
GetItemInfo | Returns information about the account store item. · by wowlua(itemID: number): AccountStoreItemInfo? | guessed |
GetStoreFrontState | Returns the state of the store front. · by wowlua(storeFrontID: number): AccountStoreState | guessed |
RefundItem | Requests a refund of the account store item. · by wowlua(itemID: number): boolean | guessed |
RequestStoreFrontInfoUpdate | Requests 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
| event | payload | fired by the emulator |
|---|---|---|
ACCOUNT_STORE_CURRENCY_AVAILABLE_UPDATED | currencyID: number | not implemented |
ACCOUNT_STORE_FRONT_UPDATED | storeFrontID: number | not implemented |
ACCOUNT_STORE_ITEM_INFO_UPDATED | itemID: number | not implemented |
ACCOUNT_STORE_TRANSACTION_ERROR | result: AccountStoreTransactionResult | not implemented |
STORE_FRONT_STATE_UPDATED | storeFrontID: number | not 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, iconAccountStoreCurrencyInfo· id, amount, maxQuantity?, name, iconAccountStoreItemInfo· 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.