2022-01-10 21:16:05 +01:00
|
|
|
#ifndef BILLYSHEET_HABILETE_HPP
|
|
|
|
#define BILLYSHEET_HABILETE_HPP
|
|
|
|
|
|
|
|
#include <cstdint>
|
2022-01-14 22:58:16 +01:00
|
|
|
#include "characteristic.hpp"
|
2022-01-10 21:16:05 +01:00
|
|
|
|
|
|
|
namespace character::characteristic {
|
2022-01-14 22:58:16 +01:00
|
|
|
class Habilete final : public Characteristic {
|
2022-01-10 21:34:54 +01:00
|
|
|
public:
|
2022-01-14 22:58:16 +01:00
|
|
|
Habilete() noexcept: Characteristic(2, 0, 0, 0) {};
|
|
|
|
|
|
|
|
~Habilete() noexcept final = default;
|
2022-01-10 21:34:54 +01:00
|
|
|
|
2022-01-14 22:58:16 +01:00
|
|
|
friend void from_json(const json &j, Habilete &habilete) {
|
|
|
|
nlohmann::from_json(j, static_cast<Characteristic &>(habilete));
|
|
|
|
}
|
2022-01-10 21:16:05 +01:00
|
|
|
};
|
2022-01-14 22:58:16 +01:00
|
|
|
|
2022-01-17 19:57:00 +01:00
|
|
|
static void to_json(json &j, const Habilete &habilete) {
|
2022-01-14 22:58:16 +01:00
|
|
|
to_json(j, static_cast<Characteristic>(habilete));
|
|
|
|
}
|
2022-01-10 21:16:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif //BILLYSHEET_HABILETE_HPP
|