#ifndef PKMNLIB_ITEM_HPP #define PKMNLIB_ITEM_HPP #include namespace PkmnLib::Library { class Item final : public CreatureLib::Library::Item { uint8_t _flingPower; public: Item(const ArbUt::StringView& name, CreatureLib::Library::ItemCategory category, CreatureLib::Library::BattleItemCategory battleCategory, int32_t price, const CreatureLib::Library::SecondaryEffect* effect, const CreatureLib::Library::SecondaryEffect* battleTriggerEffect, const std::unordered_set& flags, uint8_t flingPower) noexcept : CreatureLib::Library::Item(name, category, battleCategory, price, battleTriggerEffect, effect, flags), _flingPower(flingPower) {} inline uint8_t GetFlingPower() const noexcept { return _flingPower; } }; } #endif // PKMNLIB_ITEM_HPP