AStatusCode.cpp 514 B

12345678910111213141516171819202122232425
  1. /*
  2. * author: Patrick-Christopher Mattulat
  3. * e-mail: webmaster@lynarstudios.com
  4. */
  5. #include <interface/AStatusCode.hpp>
  6. using ls::atlantis::interfaces::AStatusCode;
  7. using ::std::move;
  8. using ::std::string;
  9. AStatusCode::AStatusCode(const uint16_t &_statusId, string _statusText) : statusId(_statusId), statusText(::move(_statusText))
  10. {}
  11. AStatusCode::~AStatusCode() = default;
  12. uint16_t AStatusCode::getId() const
  13. {
  14. return this->statusId;
  15. }
  16. string AStatusCode::getText() const
  17. {
  18. return this->statusText;
  19. }