diff options
Diffstat (limited to 'src/net/maphandler.h')
-rw-r--r-- | src/net/maphandler.h | 6 |
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 |