 |
ManaPlus
|
Go to the documentation of this file.
23 #ifndef RESOURCES_BEINGINFO_H
24 #define RESOURCES_BEINGINFO_H
43 typedef std::map<int, Attack*>
Attacks;
93 const std::string &filename,
100 const std::string &action,
101 const std::string &skyAttack,
102 const std::string &waterAttack,
103 const std::string &rideAttack,
105 const int hitEffectId,
106 const int criticalHitEffectId,
107 const int missEffectId,
108 const std::string &missileParticle,
109 const float missileZ,
110 const float missileSpeed,
111 const float missileDieDistance,
112 const int missileLifeTime);
339 void addMenu(
const std::string &name,
const std::string &command);
341 const STD_VECTOR<BeingMenuItem> &
getMenu() const A_CONST;
344 const
std::
string &value)
371 const std::map <ItemColor, ItemColorData> *
mColors;
411 #endif // RESOURCES_BEINGINFO_H
int getQuickActionEffectId() const
std::map< BeingTypeId, BeingInfo * > BeingInfos
void setAttackOffsetY(const int n)
void setDisplay(const SpriteDisplay &display)
int getHpBarOffsetX() const
void setMoveOffsetY(const int n)
int getAttackOffsetY() const
void setTargetOffsetX(const int n)
void setQuickActionEffectId(const int n)
void setSitOffsetX(const int n)
BeingTypeId getAvatarId() const
TargetCursorSizeT getTargetCursorSize() const
CursorT stringToCursor(const std::string &name)
void setSitOffsetY(const int n)
void setMaxHP(const int n)
int getTargetOffsetX() const
const std::map< ItemColor, ItemColorData > * mColors
void setTargetCursorSize(const std::string &size)
int getDeadSortOffsetY() const
std::string getString(const int idx) const
void setHpBarOffsetX(const int n)
int getFollowDist() const
void setHoverCursor(const CursorT &cursor)
int getTargetOffsetY() const
#define A_DELETE_COPY(func)
unsigned char getBlockWalkMask() const
void setStartFollowDist(const int n)
void setTargetOffsetY(const int n)
void setDirectionType(const int n)
void setAttackDirectionType(const int n)
void setNameOffsetX(const int n)
void setWarpDist(const int n)
int getDeadDirectionType() const
int getHpBarOffsetY() const
unsigned char mBlockWalkMask
void setWalkSpeed(const int n)
int getDeadOffsetX() const
TargetCursorSize ::T TargetCursorSizeT
bool isTargetSelection() const
void setCurrency(const std::string &name)
int getSitOffsetY() const
void setAllowEquipment(const bool b)
int getDeadOffsetY() const
void setColorsList(const std::string &name)
std::vector< BeingMenuItem > mMenu
const SpriteDisplay & getDisplay() const
void setHeight(const int n)
std::map< int, Attack * > Attacks
int getSortOffsetY() const
void setThinkTime(const int n)
void setString(const int idx, const std::string &value)
void setAttackOffsetX(const int n)
void setTargetSelection(const bool n)
void setNameOffsetY(const int n)
void setSortOffsetY(const int n)
int getStartFollowDist() const
const std::string & getName() const
void setTargetCursorSize(const TargetCursorSizeT &targetSize)
bool isStaticMaxHP() const
void setDeadDirectionType(const int n)
int getNameOffsetY() const
void setBlockWalkMask(const unsigned char mask)
int getAllowDelete() const
int getSitOffsetX() const
int getMoveOffsetX() const
void setDeadOffsetY(const int n)
const std::vector< BeingMenuItem > & getMenu() const A_CONST
std::string getCurrency() const
TargetCursorSizeT mTargetCursorSize
CursorT getHoverCursor() const
bool getAllowEquipment() const
void setMoveOffsetX(const int n)
const Attack * getAttack(const int id) const
void setDeadSortOffsetY(const int n)
int getDirectionType() const
void setHpBarOffsetY(const int n)
void setFollowDist(const int n)
int getNameOffsetX() const
void addSound(const ItemSoundEvent::Type event, const std::string &filename, const int delay)
int getAttackDirectionType() const
void addAttack(const int id, const std::string &action, const std::string &skyAttack, const std::string &waterAttack, const std::string &rideAttack, const int effectId, const int hitEffectId, const int criticalHitEffectId, const int missEffectId, const std::string &missileParticle, const float missileZ, const float missileSpeed, const float missileDieDistance, const int missileLifeTime)
void setHoverCursor(const std::string &name)
void setAllowDelete(const bool b)
BeingInfos::iterator BeingInfoIterator
void addMenu(const std::string &name, const std::string &command)
std::map< int, std::string > mStrings
std::map< ItemSoundEvent::Type, SoundInfoVect * > ItemSoundEvents
static BeingInfo * unknown
int getAttackOffsetX() const
std::string getColor(const ItemColor idx) const
void setSitDirectionType(const int n)
void setAvatarId(const BeingTypeId id)
void setDeadOffsetX(const int n)
void setStaticMaxHP(const bool n)
void setWidth(const int n)
void setName(const std::string &name)
int getMoveOffsetY() const
void setBlockType(const BlockTypeT &blockType)
BlockTypeT getBlockType() const
const SoundInfo & getSound(const ItemSoundEvent::Type event) const
int getSitDirectionType() const