GlobalLobbyWindow.h 629 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * GlobalLobbyWindow.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 "../windows/CWindowObject.h"
  12. class GlobalLobbyWidget;
  13. class GlobalLobbyWindow : public CWindowObject
  14. {
  15. std::string chatHistory;
  16. std::shared_ptr<GlobalLobbyWidget> widget;
  17. public:
  18. GlobalLobbyWindow();
  19. void doSendChatMessage();
  20. void doCreateGameRoom();
  21. void onGameChatMessage(const std::string & sender, const std::string & message, const std::string & when);
  22. };