Protocols - dddabaie/openpoker-2 GitHub Wiki
CMD_LOGIN use identity and password sign in the server
CMD_LOGOUT user sign out
CMD_QUERY_PLAYER query user self informations
CMD_QUERY_BALANCE query user balance
CMD_QUERY_GAME query all games
CMD_WATCH request watch a game table
CMD_UNWATCH request unwatch a game table
CMD_JOIN request join a game
CMD_LEAVE request leave a game
CMD_RAISE texas hold' em raise command
CMD_FOLD texas hold' em fold command
CMD_QUERY_SEATS query game's setas information
CMD_OUT request out a game
NOTIFY_ACOUNT account balance bets and inplay bets
NOTIFY_GAME one game table summary
- game_id
- name
- limit
- seats
- require
- joined
NOTIFY_GAME_DETAIL one game table details
- game_id
- pot
- stage
- limit
- seats
- require
- joined
NOTIFY_GAME_START current game start
NOTIFY_GAME_END current game end
NOTIFY_GAME_CANCEL current game cancel
NOTIFY_STAGE texas hold'em - current stage begin or within
NOTIFY_STAGE_END texas hold'em - current state over
NOTIFY_BUTTON _texas hold'em - current game button _
NOTIFY_SB texas hold'em - current game small blind
NOTIFY_BB texas hold'em - current game big blind
NOTIFY_RAISE texas hold'em - player raise bets
- game_id
- player_id
- sn
- raise
- call
NOTIFY_ACTOR current game actor player
- game_id
- player_id
- sn
- timeout
NOTIFY_JOIN current game join a new player on sn seat
- game_id
- player_id
- sn
- buyin
- nick
- photo
NOTIFY_LEAVE current game leave a player from sn seat
NOTIFY_GAMES_LIST_END notify hall's games size
NOTIFY_SEATS_LIST_END notify one game's seats size
NOTIFY_WATCH notify player watch game
NOTIFY_UNWATCH notify player unwatch game
NOTIFY_SIGNIN notify sign in successful
NOTIFY_ERROR notify some error
NOTIFY_SEAT texas hold'em - one sn seat detail in the game
- game_id
- sn
- state
- player_id
- inplay
- bet
- nick
- photo
NOTIFY_BETTING texas hold'em - player must betting
- game_id
- player_id
- sn
- call
- min
- max
NOTIFY_DRAW texas hold'em - game deal one card to self
- game_id
- player_id
- sn
- card
NOTIFY_PRIVATE texas hold'em - game deal one card to other player
- game_id
- player_id
- sn
- card
NOTIFY_SHARED texas hold'em - game deal one shared card to table
NOTIFY_HAND texas hold'em - game showdown player hand
- game_id
- player_id
- sn
- rank
- high1
- high2
- suit
NOTIFY_CARDS texas hold'em - game showdown player cards
- game_id
- player_id
- sn
- cards
NOTIFY_WIN texas hold'em - player win amount in the game
- game_id
- player_id
- sn
- amount
NOTIFY_PLAYER texas hold'em - notify player nickname and gravatar
NOTIFY_FOLD texas hold'em - notify sn player fold
NOTIFY_OUT texas hold'em - notify player out