… | |
… | |
21 | Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 | Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 | --> |
22 | --> |
23 | </head> |
23 | </head> |
24 | <body> |
24 | <body> |
25 | |
25 | |
26 | <h1>$Revision: 1.49 $</h1> |
26 | <h1>$Revision: 1.50 $</h1> |
27 | |
27 | |
28 | <h1>KGS Protocol Description</h1> |
28 | <h1>KGS Protocol Description</h1> |
29 | |
29 | |
30 | <p>This XML document describes the KGS protocol. It is also used |
30 | <p>This XML document describes the KGS protocol. It is also used |
31 | to automatically generate the perl parser for all the messages and |
31 | to automatically generate the perl parser for all the messages and |
… | |
… | |
588 | <member name="channel" type="U16"/> |
588 | <member name="channel" type="U16"/> |
589 | <member name="player" type="U8"/> |
589 | <member name="player" type="U8"/> |
590 | </message> |
590 | </message> |
591 | |
591 | |
592 | <message type="441a" name="set_teacher" src="client"> |
592 | <message type="441a" name="set_teacher" src="client"> |
593 | Change the teacher to somebody else (or possibly yourself == take it). |
593 | <p>Change the teacher to somebody else (or possibly yourself == take it). If the |
|
|
594 | name is empty, the game will continue normally.</p> |
594 | <member name="channel" type="U16"/> |
595 | <member name="channel" type="U16"/> |
595 | <member name="name" type="username"/> |
596 | <member name="name" type="username"/> |
596 | </message> |
597 | </message> |
597 | |
598 | |
598 | <message type="4422" name="allow_user" src="client"> |
599 | <message type="4422" name="allow_user" src="client"> |
599 | Unclear. Maybe allow users to talk? No idea, really. |
600 | <p>Unclear. Maybe allow users to talk? No idea, really.</p> |
600 | |
601 | |
601 | <member name="channel" type="U16"/> |
602 | <member name="channel" type="U16"/> |
602 | <member name="othername" type="username"/> |
603 | <member name="othername" type="username"/> |
603 | <member name="name" type="username"/>; # gives user access to the game (to what? ;) |
604 | <member name="name" type="username"/>; # gives user access to the game (to what? ;) |
604 | </message> |
605 | </message> |