Skip to content
mkoengeter edited this page Apr 10, 2013 · 2 revisions

The clients can request details about open games before joining them. For this, the following IQs are being used:

Request from Client to Service:

 <iq id="mobilis_44" to="[email protected]/MobilisXHunt_v3#1" from="[email protected]/MXA" type="get">
    <GameDetailsRequest></gamedetailsrequest>
 </iq>

Response from Service to Client:

 <iq id="mobilis_44" from="[email protected]/MobilisXHunt_v3#1" to="[email protected]/MXA" type="2">
    <GameDetailsResponse>
       <GameName>Gamex</gamename>
       <RequirePassword>true</requirepassword>
       <CountRounds>10</countrounds>
       <StartTimer>15000</starttimer>
       <PlayerNames>matze; </playernames>
       <IsOpen>true</isopen>
    </gamedetailsresponse>
 </iq>

Up: XHunt Communication Structure

Clone this wiki locally