StatusCode.hpp 605 B

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