 |
ManaPlus
|
Go to the documentation of this file.
23 #ifndef RESOURCES_ITEM_ITEM_H
24 #define RESOURCES_ITEM_ITEM_H
207 void setCard(
const int index,
const int id);
209 int getCard(
const int index)
const;
267 #endif // RESOURCES_ITEM_ITEM_H
Identified getIdentified() const
std::string getName() const
void setTag(const int tag)
static bool isItem(const int id)
void setQuantity(const int quantity)
ItemColor getColor() const
#define A_DELETE_COPY(func)
void setInvIndex(const int index)
Equipm isEquipment() const
void setEquipped(const Equipped equipped)
void increaseQuantity(const int amount)
Favorite getFavorite() const
void setCards(const int *const cards, const int size)
bool isHaveTag(const int tagId) const
std::map< int, int > mTags
ItemTypeT getType() const
void setColor(const ItemColor color)
bool isInEquipment() const
void setRefine(const uint8_t refine)
uint8_t getRefine() const
int getCard(const int index) const
void setId(const int id, const ItemColor color)
void setEquipment(const Equipm equipment)
void setFavorite(const Favorite b)
Item(const int id, const ItemTypeT type, const int quantity, const uint8_t refine, const ItemColor color, const Identified identified, const Damaged damaged, const Favorite favorite, const Equipm equipment, const Equipped equipped)
void setIdentified(const Identified b)
Damaged getDamaged() const
const ItemOptionsList * getOptions() const
void setInEquipment(const bool inEquipment)
void setDamaged(const Damaged b)
Equipped isEquipped() const
const ItemOptionsList * mOptions
void setType(const ItemTypeT type)
const ItemInfo & get(const int id)
void setOptions(const ItemOptionsList *const options)
const std::string & getDescription() const
const ItemInfo & getInfo() const
void setCard(const int index, const int id)
void addCard(const int card)
const int * getCards() const