Adds setter for nickname.
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
2020-12-22 16:11:23 +01:00
parent 65cf7c52d9
commit 69476b6f9d
2 changed files with 2 additions and 0 deletions

View File

@@ -111,6 +111,7 @@ namespace CreatureLib::Battling {
inline bool IsOnBattleField() const { return _onBattleField; }
inline std::string_view GetNickname() const noexcept { return _nickname; }
inline void SetNickname(std::string nickname) noexcept { _nickname = nickname; }
const CreatureLib::Library::TalentIndex& GetRealTalent() const noexcept { return _talentIndex; }
const ArbUt::StringView& GetActiveTalent() const;