yasuki_web.schemas.ServerDeckContents#
- class ServerDeckContents(*, type='DECK_CONTENTS', room, deck, cards)[source]#
A deck’s full ordered contents, delivered to its owner alone in response to a SEARCH_DECK.
The normal SNAPSHOT redacts deck order, so this is the one message that reveals a deck’s cards — and only ever to the player who owns it.
cardsis top-of-deck first: index 0 is the card that would be drawn next.deckcarries the owning seat and side (e.g.{"owner": "P1", "side": "FATE"}) so the client can label the dialog and route a pulled card.Methods
Attributes
model_configConfiguration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
typeroomdeckcards