yasuki_core.engine.intents.ReorderPile#
- class ReorderPile(pile, card_id, index)[source]#
Move a card within the acting seat’s own deck or discard pile to a new slot.
indexis the target position in the top-first order the owner sees (the deck’s next-drawn card, or the discard’s top, is index 0). The index is clamped; a no-op move produces no event. Owner-gated.Methods
ReorderPile.__init__(pile, card_id, index)Attributes
pilecard_idindexop