/* * author: Patrick-Christopher Mattulat * e-mail: webmaster@lynarstudios.com */ #include #include using ls::atlantis::interfaces::AStatusCode; using ls::std::core::EmptyStringArgumentEvaluator; using ::std::move; using ::std::string; using ::std::vector; AStatusCode::AStatusCode(const uint16_t &_statusId, string _statusText) : statusId(_statusId), statusText(::move(_statusText)) {} AStatusCode::~AStatusCode() = default; void AStatusCode::addHint(const string &_hint) { EmptyStringArgumentEvaluator(_hint).evaluate(); this->statusHints.push_back(_hint); } vector AStatusCode::getHints() const { return this->statusHints; } uint16_t AStatusCode::getId() const { return this->statusId; } string AStatusCode::getText() const { return this->statusText; }