72 std::string args =
event.args;
81 const std::string args =
event.args;
124 Being *target =
nullptr;
125 const std::string args =
event.args;
131 args.substr(1).c_str()),
BeingId));
140 if (target ==
nullptr)
144 if (target !=
nullptr)
#define impHandler0(name)
ActorManager * actorManager
const BeingId BeingId_zero
Net::ChatHandler * chatHandler
std::string textToMe(const std::string &str)
Being * findBeing(const BeingId id) const
Being * findNearestByName(const std::string &name, const ActorTypeT &type) const
const std::string & getName() const
unsigned char getEmote(const size_t index) const
void setTarget(Being *const target)
Being * getTarget() const
virtual void talkPet(const std::string &text) const =0
virtual void setName(const std::string &name) const =0
virtual void unequip() const =0
virtual void setDirection(const unsigned char type) const =0
virtual void emote(const uint8_t emoteId)=0
virtual void catchPet(const Being *const being) const =0
virtual void returnToEgg() const =0
virtual void move(const int x, const int y) const =0
virtual void dropLoot() const =0
virtual void feed() const =0
virtual bool haveTalkPet() const =0
EmoteShortcut * emoteShortcut
#define fromInt(val, name)
LocalPlayer * localPlayer
bool petDirectRight(InputEvent &event)
bool petMoveLeft(InputEvent &event)
bool petEmote(InputEvent &event)
bool petMoveDown(InputEvent &event)
bool petUnequip(InputEvent &event)
bool petDropLoot(InputEvent &event)
bool petDirectLeft(InputEvent &event)
bool commandEmotePet(InputEvent &event)
bool setPetName(InputEvent &event)
static const Being * getPet()
bool petReturnToEgg(InputEvent &event)
bool petMoveUp(InputEvent &event)
bool petDirectDown(InputEvent &event)
bool petMoveRight(InputEvent &event)
bool petFeed(InputEvent &event)
bool catchPet(InputEvent &event)
bool petDirectUp(InputEvent &event)
bool petMove(InputEvent &event)
bool talkPet(InputEvent &event)
Net::PetHandler * petHandler
Net::ServerFeatures * serverFeatures
bool parse2Int(const std::string &args, int &x, int &y)
bool findCutFirst(std::string &str1, const std::string &str2)