Skip to content

Protocols

hpyhacking edited this page Sep 9, 2013 · 3 revisions
Clone this wiki locally

CMD_LOGIN use identity and password sign in the server

  • identity
  • password

CMD_LOGOUT user sign out

CMD_QUERY_PLAYER query user self informations

  • player_id

CMD_QUERY_BALANCE query user balance

CMD_QUERY_GAME query all games

CMD_WATCH request watch a game table

  • game_id

CMD_UNWATCH request unwatch a game table

  • game_id

CMD_JOIN request join a game

  • game_id
  • sn
  • buyin

CMD_LEAVE request leave a game

  • game_id

CMD_RAISE texas hold' em raise command

  • game_id
  • amount

CMD_FOLD texas hold' em fold command

  • game_id

CMD_QUERY_SEATS query game's setas information

  • game_id

CMD_OUT request out a game

  • game_id
  • sn
  • buyin

NOTIFY_ACOUNT account balance bets and inplay bets

  • balance
  • inplay

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

  • game_id

NOTIFY_GAME_END current game end

  • game_id

NOTIFY_GAME_CANCEL current game cancel

  • game_id

NOTIFY_STAGE texas hold'em - current stage begin or within

  • game_id
  • stage

NOTIFY_STAGE_END texas hold'em - current state over

  • game_id
  • stage

NOTIFY_BUTTON _texas hold'em - current game button _

  • game_id
  • b

NOTIFY_SB texas hold'em - current game small blind

  • game_id
  • sb

NOTIFY_BB texas hold'em - current game big blind

  • game_id
  • bb

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

  • game_id
  • sn
  • player_id

NOTIFY_GAMES_LIST_END notify hall's games size

  • size

NOTIFY_SEATS_LIST_END notify one game's seats size

  • size

NOTIFY_WATCH notify player watch game

  • game_id
  • player_id

NOTIFY_UNWATCH notify player unwatch game

  • game_id
  • player_id

NOTIFY_SIGNIN notify sign in successful

  • player_id

NOTIFY_ERROR notify some error

  • 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

  • game_id
  • card

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

  • player_id
  • nick
  • photo

NOTIFY_FOLD texas hold'em - notify sn player fold

  • game_id
  • sn

NOTIFY_OUT texas hold'em - notify player out

  • game_id
  • player_id
Something went wrong with that request. Please try again.