24 #ifndef BEING_LOCALPLAYER_H
25 #define BEING_LOCALPLAYER_H
69 void logic()
override final;
74 const int attackId)
override final;
109 const
bool dontChangeEquipment);
113 const
bool dontChangeEquipment);
160 const bool fixDistance,
172 static bool emote(
const uint8_t emotion);
213 void move(
const int dX,
const int dY);
232 void setAway(
const std::string &message)
const;
251 const unsigned char action)
const;
257 const unsigned char dir);
260 const int sprite)
const;
287 void setMap(
Map *
const map)
override final;
370 void waitFor(
const std::string &nick);
399 const
bool updateHash);
408 const int64_t oldVal,
409 const int64_t newVal)
override final;
439 const int32_t effectId,
448 static void tryMagic(
const std::string &spell,
450 const int schoolMagic,
Attributes ::T AttributesT
BeingAction ::T BeingActionT
void setNextDest(const int x, const int y)
void updateNavigateList()
AwayListener * mAwayListener
static bool checAttackPermissions(const Being *const target)
void attack2(Being *const target, const bool keep, const bool dontChangeEquipment)
void moveToTarget(int dist)
std::string mTestParticleName
void freezeMoving(const int timeWaitTicks)
int getLastAttackX() const
void setTileCoords(const int x, const int y)
void setWalkingDir(const unsigned char dir)
bool pickUpItems(int pickUpType)
void followMoveTo(const Being *const being, const int x, const int y)
bool getCheckNameSetting() const
void setLastHitFrom(const std::string &n)
void addHpMessage(const int change)
void setMap(Map *const map)
void failMove(const int x, const int y)
void startWalking(const unsigned char dir)
std::string getPingTime() const
void attributeChanged(const AttributesT id, const int64_t oldVal, const int64_t newVal)
void setTarget(Being *const target)
std::vector< int32_t > mStatusEffectIcons
Being * getTarget() const
int getAttackRange() const
void imitateDirection(const Being *const being, const unsigned char dir)
int getLastAttackY() const
void addHomunXpMessage(const int change)
unsigned char getWalkingDir() const
void setCheckNameSetting(const bool checked)
void waitFor(const std::string &nick)
void setFollow(const std::string &player)
FloorItem * mPickUpTarget
void attack(Being *const target, const bool keep, const bool dontChangeEquipment)
unsigned char mWalkingDir
void setGroupId(const int id)
void setAction(const BeingActionT &action, const int attackId)
void imitateEmote(const Being *const being, const unsigned char action) const
static void tryMagic(const std::string &spell, const int baseMagic, const int schoolMagic, const int mana)
bool navigateTo(const int x, const int y)
void setRealPos(const int x, const int y)
int getAttackRange2() const
void stopAttack(const bool keepAttack)
void stopWalking(const bool sendToServer)
std::list< MessagePair > mMessages
AwayListener * getAwayListener() const
void setImitate(const std::string &player)
void setHalfAway(const bool n)
void setMoveState(const unsigned int n)
void optionChanged(const std::string &value)
void setDestination(const int x, const int y)
void setTestParticle(const std::string &fileName, const bool updateHash)
void actorSpriteDestroyed(const ActorSprite &actorSprite)
bool isPathSetByMouse() const
void move(const int dX, const int dY)
void handleStatusEffect(const StatusEffect *const effect, const int32_t effectId, const Enable newStatus, const IsStart start)
void moveByDirection(const unsigned char dir)
bool withinAttackRange(const Being *const target, const bool fixDistance, const int addRange) const
void setAfkTime(const int v)
void setAway(const std::string &message) const
unsigned long mTestParticleHash
void addJobMessage(const int64_t change)
const std::string & getImitate() const
std::string mPlayerImitated
bool mTargetOnlyReachable
unsigned int getMoveState() const
VisibleName::Type mVisibleNames
void imitateOutfit(const Being *const player, const int sprite) const
void afkRespond(ChatTab *const tab, const std::string &nick)
std::pair< std::string, UserColorIdT > MessagePair
void checkNewName(Being *const being)
void setRename(const bool r)
std::string mPlayerFollowed
void setGotoTarget(Being *const target)
static bool emote(const uint8_t emotion)
int getPathLength(const Being *const being) const
void addXpMessage(const int64_t change)
void addSpMessage(const int change)
void changeEquipmentBeforeAttack(const Being *const target) const
void specialMove(const unsigned char direction)
Being * setNewTarget(const ActorTypeT type, const AllowSort allowSort)
static void setPseudoAway(const std::string &message)
bool isReachable(Being *const being, const int maxCost)
bool isServerBuggy() const
static void setAfkMessage(std::string message)
void addMessageToQueue(const std::string &message, const UserColorIdT color)
unsigned char getBlockWalkMask() const A_CONST
void setAwayDialog(OkDialog *const dialog)
bool pickUp(FloorItem *const item)
void updateStatus() const
void pickedUp(const ItemInfo &itemInfo, const int amount, const ItemColor color, const BeingId floorItemId, const PickupT fail)
void imitateAction(const Being *const being, const BeingActionT &action)
const std::string & getFollow() const
int mSyncPlayerMoveDistance
std::map< std::string, Vector > mHomes
Position getNextWalkPosition(const unsigned char dir) const
const FloorItem * getPickUpTarget() const
#define A_DELETE_COPY(func)
LocalPlayer * localPlayer
bool itemInfo(InputEvent &event)
std::list< Position > Path
UserColorId ::T UserColorIdT