2020-03-02 12:59:49 +00:00
|
|
|
#ifndef CREATURELIB_TALENTINDEX_HPP
|
|
|
|
#define CREATURELIB_TALENTINDEX_HPP
|
|
|
|
|
|
|
|
#include <cstdint>
|
2020-03-05 10:25:41 +00:00
|
|
|
namespace CreatureLib::Library {
|
|
|
|
class TalentIndex {
|
|
|
|
bool _secret;
|
|
|
|
uint8_t _index;
|
2020-03-02 12:59:49 +00:00
|
|
|
|
2020-03-05 10:25:41 +00:00
|
|
|
public:
|
|
|
|
TalentIndex() : _secret(false), _index(0){};
|
|
|
|
TalentIndex(bool secret, uint8_t index) : _secret(secret), _index(index) {}
|
|
|
|
constexpr inline bool IsSecret() const { return _secret; }
|
|
|
|
constexpr inline bool GetIndex() const { return _index; }
|
|
|
|
};
|
|
|
|
}
|
2020-03-02 12:59:49 +00:00
|
|
|
|
|
|
|
#endif // CREATURELIB_TALENTINDEX_HPP
|