NEW_RECIPE_LEARNED
Fires when the player learns a profession recipe or a new rank of one. Blizzard's UI shows a new recipe alert and refreshes the recipe form if it shows that recipe. · description by wowlua
declare event NEW_RECIPE_LEARNED(recipeID: number, recipeLevel: number?, baseRecipeID: number?)Payload
| # | name | type | description |
|---|---|---|---|
| 1 | recipeID | number | The recipe learned. |
| 2 | recipeLevel | number? | The rank of the recipe learned, for recipes with ranks. |
| 3 | baseRecipeID | number? | The first rank of the recipe, for recipes with ranks. |
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 meansources
Name, payload and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (TradeSkillUI system, camelot 1.60.1). Description: written by wowlua where no documentation describes the entry.