clientLoginSuccess.json 677 B

1234567891011121314151617181920212223242526
  1. {
  2. "type" : "object",
  3. "$schema" : "http://json-schema.org/draft-06/schema",
  4. "title" : "Lobby protocol: clientLoginSuccess",
  5. "description" : "Sent by server once player sucesfully logs into the lobby",
  6. "required" : [ "type", "accountCookie", "displayName" ],
  7. "additionalProperties" : false,
  8. "properties" : {
  9. "type" :
  10. {
  11. "type" : "string",
  12. "const" : "clientLoginSuccess"
  13. },
  14. "accountCookie" :
  15. {
  16. "type" : "string",
  17. "description" : "Security cookie that should be stored by client and used for future operations"
  18. },
  19. "displayName" :
  20. {
  21. "type" : "string",
  22. "description" : "Account display name - how client should display this account"
  23. }
  24. }
  25. }