Add methods for getting all talents and hidden talents from a species variant.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
d609d5ca53
commit
f37e27378e
|
@ -47,6 +47,8 @@ namespace CreatureLib::Library {
|
||||||
[[nodiscard]] const LearnableAttacks* GetLearnableAttacks() const;
|
[[nodiscard]] const LearnableAttacks* GetLearnableAttacks() const;
|
||||||
[[nodiscard]] int8_t GetTalentIndex(const std::string& talent) const;
|
[[nodiscard]] int8_t GetTalentIndex(const std::string& talent) const;
|
||||||
[[nodiscard]] int8_t GetRandomTalent(Core::Random* rand) const;
|
[[nodiscard]] int8_t GetRandomTalent(Core::Random* rand) const;
|
||||||
|
[[nodiscard]] inline const std::vector<std::string>& GetTalents() const { return _talents; }
|
||||||
|
[[nodiscard]] inline const std::vector<std::string>& GetSecretTalents() const { return _secretTalents; }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue