-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevents.py
39 lines (39 loc) · 1.31 KB
/
events.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
REMOVE_GAME_FROM_LOBBY = "removeLobbyGame"
GAME_CANCELLED = "gameCancelled"
WAITING_FOR_PLAYERS = "waitingForPlayers"
ADD_LOBBY_GAME = "addLobbyGame"
CLEAR_LOBBY_GAMES = "clearLobbyGames"
JOIN_LOBBY_GAME = "joinLobbyGame"
UPDATE_WAITING_MESSAGE = "updateWaitingMessage"
LEAVE_LOBBY_GAME = "leaveLobbyGame"
UPDATE_LOBBY_GAME = "updateLobbyGame"
NEW_GAME = "newGame"
CONNECT = "connect"
DISCONNECT = "disconnect"
CANCEL_LOBBY_GAME = "cancelLobbyGame"
REQUEST_ALL_LOBBY_GAMES = "requestAllLobbyGames"
POPULATE_LOBBY_GAMES = "populateLobbyGames"
REJOIN_LOBBY = "rejoinLobby"
RETURN_TO_LOBBY = "returnToLobby"
INIT_GAME = "initGame"
DISPLAY_HAND = "displayHand"
DISPLAY_TRUMP_CARD = "displayTrumpCard"
DISPLAY_CARDS_REMAINING = "displayCardsRemaining"
DISPLAY_CARDS_DISCARDED = "displayCardsDiscarded"
DISPLAY_TRUMP_SUIT = "displayTrumpSuit"
UPDATE_USER_STATUS_MESSAGE = "updateUserStatusMessage"
GAME_RESPONSE = "gameResponse"
ON_ATTACK = "onAttack"
DISABLE_GAME_BOARD = "disableGameBoard"
DRAW_ATTACKING = "drawAttacking"
DRAW_DEFENDING = "drawDefending"
DRAW_ADDING = "drawAdding"
ERASE_ATTACKING = "eraseAttacking"
ERASE_DEFENDING = "eraseDefending"
ERASE_ADDING = "eraseAdding"
ON_DEFENSE = "onDefense"
UPDATE_HAND_COUNTS = "updateHandCounts"
GAME_OVER = "gameOver"
ADDING = "adding"
ERASE_EVENT = 'eraseAllCards'
DEFENDING = 'defending'