forked from mobilis/mobilis
-
Notifications
You must be signed in to change notification settings - Fork 0
TargetIQ
mkoengeter edited this page Apr 10, 2013
·
1 revision
When a player chooses a station as next target, a TargetIQ is sent. It contains information about the target id, the round, the chosen type of ticket and whether this target is final or just a suggestion (in praxis it's always final, since the possibility to make suggestions was removed from the Client app).
Request from Client to Service:
<iq id="mobilis_136" to="[email protected]/MobilisXHunt_v3#1" from="[email protected]/MXA" type="set"> <TargetRequest> <StationId>18</stationid> <Round>2</round> <TicketId>4</ticketid> <IsFinal>true</isfinal> </targetrequest> </iq>
Response from Service to Client:
<iq id="mobilis_136" from="[email protected]/MXA" to="[email protected]/MobilisXHunt_v3#1" type="0"> <TargetResponse> <StationId>18</stationid> <Round>2</round> <TicketId>4</ticketid> <IsFinal>true</isfinal> </targetresponse> </iq>