diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 19:17:33 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 19:17:33 -0600 |
commit | a0c7d1f61783e77e552896824855377e4bb43f8d (patch) | |
tree | e952181b83482abeffbd8ad9c62789b8f72e42e5 /src/net/chathandler.h | |
parent | 9113afb868f6c1da5911437d3ddabdcf169cbec2 (diff) | |
download | mana-a0c7d1f61783e77e552896824855377e4bb43f8d.tar.gz mana-a0c7d1f61783e77e552896824855377e4bb43f8d.tar.bz2 mana-a0c7d1f61783e77e552896824855377e4bb43f8d.tar.xz mana-a0c7d1f61783e77e552896824855377e4bb43f8d.zip |
Implement TMWServ's NpcHandler
Diffstat (limited to 'src/net/chathandler.h')
-rw-r--r-- | src/net/chathandler.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/net/chathandler.h b/src/net/chathandler.h index 8e32313a..56707cd2 100644 --- a/src/net/chathandler.h +++ b/src/net/chathandler.h @@ -28,28 +28,28 @@ namespace Net { class ChatHandler { public: - virtual void talk(const std::string &text) {} + virtual void talk(const std::string &text) = 0; - virtual void me(const std::string &text) {} + virtual void me(const std::string &text) = 0; virtual void privateMessage(const std::string &recipient, - const std::string &text) {} + const std::string &text) = 0; - virtual void channelList() {} + virtual void channelList() = 0; - virtual void enterChannel(int channelId, const std::string &password) {} + virtual void enterChannel(int channelId, const std::string &password) = 0; - virtual void quitChannel(int channelId) {} + virtual void quitChannel(int channelId) = 0; - virtual void sendToChannel(int channelId, const std::string &text) {} + virtual void sendToChannel(int channelId, const std::string &text) = 0; - virtual void userList(int channelId) {} + virtual void userList(int channelId) = 0; - virtual void setChannelTopic(int channelId, const std::string &text) {} + virtual void setChannelTopic(int channelId, const std::string &text) = 0; - virtual void setUserMode(int channelId, const std::string &name, int mode) {} + virtual void setUserMode(int channelId, const std::string &name, int mode) = 0; - virtual void kickUser(int channelId, const std::string &name) {} + virtual void kickUser(int channelId, const std::string &name) = 0; }; } |