summaryrefslogtreecommitdiff
path: root/src/net/maphandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-02 21:25:25 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-02 21:25:25 -0600
commit4916370e6130bfee7eb9ae486f03391d2214ecf4 (patch)
tree69311c3f543b538f4cd8e619d367d3ef22f6e43c /src/net/maphandler.h
parent22f19d7a201abe8f6df69b82ebd6dce55c3b1655 (diff)
downloadmana-4916370e6130bfee7eb9ae486f03391d2214ecf4.tar.gz
mana-4916370e6130bfee7eb9ae486f03391d2214ecf4.tar.bz2
mana-4916370e6130bfee7eb9ae486f03391d2214ecf4.tar.xz
mana-4916370e6130bfee7eb9ae486f03391d2214ecf4.zip
Make eAthena's CharHandler
Also add ping to MapHandler and fill in eAthena's MapHandler's connect method.
Diffstat (limited to 'src/net/maphandler.h')
-rw-r--r--src/net/maphandler.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/maphandler.h b/src/net/maphandler.h
index 80f9183f..6c91f4ef 100644
--- a/src/net/maphandler.h
+++ b/src/net/maphandler.h
@@ -22,6 +22,8 @@
#ifndef MAPHANDLER_H
#define MAPHANDLER_H
+#include "logindata.h"
+
#include <iosfwd>
namespace Net {
@@ -29,13 +31,15 @@ namespace Net {
class MapHandler
{
public:
- virtual void connect() = 0;
+ virtual void connect(LoginData *loginData) = 0;
virtual void mapLoaded(const std::string &mapName) = 0;
virtual void who() = 0;
virtual void quit() = 0;
+
+ virtual void ping(int tick) = 0;
};
} // namespace Net