joinRoomSuccess.json 652 B

1234567891011121314151617181920212223242526
  1. {
  2. "type" : "object",
  3. "$schema" : "http://json-schema.org/draft-06/schema",
  4. "title" : "Lobby protocol: joinRoomSuccess",
  5. "description" : "Sent by server when player successfully joins the game room",
  6. "required" : [ "type", "gameRoomID", "proxyMode" ],
  7. "additionalProperties" : false,
  8. "properties" : {
  9. "type" :
  10. {
  11. "type" : "string",
  12. "const" : "joinRoomSuccess"
  13. },
  14. "gameRoomID" :
  15. {
  16. "type" : "string",
  17. "description" : "ID of game room that this player now participates in"
  18. },
  19. "proxyMode" :
  20. {
  21. "type" : "boolean",
  22. "description" : "If true, account should use proxy mode and connect to server via game lobby"
  23. }
  24. }
  25. }