50 |
"SAY_cards_in_hand <nb players> <card 1> ... <card n>", |
"SAY_cards_in_hand <nb players> <card 1> ... <card n>", |
51 |
"Say the number of cards for the player, and what cards"} |
"Say the number of cards for the player, and what cards"} |
52 |
, |
, |
53 |
|
{PROTOCOL_ASK_BIDS, "ASK_bids", -1, "SAY_bid", |
54 |
|
"ASK_bids <nb players> <bid 1> ... <bid n>", |
55 |
|
"Say the current bids, and ask for your bid."} |
56 |
|
, |
57 |
|
{PROTOCOL_SAY_BIDS_RESUME, "SAY_bids_resume", -1, NULL, |
58 |
|
"SAY_bids_resume <nb players> <bid 1> ... <bid n>", |
59 |
|
"Say the last bids"} |
60 |
|
, |
61 |
|
{PROTOCOL_SAY_WAITING_PLAYER, "SAY_waiting_player", 1, NULL, |
62 |
|
"SAY_waiting_player <player nick>", |
63 |
|
"Say who we are waiting. This is rather informational message."} |
64 |
|
, |
65 |
{PROTOCOL_INFO, "INFO", 1, NULL, "INFO <message>", |
{PROTOCOL_INFO, "INFO", 1, NULL, "INFO <message>", |
66 |
"Send some information string to the player"} |
"Send some information string to the player"} |
67 |
, |
, |
294 |
void |
void |
295 |
protocol_send_array (int sock_id, protocol_e id, char **strings_array) |
protocol_send_array (int sock_id, protocol_e id, char **strings_array) |
296 |
{ |
{ |
297 |
int i, n; |
int i; |
298 |
GString *gs; |
GString *gs; |
299 |
|
|
300 |
for (i = 0; protocol_send_info[i].id != PROTOCOL_NULL; i++) |
for (i = 0; protocol_send_info[i].id != PROTOCOL_NULL; i++) |