#ifndef _ITEM_H_ #define _ITEM_H_ #include namespace Core { class Item { public: Item(); Item( uint32_t catalogId ); Item( uint64_t uId, uint32_t catalogId, uint64_t model1, uint64_t model2, Common::ItemCategory categoryId, bool isHq = false ); ~Item(); uint32_t getId() const; void setId( uint32_t id ); uint64_t getUId() const; void setUId( uint64_t id ); void setStackSize( uint32_t size ); uint32_t getStackSize() const; void setCategory( Common::ItemCategory categoryId ); Common::ItemCategory getCategory() const; void setModelIds( uint64_t model1, uint64_t model2 ); uint64_t getModelId1() const; uint64_t getModelId2() const; bool isHq() const; void setHq( bool isHq ); uint16_t getDelay() const; uint16_t getPhysicalDmg() const; float getAutoAttackDmg() const; protected: uint32_t m_id; uint64_t m_uId; Common::ItemCategory m_category; uint32_t m_stackSize; std::vector< uint8_t > m_classJobList; uint64_t m_model1; uint64_t m_model2; bool m_isHq; uint16_t m_delayMs; uint16_t m_physicalDmg; float m_autoAttackDmg; }; } #endif