Documentation
¶
Index ¶
- func CompleteCombatOrder(task models.Task) (string, error)
- func CompleteCraftingOrder(task models.Task) (string, error)
- func CraftingLevelCheck(craftingAction string, item *models.ItemDetails) error
- func DepositAllInventory(inventory []models.InventorySlot)
- func Move(destinationBuildingName string) error
- func WithdrawCraftingItems(quantity int, items *models.ItemDetails) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CraftingLevelCheck ¶
func CraftingLevelCheck(craftingAction string, item *models.ItemDetails) error
CraftingLevelCheck Looks at the item to be crafted and checks that the users crafting level allows it.
func DepositAllInventory ¶
func DepositAllInventory(inventory []models.InventorySlot)
func WithdrawCraftingItems ¶
func WithdrawCraftingItems(quantity int, items *models.ItemDetails) (int, error)
WithdrawCraftingItems Calculates the maximum items that can be crafted per inventory. Retrieves all the materials and returns the maximum craftable per inventory.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.