5 Jun 04:47
Re: Seats: actual protocol proposal
Jason McIntosh <zendonut <at> gmail.com>
2005-06-05 02:47:58 GMT
2005-06-05 02:47:58 GMT
On 4 Jun 2005 15:23:47 -0700, Roger Crew <wrog <at> users.sourceforge.net> wrote: > > Anyway, I have a counterproposal, which is simpler in some ways: > > ref_to_player: > players_sitting(seat_id, LIST of jids) > > Reports the current state of a given seat. > The list may be empty. So you'd send this out every time a player changed seats, with the whole roster of that seat as an argument? Is this more efficient or easy to handle than using my player_sat(seat, jid) call instead, accepting that my version might have to be called more times (once for each sitting player) initially? > player_to_ref: > change_seat(jid[, seat_id]) > > Expresses the preference that jid should be sitting in seat_id. > The sender does not need to be jid. > Omitting seat_id means "I don't care" and undoes any previously > expressed preference that might still be pending. > > The players_sitting() calls come first, i.e., everyone who joins the > game gets seated *somewhere* AND gets a full seat roster blasted at them > in the form of players_sitting() msgs. When you join the table, though, you're not sitting anywhere... you're standing, which is a separate state, and useful if you just want to(Continue reading)
RSS Feed