-
Notifications
You must be signed in to change notification settings - Fork 2
StartGameMessage, GameStartsMessage
mkoengeter edited this page Feb 11, 2014
·
5 revisions
This message pair is being sent when the creator of the game decides to start it. The StartGameMessage is sent as a private chat message, the GameStartsMessage is broadcasted using the multiuser chat room.
Private message from player to service:
<message id="Po135-7" to="[email protected]/MobilisNineCards_v1#1" from="[email protected]/android" type="chat"> <body> <StartGameMessage xmlns="http://mobilis.inf.tu-dresden.de/apps/9cards"> </startgamemessage> </body> </message>
Public message from service to players:
<message id="WCCf1-59" to="mobilisninecards_v1#[email protected]" type="groupchat"> <body> <GameStartsMessage xmlns="http://mobilis.inf.tu-dresden.de/apps/9cards"> <rounds>9</rounds> </gamestartsmessage> </body> </message>