clientLogin.json 1008 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {
  2. "type" : "object",
  3. "$schema" : "http://json-schema.org/draft-06/schema",
  4. "title" : "Lobby protocol: clientLogin",
  5. "description" : "Sent by client when player requests lobby login",
  6. "required" : [ "type", "accountID", "accountCookie", "language", "version" ],
  7. "additionalProperties" : false,
  8. "properties" : {
  9. "type" :
  10. {
  11. "type" : "string",
  12. "const" : "clientLogin"
  13. },
  14. "accountID" :
  15. {
  16. "type" : "string",
  17. "description" : "ID of existing account to login with"
  18. },
  19. "accountCookie" :
  20. {
  21. "type" : "string",
  22. "description" : "Secret UUID for identification"
  23. },
  24. "language" :
  25. {
  26. "type" : "string",
  27. "description" : "Language of client, see lib/Languages.h for full list"
  28. },
  29. "version" :
  30. {
  31. "type" : "string",
  32. "description" : "Version of client, e.g. 1.5.0"
  33. },
  34. "languageRooms" :
  35. {
  36. "type" : "array",
  37. "items" : { "type" : "string" },
  38. "description" : "(since 1.6.4) List of language rooms for which player wants to receive chat history"
  39. }
  40. }
  41. }