56 outMsg.writeInt32(0,
"pet id");
64 outMsg.writeInt8(emoteId,
"emote id");
73 outMsg.writeBeingId(being->
getId(),
"monster id");
79 outMsg.writeInt32(
data,
"param");
85 outMsg.writeString(name, 24,
"name");
91 outMsg.writeInt8(0,
"action");
97 outMsg.writeInt8(1,
"action");
103 outMsg.writeInt8(2,
"action");
109 outMsg.writeInt8(3,
"action");
116 outMsg.writeInt8(4,
"action");
124 outMsg.writeInt32(0,
"pet id");
125 outMsg.writeInt8(0,
"head direction");
126 outMsg.writeInt8(0,
"unused");
139 outMsg.writeItemId(item->
getId(),
"egg id");
void evolution(const Item *const item) const
void emote(const uint8_t emoteId)
void move(const int x, const int y) const
void setName(const std::string &name) const
void sendPetMessage(const int data) const
void requestStatus() const
void catchPet(const Being *const being) const
void setDirection(const unsigned char type) const
static unsigned char toServerDirection(unsigned char direction) A_CONST
virtual bool haveMovePet() const =0
#define createOutPacket(name)
void setPet(PetInfo *const info)
Net::PetHandler * petHandler
Net::ServerFeatures * serverFeatures