322 {
return mParty !=
nullptr; }
417 if (
mInfo ==
nullptr)
424 if (
mInfo ==
nullptr)
434 if (
mInfo ==
nullptr)
444 if (
mInfo ==
nullptr)
562 void setEmote(
const uint8_t emotion,
569 const int posY)
const
574 const int posY)
const
674 const
int offsetY) const
679 const
int offsetY) const
684 const
int offsetY) const
689 const
int offsetY) const
694 const
int offsetY) const
699 const
int offsetY) const
825 const std::string &
restrict comment,
895 return mInfo !=
nullptr ?
982 const int offsetY)
const
987 const int offsetY)
const
992 const int offsetY)
const
1023 void stopCast(
const bool b)
override final;
1095 const
int skillLevel,
1097 const
int waitTimeTicks);
1100 int &offsetY) const;
1247 template<
signed char pos,
signed char neg>
AttackType ::T AttackTypeT
std::list< BeingCacheEntry * > beingInfoCache
static const int DEFAULT_BEING_WIDTH
static const int DEFAULT_BEING_HEIGHT
BeingAction ::T BeingActionT
CursorT getHoverCursor() const
int getTargetOffsetY() const
unsigned char getBlockWalkMask() const
int getTargetOffsetX() const
BlockTypeT getBlockType() const
void setKarma(const int karma)
void setTempSprite(const unsigned int slot, const int id)
std::string getBuyBoard() const
Being(const BeingId id, const ActorTypeT type)
void setHairStyle(const unsigned int slot, const int id)
void updateBotFollow(int dstX, int dstY, const int divX, const int divY)
void setWeaponId(const int id)
void setPixelPositionF(const Vector &pos)
static void searchSlotValueItr(std::vector< int >::iterator &it, int &idx, std::vector< int > &slotRemap, const int val)
void addEffect(const std::string &name)
const std::string & getClanName() const
std::string getSitAction() const
std::string getStandAction() const
void moveBotTo(int dstX, int dstY)
void setLanguageId(const int lang)
void showAwayBadge(const bool show)
SpriteParticleInfo mSpriteParticles
void stopCast(const bool b)
virtual void setDirection(const uint8_t direction)
void updateHit(const int amount)
const std::map< int, Guild * > & getGuilds() const
void setTrickDead(const bool b)
void setAreaSize(const int areaSize)
void showGuildBadge(const bool show)
void setHairTempSprite(const unsigned int slot, const int id)
static BeingCacheEntry * getCacheEntry(const BeingId id)
void setRaceName(const std::string &name)
void drawBeingCursor(Graphics *const graphics, const int offsetX, const int offsetY) const
ReachableT getReachable() const
void setOwner(Being *const owner)
void drawNpcSpriteAt(Graphics *const graphics, const int x, const int y) const
void setGuildName(const std::string &name)
void addItemParticlesCards(const int id, const SpriteDisplay &display, const CardsList &cards)
static bool mHighlightMonsterAttackRange
void drawEmotion(Graphics *const graphics, const int offsetX, const int offsetY) const
bool getAllowNpcEquipment() const
SpriteDirection::Type getSpriteDirection() const
void setDefaultNameColor(const UserColorIdT defaultColor)
virtual int getLevel() const
void drawPortalSpriteAt(Graphics *const graphics, const int x, const int y) const
void setParty(Party *const party)
void drawElemental(Graphics *const graphics, const int offsetX, const int offsetY) const
void showNameBadge(const bool show)
uint8_t getDirectionDelayed() const
std::string getAttackAction() const
CastingEffect * mCastingEffect
const std::string getComment() const
static bool mEnableReorderSprites
std::string getWeaponAttackAction(const ItemInfo *const weapon) const
void drawMercenarySpriteAt(Graphics *const graphics, const int x, const int y) const
void setAttackSpeed(const int speed)
void setClanName(const std::string &name)
std::string getRaceName() const
const Vector & getDestination() const
void drawOtherSpriteAt(Graphics *const graphics, const int x, const int y) const
static GenderT intToGender(const uint8_t sex) A_CONST
void showBadges(const bool show)
uint8_t mDirectionDelayed
time_t getAttackTime() const
std::string getMoveAction() const
void showGmBadge(const bool show)
SpriteDirection::Type mSpriteDirection
const Path & getPath() const
AnimatedSprite * mAnimationEffect
void setMaxHit(const int n)
int getNumberOfLayers() const
void drawCasting(Graphics *const graphics, const int offsetX, const int offsetY) const
uint16_t getTeamId() const
uint8_t getDirection() const
void addGuild(Guild *const guild)
static BadgeDrawType::Type mShowBadges
int getActionTime() const
void drawOther(Graphics *const graphics, const int offsetX, const int offsetY) const
std::string getDeadAction() const
void drawSpeech(const int offsetX, const int offsetY)
BeingTypeId getSubType() const
void setLevel(const int n)
int getCriticalHit() const
const std::string & getPartyName() const
void undressItemById(const int id)
void updateSprite(const unsigned int slot, const int id, const std::string &color)
void enableShop(const bool b)
int getTargetOffsetX() const
void drawHpBar(Graphics *const graphics, const int maxHP, const int hp, const int damage, const UserColorIdT color1, const UserColorIdT color2, const int x, const int y, const int width, const int height) const
void setSpriteCards(const unsigned int slot, const int id, const CardsList &cards)
void drawHomunculusSpriteAt(Graphics *const graphics, const int x, const int y) const
AnimatedSprite * mEmotionSprite
void setChat(ChatObject *const obj)
time_t getOtherTime() const
void playSfx(const SoundInfo &sound, Being *const being, const bool main, const int x, const int y) const
void addItemParticles(const int id, const SpriteDisplay &display)
void addSpiritBalls(const unsigned int balls, const int effectId)
TargetCursorSizeT getTargetCursorSize() const
void drawElementalSpriteAt(Graphics *const graphics, const int x, const int y) const
SpeechBubble * mSpeechBubble
void drawBasic(Graphics *const graphics, const int x, const int y) const
std::string getGenderSignWithSpace() const
void setPath(const Path &path)
std::vector< Particle * > mSpiritParticles
void drawPlayer(Graphics *const graphics, const int offsetX, const int offsetY) const
int getSpriteID(const int slot) const
void drawCompound(Graphics *const graphics, const int posX, const int posY) const
void drawNpc(Graphics *const graphics, const int offsetX, const int offsetY) const
void setWalkSpeed(const int speed)
void drawSpritesSDL(Graphics *const graphics, const int posX, const int posY) const
void setCreatorId(const BeingId id)
int getSortPixelY() const
void setHorse(const int horseId)
void flashName(const int time)
void postInit(const BeingTypeId subType, Map *const map)
void setComment(const std::string &n)
void setPvpRank(const unsigned int rank)
void setDamageTaken(const int damage)
static VisibleNamePos::Type mVisibleNamePos
ItemColor getHairColor() const
void drawPlayerSpriteAt(Graphics *const graphics, const int x, const int y) const
void removeSpiritBalls(const unsigned int balls)
void setLook(const uint16_t look)
std::vector< BeingSlot > mSlots
ChatObject * getChat() const
void setPixelPositionF(const float x, const float y, const float z) A_INLINE
time_t getTestTime() const
void recalcSpritesOrder()
void setShowName(const bool doShowName)
const ItemInfo * mEquippedWeapon
std::string getGenderSign() const
void handleAttack(Being *const victim, const int damage, const int attackId)
void handleSkillCasting(Being *const victim, const int skillId, const int skillLevel)
AnimatedSprite * mBadges[BadgeIndex::BadgeIndexSize]
void setName(const std::string &name)
void setHairColor(const ItemColor color)
void removeSpecialEffect()
void removeAllItemsParticles()
static void saveComment(const std::string &name, const std::string &comment, const ActorTypeT &type)
void setSubtype(const BeingTypeId subtype, const uint16_t look)
void showShopBadge(const bool show)
void takeDamage(Being *const attacker, const int amount, const AttackTypeT type, const int attackId, const int level)
void setHairColorSpriteID(const unsigned int slot, const int id)
void setCriticalHit(const int n)
void setHairColor(const unsigned int slot, const ItemColor color)
void setEmote(const uint8_t emotion, const int emote_time)
void setMaxHP(const int hp)
time_t getMoveTime() const
const std::string & getName() const
void addCast(const int dstX, const int dstY, const int skillId, const int skillLevel, const int range, const int waitTimeTicks)
BeingId getCreatorId() const
void setSpriteSlot(const unsigned int slot, const BeingSlot &beingSlot)
static bool mShowBattleEvents
void setSpriteId(const unsigned int slot, const int id)
uint8_t calcDirection() const
void setState(const uint8_t state)
BlockTypeT getBlockType() const
static bool mShowPlayersStatus
void setDistance(const int n)
void setBuyBoard(const std::string &text)
void updateBadgesPosition()
bool isBuyShopEnabled() const
static int getDefaultEffectId(const AttackTypeT &type)
const std::string & getGuildName() const
void drawMonster(Graphics *const graphics, const int offsetX, const int offsetY) const
int getTargetOffsetY() const
int searchSlotValue(const std::vector< int > &slotRemap, const int val) const
void drawMonsterSpriteAt(Graphics *const graphics, const int x, const int y) const
void setTeamId(const uint16_t teamId)
void setGuildPos(const std::string &pos)
void setPartyName(const std::string &name)
static std::string loadComment(const std::string &name, const ActorTypeT &type)
virtual void setGender(const GenderT gender)
void setSpeech(const std::string &text)
void setGoodStatus(const int n)
const std::string & getExtName() const
static unsigned int mConfLineLim
void setDirectionDelayed(const uint8_t direction)
void setActionTime(const int actionTime)
void setMinHit(const int n)
void unSetSprite(const unsigned int slot)
virtual unsigned char getBlockWalkMask() const
SpriteParticleInfo::iterator SpriteParticleInfoIter
void setSprite(const unsigned int slot, const int id, std::string color, ItemColor colorId)
unsigned int getSpiritBalls() const
BeingActionT getCurrentAction() const
int getAttackSpeed() const
void removeGuild(const int id)
std::map< int, ParticleInfo * > SpriteParticleInfo
void drawHomunculus(Graphics *const graphics, const int offsetX, const int offsetY) const
void createSpeechBubble()
void setIp(const std::string &ip)
void setAttackRange(const int range)
static void reReadConfig()
void setCachedDestination(const int dstX, const int dstY)
const std::string & getIp() const
GenderT getGender() const
static uint8_t genderToInt(const GenderT sex) A_CONST
void removeItemParticles(const int id)
void setReachable(const ReachableT n)
CursorT getHoverCursor() const
std::vector< AnimatedSprite * > mDownHorseSprites
void handleSkill(Being *const victim, const int damage, const int skillId, const int skillLevel)
time_t getTalkTime() const
virtual int getLastAttackX() const
void fixDirectionOffsets(int &offsetX, int &offsetY) const
void setAdvanced(const bool n)
Particle * mSpecialParticle
void showClanBadge(const bool show)
void showPartyBadge(const bool show)
int getAttackDelay() const
void updateBotDirection(const int dstX, const int dstY)
void drawPlayerSprites(Graphics *const graphics, const int posX, const int posY) const
void setManner(const int manner)
bool isSellShopEnabled() const
virtual int getLastAttackY() const
static time_t mUpdateConfigTime
static int getHitEffect(const Being *const attacker, const AttackTypeT type, const int attackId, const int level)
std::string getCastAction() const
std::string getSellBoard() const
int16_t getNumberOfGuilds() const
void recreateItemParticles()
void setRiding(const bool b)
ActorTypeT getType() const
ItemColor getSpriteColor(const int slot) const
const BeingInfo * getInfo() const
std::string mSpriteAction
void drawMercenary(Graphics *const graphics, const int offsetX, const int offsetY) const
void setSpiritBalls(const unsigned int balls)
unsigned int getPvpRank() const
void showInactiveBadge(const bool show)
void setGuild(Guild *const guild)
void addSpecialEffect(const int effect)
std::string getSpawnAction() const
void setEnemy(const bool n)
const ItemInfo * getEquippedWeapon() const
void setGM(const bool gm)
void setSpriteColor(const unsigned int slot, const int id, const std::string &color)
int getGoodStatus() const
void setSpriteColorId(const unsigned int slot, const int id, ItemColor colorId)
void drawPortal(Graphics *const graphics, const int offsetX, const int offsetY) const
void botFixOffset(int &dstX, int &dstY) const
std::vector< AnimatedSprite * > mUpHorseSprites
void setSellBoard(const std::string &text)
static bool mHighlightMapPortals
void draw(Graphics *const graphics, const int offsetX, const int offsetY) const
void showTeamBadge(const bool show)
void setAttackDelay(const int n)
unsigned int mSpiritBalls
int getDamageTaken() const
void fireMissile(Being *const victim, const MissileInfo &missile) const
const BeingSlot & getSpriteSlot(const int slot) const
int getNumberOfLayers() const
void setTileCoords(const int x, const int y)
void setMap(Map *const map)
void setGroupId(const int id)
void setAction(const BeingActionT &action, const int attackId)
void optionChanged(const std::string &value)
void setDestination(const int x, const int y)
#define A_DELETE_COPY(func)
int main(int argc, char *argv[])
bool gm(InputEvent &event)
bool skill(InputEvent &event)
Being * createBeing(const BeingId id, const int job)
Equipment * getEquipment()
std::list< Position > Path
TargetCursorSize ::T TargetCursorSizeT
UserColorId ::T UserColorIdT