Constructs a new instance of the CraftManager class.
The client object.
The server object.
The ID of the recipe to craft.
The number of times to craft the recipe.
Crafts an item using the given recipe and adds it to the client's inventory.
The ZoneServer2016 instance.
The client performing the craft.
The ID of the recipe being crafted.
The number of times to repeat the recipe.
A promise resolving to a boolean indicating if the crafting process was successful.
Generates the craft queue based on the recipe and its components.
The ZoneServer2016 instance.
The client performing the craft.
The recipe object.
The number of times to repeat the recipe.
The ID of the recipe being crafted.
The total number of items to craft.
A promise resolving to a boolean indicating if the craft queue generation was successful.
Retrieves the inventory data source for a character.
The Character2016 instance.
The inventory data source object.
Removes a craft component from the character and updates the remaining items.
The ZoneServer2016 instance.
The item data source containing the craft component.
The number of craft components to remove.
A boolean indicating if the removal was successful.
Removes simulated craft components from the internal recipe components data source.
The item definition ID of the craft component to remove.
The number of craft components to remove.
A boolean indicating if the removal was successful.
CraftManager handles the crafting of a recipe by a client.