v0.13.8

BULK_PURCHASE_RESULT_RECEIVED

eventnot implementedC_CatalogShopavailable in: camelot

Fires when the result of buying several shop products at once (such as a housing market cart) arrives. Blizzard's shop offers a currency top-up when the result says the funds were too low. · description by wowlua

declarationwowlua
declare event BULK_PURCHASE_RESULT_RECEIVED(result: BulkPurchaseResult, productResults: BulkPurchaseIndividualProductResult[], bestTopUpProductID: number?, totalCost: number?)

Payload

#nametypedescription
1resultBulkPurchaseResultThe overall result (Enum.BulkPurchaseResult).
2productResultsBulkPurchaseIndividualProductResult[]The result for each product.
3bestTopUpProductIDnumber?The top-up product the shop suggests when funds were too low.
4totalCostnumber?The total cost of the purchase.

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

not implementedFor an event, not implemented means the emulated client never fires it by itself. Fire it from a test with mock.fireEvent, or mock.fireUnitEvent for a unit event. The event must be one the flavor documents, and its payload is checked against the documentation. what the statuses mean

sources

Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (CatalogShop system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.