Interface ActionDraw

interface ActionDraw {
    order: CardOrder;
    playerIndex: PlayerIndex;
    rank: -1 | 1 | 2 | 3 | 4 | 5 | 7;
    suitIndex: -1 | 0 | 1 | 2 | 3 | 4 | 5;
    type: "draw";
}

Properties

order: CardOrder
playerIndex: PlayerIndex
rank: -1 | 1 | 2 | 3 | 4 | 5 | 7

-1 represents a card of an unknown rank (e.g. it was drawn to our own hand).

suitIndex: -1 | 0 | 1 | 2 | 3 | 4 | 5

-1 represents a card of an unknown suit (e.g. it was drawn to our own hand).

type: "draw"