summaryrefslogtreecommitdiff
path: root/src/net/tmwa/specialhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/specialhandler.cpp')
-rw-r--r--src/net/tmwa/specialhandler.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/net/tmwa/specialhandler.cpp b/src/net/tmwa/specialhandler.cpp
index 7de0aaea..6a0bef9a 100644
--- a/src/net/tmwa/specialhandler.cpp
+++ b/src/net/tmwa/specialhandler.cpp
@@ -28,7 +28,6 @@
#include "gui/skilldialog.h"
#include "net/tmwa/messagein.h"
-#include "net/tmwa/messageout.h"
#include "net/tmwa/protocol.h"
#include "utils/gettext.h"
@@ -222,31 +221,18 @@ void SpecialHandler::handleMessage(MessageIn &msg)
void SpecialHandler::use(int id)
{
- // TODO
}
void SpecialHandler::use(int id, int level, int beingId)
{
- MessageOut outMsg(CMSG_SKILL_USE_BEING);
- outMsg.writeInt16(level);
- outMsg.writeInt16(id);
- outMsg.writeInt16(beingId);
}
void SpecialHandler::use(int id, int level, int x, int y)
{
- MessageOut outMsg(CMSG_SKILL_USE_POSITION);
- outMsg.writeInt16(level);
- outMsg.writeInt16(id);
- outMsg.writeInt16(x);
- outMsg.writeInt16(y);
}
void SpecialHandler::use(int id, const std::string &map)
{
- MessageOut outMsg(CMSG_SKILL_USE_MAP);
- outMsg.writeInt16(id);
- outMsg.writeString(map, 16);
}
} // namespace TmwAthena