[Freeciv-Dev] why must this capability stay?
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
/**************************************************************************
Fills in conn.id automatically, no need to set in packet_join_game_reply.
**************************************************************************/
int send_packet_join_game_reply(struct connection *pc,
const struct packet_join_game_reply *reply)
{
SEND_PACKET_START(PACKET_JOIN_GAME_REPLY);
dio_put_bool32(&dout, reply->you_can_join);
dio_put_string(&dout, reply->message);
dio_put_string(&dout, reply->capability);
/* This must stay even at new releases! */
if (has_capability("conn_info", pc->capability)) {
dio_put_uint32(&dout, pc->id);
}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SEND_PACKET_END;
}
why has this got to stay?
-mike
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] why must this capability stay?,
Mike Kaufman <=
|
|