yasuki_core.engine.rules.decisions.DecisionResponse#

class DecisionResponse(choices=(), boosted=())[source]#

A seat’s answer to the pending DecisionRequest.

Carries the chosen identifiers — card ids, gold-source ids, or an ordering — interpreted by the request being answered. One uniform shape so the decision log, the save format, and the netcode all serialize answers the same way.

Attributes:
choicestuple of str

The chosen identifiers, in the order the seat picked them. Default empty.

boostedtuple of str

The subset of choices whose bow-time production boost the seat took — a boostable producer raised to its higher yield as it bows, then destroyed. Only meaningful answering a ChoosePayment. Default empty.

Methods

DecisionResponse.__init__([choices, boosted])

Attributes

choices

boosted