v0.13.8

COMMODITY_PRICE_UPDATED

eventimplementedC_AuctionHouseavailable in: camelot

Fires with the current price after the player starts buying a commodity with C_AuctionHouse.StartCommoditiesPurchase. Blizzard's buy dialog compares it with the price it showed and asks again if it went up. · description by wowlua

declarationwowlua
declare event COMMODITY_PRICE_UPDATED(updatedUnitPrice: number, updatedTotalPrice: number)

Payload

#nametypedescription
1updatedUnitPricenumberThe price per unit, in copper.
2updatedTotalPricenumberThe price for the whole quantity, in copper.

Blizzard's documentation marks the event as synchronous.

In wowlua's emulated client

implementedThe emulator fires it on its own, from its auction model. what the statuses mean

sources

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