CLobbyScreen.h 785 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * CLobbyScreen.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 "CSelectionBase.h"
  12. class CBonusSelection;
  13. class CLobbyScreen final : public CSelectionBase
  14. {
  15. public:
  16. std::shared_ptr<CButton> buttonChat;
  17. CLobbyScreen(ESelectionScreen type);
  18. ~CLobbyScreen();
  19. void toggleTab(std::shared_ptr<CIntObject> tab) final;
  20. void startCampaign();
  21. void startScenario(bool allowOnlyAI = false);
  22. void toggleMode(bool host);
  23. void toggleChat();
  24. void updateAfterStateChange();
  25. const CMapInfo * getMapInfo() final;
  26. const StartInfo * getStartInfo() final;
  27. std::shared_ptr<CBonusSelection> bonusSel;
  28. };