Class Outcome

java.lang.Object
privbot.api.Outcome

public final class Outcome extends Object
What happened when a verb was asked to act: an explicit answer instead of false plus a log line.

Outcome.Status.DISPATCHED means the action left for the game. It is NOT proof that the game did it: a withdraw can be dispatched and still not land. Verify the effect (the item arrived, the interface closed) the way you would for a human click. Every other status means nothing was sent.


 Outcome o = ctx.bank.withdrawOutcome("Shark", 10);
 if (!o.dispatched()) {
     log.info("withdraw not sent: {} ({})", o.status(), o.reason());
 }
 

Existing boolean verbs stay; ...Outcome siblings return this type.