diff options
Diffstat (limited to 'src/net/eathena/homunculushandler.cpp')
-rw-r--r-- | src/net/eathena/homunculushandler.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/net/eathena/homunculushandler.cpp b/src/net/eathena/homunculushandler.cpp index bbddc4412..5a6d3e5fa 100644 --- a/src/net/eathena/homunculushandler.cpp +++ b/src/net/eathena/homunculushandler.cpp @@ -215,4 +215,18 @@ void HomunculusHandler::attack(const int targetId, const bool keep) const outMsg.writeInt8(keep ? 1 : 0); } +void HomunculusHandler::feed() const +{ + createOutPacket(CMSG_HOMUNCULUS_MENU); + outMsg.writeInt16(0, "type"); + outMsg.writeInt8(1, "command"); // feed +} + +void HomunculusHandler::fire() const +{ + createOutPacket(CMSG_HOMUNCULUS_MENU); + outMsg.writeInt16(0, "type"); + outMsg.writeInt8(2, "command"); // delete +} + } // namespace EAthena |