GlobalLobbyDefines.h 759 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * GlobalLobbyDefines.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. struct GlobalLobbyAccount
  12. {
  13. std::string accountID;
  14. std::string displayName;
  15. std::string status;
  16. };
  17. struct GlobalLobbyRoom
  18. {
  19. std::string gameRoomID;
  20. std::string hostAccountID;
  21. std::string hostAccountDisplayName;
  22. std::string description;
  23. std::string statusID;
  24. std::string startDateFormatted;
  25. std::vector<GlobalLobbyAccount> participants;
  26. int playerLimit;
  27. };
  28. struct GlobalLobbyChannelMessage
  29. {
  30. std::string timeFormatted;
  31. std::string accountID;
  32. std::string displayName;
  33. std::string messageText;
  34. };