GlobalLobbyDefines.h 910 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. #include "../../lib/modding/ModVerificationInfo.h"
  12. struct GlobalLobbyAccount
  13. {
  14. std::string accountID;
  15. std::string displayName;
  16. std::string status;
  17. };
  18. struct GlobalLobbyRoom
  19. {
  20. std::string gameRoomID;
  21. std::string hostAccountID;
  22. std::string hostAccountDisplayName;
  23. std::string description;
  24. std::string gameVersion;
  25. std::string statusID;
  26. std::string startDateFormatted;
  27. ModCompatibilityInfo modList;
  28. std::vector<GlobalLobbyAccount> participants;
  29. std::vector<GlobalLobbyAccount> invited;
  30. int playerLimit;
  31. };
  32. struct GlobalLobbyChannelMessage
  33. {
  34. std::string timeFormatted;
  35. std::string accountID;
  36. std::string displayName;
  37. std::string messageText;
  38. };