yasuki_web.schemas#

Classes

CardMove(*, id, x, y)

ChatRequest(*, text)

ClientMessage(*, type, room[, join, intent, ...])

IntentEnvelope(*, op[, card_id, card_ids, ...])

A game intent on the wire: an op plus whichever targets that op needs.

JoinRequest(*, name)

LoadDeckRequest(*, yaml[, filename])

ReadyRequest(*[, ready, solo])

ServerChat(*[, type])

ServerDeckContents(*[, type])

A deck's full ordered contents, delivered to its owner alone in response to a SEARCH_DECK.

ServerError(*[, type, debug])

ServerHello(*[, type, your_seat])

ServerLog(*[, type])

ServerSnapshot(*[, type])

Functions

intent_from_envelope(envelope)

Build a core Intent from a validated envelope.