| 1234567891011121314151617181920212223242526272829303132333435 |
- /*
- * author: Patrick-Christopher Mattulat
- * e-mail: webmaster@lynarstudios.com
- */
- #ifndef LS_ATLANTIS_ENGINE_INTERFACE_STATUS_CODE_HPP
- #define LS_ATLANTIS_ENGINE_INTERFACE_STATUS_CODE_HPP
- #include <Export.hpp>
- #include <string>
- #include <vector>
- namespace ls::atlantis::interfaces
- {
- class LS_ATLANTIS_DYNAMIC_GOAL AStatusCode
- {
- public:
- explicit AStatusCode(const uint16_t &_statusId, ::std::string _statusText);
- virtual ~AStatusCode();
- virtual void addHint(const ::std::string &_hint);
- [[nodiscard]] ::std::vector<::std::string> getHints() const;
- [[nodiscard]] virtual uint16_t getId() const;
- [[nodiscard]] virtual ::std::string getText() const;
- private:
- ::std::vector<::std::string> statusHints{};
- uint16_t statusId{};
- ::std::string statusText{};
- };
- }
- #endif
|