Uses of Class
privbot.api.Outcome
Packages that use Outcome
Package
Description
The PrivBot plugin API boundary: what is supported, and which version of it a runtime provides.
ctx.* facades: inventory, bank, NPCs, widgets, and the other one-liners.-
Uses of Outcome in privbot.api
Methods in privbot.api that return OutcomeModifier and TypeMethodDescriptionstatic Outcomestatic OutcomeOutcome.fromDispatch(boolean sent, Outcome.Status ifNotSent, String reason) static Outcomestatic Outcomestatic OutcomeOutcome.of(Outcome.Status status, String reason) Any status with a reason.static OutcomeOutcome.ok()The action was sent.static OutcomeThe action was sent;detailsays what was sent (for logs).static Outcomestatic OutcomeOutcome.unsupported(String reason) -
Uses of Outcome in privbot.hooks
Methods in privbot.hooks that return OutcomeModifier and TypeMethodDescriptionBank.closeOutcome()Bank.close()with an explicit outcome.Bank.depositAllOutcome(int itemId) Bank.depositAll(int)with an explicit outcome.Bank.depositAllOutcome(String name) Bank.depositAll(String)with an explicit outcome.Bank.depositEquipmentOutcome()Bank.depositEquipment()with an explicit outcome.Bank.depositInventoryOutcome()Bank.depositInventory()with an explicit outcome.Bank.openOutcome()Bank.open()with an explicit outcome.Bank.withdrawAllOutcome(String name) Bank.withdrawAll(String)with an explicit outcome.Bank.withdrawOutcome(int itemId, int qty) Bank.withdraw(int, int)with an explicit outcome.Bank.withdrawOutcome(String name, int qty) Bank.withdraw(String, int)with an explicit outcome.