-
Notifications
You must be signed in to change notification settings - Fork 2
ConfigureGameRequest, ConfigureGameResponse
mkoengeter edited this page Feb 11, 2014
·
6 revisions
This message pair is being sent right after the creation of a new game service instance. It is used to configure the maximum number of players and rounds and for notifying the game creator about the ID of the multiuser chat room (MUC).
IQ from game creator to game service:
<iq id="mobilis_8" to="[email protected]/MobilisNineCards_v1#1" from="[email protected]/android" type="set"> <ConfigureGameRequest xmlns="http://mobilis.inf.tu-dresden.de/apps/9cards"> <players>6</players> <rounds>9</rounds> </configuregamerequest> </iq>
IQ from game service to game creator:
<iq id="mobilis_8" to="[email protected]/android" from="[email protected]/MobilisNineCards_v1#1" type="result"> <ConfigureGameResponse xmlns="http://mobilis.inf.tu-dresden.de/apps/9cards"> <muc>mobilisninecards_v1#[email protected]</muc> </configuregameresponse> </iq>