v0.8.2
Variable: TABLE_EVENTS
• Const
TABLE_EVENTS: Object
Table events
This is a comprehensive list of all events that can be emitted by the Table class.
You can use these events to listen for changes in the table state, or to trigger actions based on table events.
Type declaration
Name | Type |
---|---|
ATTRIBUTES_CHANGED | "table:attributes:changed" |
ATTRIBUTE_CHANGED | "table:attribute:changed" |
CARD_DEALT | "table:card:dealt" |
CREATED | "table:created" |
DECK_CARD_DRAWN | "table:deck:card:drawn" |
DECK_CREATED | "table:deck:created" |
DECK_SHUFFLED | "table:deck:shuffled" |
EMPTY | "table:empty" |
PLAYER_JOINED | "table:player:joined" |
PLAYER_LEFT | "table:player:left" |
PLAYER_SAT | "table:player:sat" |
PLAYER_STOOD | "table:player:stood" |
SEATS_HANDS_CLEARED | "table:seats:hands:cleared" |
SEAT_HAND_ADDED | "table:seat:hand:added" |
SEAT_HAND_CLEARED | "table:seat:hand:cleared" |
SEAT_HAND_REMOVED | "table:seat:hand:removed" |
STATE_UPDATED | "table:state:updated" |