- summary: Selects the recipe to craft in the open workshop.
- area: Game.Exchange
Selects the recipe to craft in the open workshop.
Kind request · Area Game.Exchange
Picks the recipe to craft in the workshop you have open.
HOW TO SEND IT
1. A craft exchange must be open (the workshop window).
2. object_uid: the item id of the recipe's RESULT (the item the recipe
makes, as in the game data's recipe list). It is NOT an inventory uid,
whatever Ankama's member name says.
3. If you own every ingredient, send only this request.
4. If some are missing, the client warns (ui.craft.dontHaveAllIngredient,
or ui.craft.noIngredient), first puts in the ingredients you do own, one
ExchangeObjectMoveRequest each (inventory uid, quantity), and then
sends this request anyway.
5. Leave any other member unset: the client never fills it.
AFTER SENDING
Watch ExchangeObjectsAddedEvent (remote false) for the items now in the
craft.
When you may send it
- Requires
exchange_openinferred - Raised by: the player picks a recipe in the workshop's recipe list proven
Related messages
- You will then receive
ExchangeObjectsAddedEventinferred — when you own every ingredient the client moves nothing itself, so the ingredients that appear in the craft are put there by the server
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | object_uid | int32 | Item id of the recipe's result (the item the recipe makes), not an inventory uid despite the name. (item id) Ankama's name says uid; the client sends the recipe's result item id (RecipeData.resultId). | required |