|
Rebornbuddy
|
This classes primary function is the generation and then consumption of macros for crafting. More...
Public Member Functions | |
| class | CraftingMacro (bool success, CraftingInput input, int recipeId, int progressCur, int progressMax, int qualityCur, int qualityMax, int durabilityCur, int durabilityMax, int steps, int durationSec, string[] actions) |
| Class that represents the output of the macro generator. Provides information like the quality and actions needed to be taken. | |
Static Public Member Functions | |
| static async Task< CraftingMacro > | GenerateMacro (uint recipeId, uint timeoutS=120, int targetQualityPercent=100) |
| This function will generate a sequence of actions that will craft an item. The algorithm will try to get quality as high as possible while ensuring 100% progress. | |
| static async Task< uint > | SearchRecipesByItemId (uint itemId, uint timeoutMS=10000) |
| Searches for all recipes that can craft the specified item. | |
| static Composite | MacroConsumerComposite (ValueRetriever< CraftingMacro > macro) |
| static async Task< bool > | MacroConsumer (CraftingMacro macro) |
Properties | |
| record | CraftingInput [get] |
| A record that indicates the state of the players stats and inventory that was used during macro generation. | |
| record | Ingredient |
This classes primary function is the generation and then consumption of macros for crafting.
| class ff14bot.Managers.CraftingMacroManager.CraftingMacro | ( | bool | success, |
| CraftingInput | input, | ||
| int | recipeId, | ||
| int | progressCur, | ||
| int | progressMax, | ||
| int | qualityCur, | ||
| int | qualityMax, | ||
| int | durabilityCur, | ||
| int | durabilityMax, | ||
| int | steps, | ||
| int | durationSec, | ||
| string[] | actions ) |
Class that represents the output of the macro generator. Provides information like the quality and actions needed to be taken.
A simple check to see if the players current state is the same as it was during the macro generation
|
static |
This function will generate a sequence of actions that will craft an item. The algorithm will try to get quality as high as possible while ensuring 100% progress.
| recipeId | |
| timeoutS | How long to let the macro generation take in seconds |
| targetQualityPercent | What percentage should we aim for? |
|
static |
|
static |
|
static |
Searches for all recipes that can craft the specified item.
| itemId | The item ID to search recipes for |
| timeoutMS | How long to let the search take in MS |
|
get |
A record that indicates the state of the players stats and inventory that was used during macro generation.
| record ff14bot.Managers.CraftingMacroManager.Ingredient |