C_CraftingOrders
namespaceavailable in: camelotStatus in wowlua
36 functions: 0 implemented, 1 recorded, 35 guessed. 24 events, 0 of them fired by the emulator on its own.
Functions
| function | what it does | status |
|---|---|---|
AreOrderNotesDisabled | Whether notes on crafting orders are disabled. · by wowlua(): boolean | guessed |
CalculateCraftingOrderPostingFee | Returns the fee for posting a crafting order. · by wowlua(skillLineAbilityID: number, orderType: CraftingOrderType, orderDuration: CraftingOrderDuration): WOWMONEY | guessed |
CanOrderSkillAbility | Whether a recipe can be ordered. · by wowlua(skillLineAbilityID: number): boolean | guessed |
CancelOrder | Cancels one of the player's crafting orders. · by wowlua(orderID: number) | guessed |
ClaimOrder | Claims a crafting order to craft it. · by wowlua(orderID: number, profession: Profession) | guessed |
CloseCrafterCraftingOrders | Closes the crafter's crafting orders window. · by wowlua() | guessed |
CloseCustomerCraftingOrders | Closes the customer's crafting orders window. · by wowlua() | guessed |
FulfillOrder | Completes a claimed crafting order and sends it to the customer. · by wowlua(orderID: number, crafterNote: string, profession: Profession) | guessed |
GetClaimedOrder | Returns the crafting order the player has claimed. · by wowlua(): CraftingOrderInfo? | guessed |
GetCrafterBuckets | Returns the crafting orders available to the crafter, grouped by recipe. · by wowlua(): CraftingOrderBucketInfo[] | guessed |
GetCrafterOrders | Returns the crafting orders available to the crafter. · by wowlua(): CraftingOrderInfo[] | guessed |
GetCraftingOrderTime | Returns the crafting order system's current time. · by wowlua(): number | guessed |
GetCustomerCategories | Returns the categories of the customer's crafting order browser. · by wowlua(): CraftingOrderCustomerCategory[] | guessed |
GetCustomerOptions | Returns the recipes a customer can order that match the search. · by wowlua(params: CraftingOrderCustomerSearchParams): CraftingOrderCustomerSearchResults | guessed |
GetCustomerOrders | Returns the crafting orders found for the customer. · by wowlua(): CraftingOrderInfo[] | guessed |
GetDefaultOrdersSkillLine | Returns the profession skill line the crafting orders window opens on. · by wowlua(): number? | guessed |
GetMyOrders | Returns the player's own crafting orders. · by wowlua(): CraftingOrderInfo[] | guessed |
GetNumFavoriteCustomerOptions | Returns the number of recipes the customer has marked as favorites. · by wowlua(): number | guessed |
GetOrderClaimInfo | Returns how many crafting orders the player can still claim in a profession. · by wowlua(profession: Profession): CraftingOrderClaimsRemainingInfo | guessed |
GetPersonalOrdersInfo | Returns information about the personal crafting orders sent to the player. · by wowlua(): CraftingOrderPersonalOrdersInfo[] | recorded |
HasFavoriteCustomerOptions | Whether the customer has marked any recipes as favorites. · by wowlua(): boolean | guessed |
IsCustomerOptionFavorited | Whether the customer has marked a recipe as a favorite. · by wowlua(recipeID: number): boolean | guessed |
ListMyOrders | Requests the player's own crafting orders. · by wowlua(request: CraftingOrderRequestMyOrdersInfo) | guessed |
OpenCrafterCraftingOrders | Opens the crafter's crafting orders window. · by wowlua() | guessed |
OpenCustomerCraftingOrders | Opens the customer's crafting orders window. · by wowlua() | guessed |
OrderCanBeRecrafted | Whether the item of a crafting order can be recrafted. · by wowlua(orderID: number): boolean | guessed |
ParseCustomerOptions | Processes the recipes a customer can order. · by wowlua() | guessed |
PlaceNewOrder | Places a new crafting order. · by wowlua(orderInfo: NewCraftingOrderInfo) | guessed |
RejectOrder | Rejects a crafting order sent to the player. · by wowlua(orderID: number, crafterNote: string, profession: Profession) | guessed |
ReleaseOrder | Gives up a claimed crafting order without crafting it. · by wowlua(orderID: number, profession: Profession) | guessed |
RequestCrafterOrders | Requests the crafting orders available to the crafter. · by wowlua(request: CraftingOrderRequestInfo) | guessed |
RequestCustomerOrders | Requests the crafting orders matching the customer's search. · by wowlua(request: CraftingOrderRequestInfo) | guessed |
SetCustomerOptionFavorited | Marks or unmarks a recipe as a customer favorite. · by wowlua(recipeID: number, favorited: boolean) | guessed |
ShouldShowCraftingOrderTab | Whether the profession window shows the crafting orders tab. · by wowlua(): boolean | guessed |
SkillLineHasOrders | Whether a profession skill line has crafting orders. · by wowlua(skillLineID: number): boolean | guessed |
UpdateIgnoreList | Updates the crafting orders' ignore list. · by wowlua() | 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 |
|---|---|---|
CRAFTINGORDERS_CAN_REQUEST | no payload | not implemented |
CRAFTINGORDERS_CLAIMED_ORDER_ADDED | no payload | not implemented |
CRAFTINGORDERS_CLAIMED_ORDER_REMOVED | no payload | not implemented |
CRAFTINGORDERS_CLAIMED_ORDER_UPDATED | orderID: number | not implemented |
CRAFTINGORDERS_CLAIM_ORDER_RESPONSE | result: CraftingOrderResult, orderID: number | not implemented |
CRAFTINGORDERS_CRAFT_ORDER_RESPONSE | result: CraftingOrderResult, orderID: number | not implemented |
CRAFTINGORDERS_CUSTOMER_FAVORITES_CHANGED | no payload | not implemented |
CRAFTINGORDERS_CUSTOMER_OPTIONS_PARSED | no payload | not implemented |
CRAFTINGORDERS_DISPLAY_CRAFTER_FULFILLED_MSG | orderTypeString: string, itemNameString: string, playerNameString: string, tipAmount: WOWMONEY, quantityCrafted: number | not implemented |
CRAFTINGORDERS_FULFILL_ORDER_RESPONSE | result: CraftingOrderResult, orderID: number | not implemented |
CRAFTINGORDERS_HIDE_CRAFTER | no payload | not implemented |
CRAFTINGORDERS_HIDE_CUSTOMER | no payload | not implemented |
CRAFTINGORDERS_ORDER_CANCEL_RESPONSE | result: CraftingOrderResult | not implemented |
CRAFTINGORDERS_ORDER_PLACEMENT_RESPONSE | result: CraftingOrderResult | not implemented |
CRAFTINGORDERS_REJECT_ORDER_RESPONSE | result: CraftingOrderResult, orderID: number | not implemented |
CRAFTINGORDERS_RELEASE_ORDER_RESPONSE | result: CraftingOrderResult, orderID: number | not implemented |
CRAFTINGORDERS_SHOW_CRAFTER | no payload | not implemented |
CRAFTINGORDERS_SHOW_CUSTOMER | no payload | not implemented |
CRAFTINGORDERS_UNEXPECTED_ERROR | no payload | not implemented |
CRAFTINGORDERS_UPDATE_CUSTOMER_NAME | customerName: string, orderID: number | not implemented |
CRAFTINGORDERS_UPDATE_ORDER_COUNT | orderType: CraftingOrderType, numOrders: number | not implemented |
CRAFTINGORDERS_UPDATE_PERSONAL_ORDER_COUNTS | no payload | not implemented |
CRAFTINGORDERS_UPDATE_REWARDS | npcOrderRewards: CraftingOrderRewardInfo[], orderID: number | not implemented |
CRAFTING_HOUSE_DISABLED | no payload | not implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("CRAFTINGORDERS_CAN_REQUEST").
Structures
CraftingOrderRequestInfo· orderType, selectedSkillLineAbility?, searchFavorites, initialNonPublicSearch, primarySort, secondarySort, forCrafter, offset, callback, profession?CraftingOrderRequestMyOrdersInfo· primarySort, secondarySort, offset, callback
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (CraftingOrderUI system, camelot 1.60.1). Descriptions: written by wowlua where no documentation describes the entry.