client_db.h 844 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*
  2. {
  3. active_session: [<ip-address:port>, <login>]
  4. server: {
  5. <ip-address:port>: {
  6. server_info: {
  7. name: <server_name>,
  8. description: <server_description>
  9. neighbor_list: [
  10. { name: <server_name>, description: <server_description> },
  11. ...
  12. ]
  13. }
  14. account_list: {
  15. <login>: {
  16. is_authenticated: true,
  17. uuid: <uuid>,
  18. key: <key>
  19. profile: {
  20. nickname: <nickname>,
  21. name: <name>,
  22. second_name: <second_name>,
  23. about: <about>
  24. avatar: <avatar_image>,
  25. background: <background_image>
  26. }
  27. },
  28. ...
  29. }
  30. },
  31. ...
  32. }
  33. }
  34. */
  35. #ifdef API_H
  36. vobj {
  37. {"active_session", varr{}},
  38. {"server", vobj{}}
  39. }
  40. #endif