24 #ifndef RESOURCES_ITEMINFO_H
25 #define RESOURCES_ITEMINFO_H
142 void setSprite(
const std::string &animationFile,
143 const GenderT gender,
const int race);
205 const std::string &filename,
258 const int direction);
379 std::map <ItemSoundEvent::Type, SoundInfoVect>
mSounds;
static const uint8_t directions[]
bool isHaveColors() const
const std::string & getSprite(const GenderT gender, const BeingTypeId race) const
const std::string & getDescription() const
bool isHaveIconColors() const
std::string getColor(const ItemColor idx) const
void setProtected(const bool b)
int getColorsSize() const
void setMissEffectId(const int s)
std::string getColorsListName() const
const std::string & getWaterAttackAction() const
const std::string & getName() const
void setHitEffectId(const int s)
const std::string & getUseButton() const
void setDescription(const std::string &description)
MissileInfo & getMissile()
void setPickupCursor(const std::string &cursor)
ItemColor getCardColor() const
std::string getIconColorName(const ItemColor idx) const
void setRideAttackAction(const std::string &attackAction)
int getDrawAfter(const int direction) const
void setSkyAttackAction(const std::string &attackAction)
int getCriticalHitEffectId() const
std::string getDyeColorsString(const ItemColor color) const
bool isRemoveSprites() const
std::string mMissileParticle
int getDrawBefore(const int direction) const
const std::string & getNameEn() const
const std::string & getUseButton2() const
std::string getColorName(const ItemColor idx) const
ItemDbTypeT getType() const
std::string mRideAttackAction
const std::vector< ItemMenuItem > & getStorageMenuConst() const A_CONST
void setNameEn(const std::string &name)
IntMap * addReplaceSprite(const int sprite, const int direction)
std::string getIconColor(const ItemColor idx) const
int getMaxFloorOffsetY() const
std::string mIconColorsListName
void setCriticalHitEffectId(const int s)
const std::vector< ItemMenuItem > & getCartMenuConst() const A_CONST
void setEffect(const std::string &effect)
SpriteToItemMap * mSpriteToItemReplaceMap[10]
const SpriteDisplay & getDisplay() const
const std::vector< ItemMenuItem > & getInventoryMenuConst() const A_CONST
void setAttackRange(const int r)
int getMissEffectId() const
const MissileInfo & getMissileConst() const
const SoundInfo & getSound(const ItemSoundEvent::Type event) const
void setIconColorsList(const std::string &name)
std::vector< ItemMenuItem > mStorageMenu
int getAttackRange() const
const std::string & getEffect() const
int getDrawPriority(const int direction) const
void setUseButton2(const std::string &str)
void setColorsList(const std::string &name)
void setPickupCursor(const CursorT &cursor)
const std::map< ItemColor, ItemColorData > * mColorsList
void setSprite(const std::string &animationFile, const GenderT gender, const int race)
std::vector< ItemMenuItem > & getCartMenu()
std::vector< ItemMenuItem > & getStorageMenu()
void setMaxFloorOffsetX(const int i)
void setMaxFloorOffsetY(const int i)
std::string getIconColorsListName() const
std::vector< ItemMenuItem > mInventoryMenu
void setDrawAfter(const int direction, const int n)
std::map< int, std::string > mAnimationFiles
std::vector< ItemMenuItem > & getInventoryMenu()
std::map< ItemSoundEvent::Type, SoundInfoVect > mSounds
const std::map< ItemColor, ItemColorData > * mIconColorsList
void setAttackAction(const std::string &attackAction)
const std::string getLink() const
int getReplaceToSpriteId(int id) const
std::string mWaterAttackAction
const std::string & getRideAttackAction() const
void addSound(const ItemSoundEvent::Type event, const std::string &filename, const int delay)
const SpriteToItemMap * getSpriteToItemReplaceMap(const int directions) const
void setDrawPriority(const int direction, const int n)
void setCardColor(const ItemColor color)
int getHitEffectId() const
void addTag(const int tag)
int getIconColorsSize() const
void setMissileParticleFile(const std::string &s)
void setDisplay(const SpriteDisplay &display)
std::string mColorsListName
const std::string & getAttackAction() const
static void setSpriteOrder(int *const ptr, const int direction, const int n, const int def)
void setWaterAttackAction(const std::string &attackAction)
std::vector< ItemMenuItem > mCartMenu
CursorT getPickupCursor() const
void setWeight(const int weight)
bool isRemoveItemId(int id) const
const std::string replaceColors(std::string str, const ItemColor color) const
std::string getDyeIconColorsString(const ItemColor color) const
void setType(const ItemDbTypeT type)
std::string mSkyAttackAction
void setDrawBefore(const int direction, const int n)
std::vector< SpriteToItemMap * > mSpriteToItemReplaceList
const std::string & getSkyAttackAction() const
std::string mAttackAction
void setView(const int view)
int getMaxFloorOffsetX() const
const IntMap & getTags() const
void setUseButton(const std::string &str)
void setName(const std::string &name)
std::map< int, int > mTags
std::map< int, int > IntMap
ItemDbType ::T ItemDbTypeT
SpriteToItemMap::const_iterator SpriteToItemMapCIter
std::map< int, IntMap > SpriteToItemMap
#define A_DELETE_COPY(func)
CursorT stringToCursor(const std::string &name)