AStatusCode.hpp 772 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * author: Patrick-Christopher Mattulat
  3. * e-mail: webmaster@lynarstudios.com
  4. */
  5. #ifndef LS_ATLANTIS_ENGINE_INTERFACE_STATUS_CODE_HPP
  6. #define LS_ATLANTIS_ENGINE_INTERFACE_STATUS_CODE_HPP
  7. #include <Export.hpp>
  8. #include <string>
  9. #include <vector>
  10. namespace ls::atlantis::interfaces
  11. {
  12. class LS_ATLANTIS_DYNAMIC_GOAL AStatusCode
  13. {
  14. public:
  15. explicit AStatusCode(const uint16_t &_statusId, ::std::string _statusText);
  16. virtual ~AStatusCode();
  17. virtual void addHint(const ::std::string &_hint);
  18. [[nodiscard]] virtual uint16_t getId() const;
  19. [[nodiscard]] virtual ::std::string getText() const;
  20. private:
  21. ::std::vector<::std::string> statusHints{};
  22. uint16_t statusId{};
  23. ::std::string statusText{};
  24. };
  25. }
  26. #endif