summaryrefslogtreecommitdiff
path: root/src/net/guildhandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-31 21:52:04 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-31 21:52:04 -0600
commit78e67de6f70aab502a85578264b60493a818b39f (patch)
tree33e99673a23bd5d08ba116c3f8756cffc5f6779f /src/net/guildhandler.h
parent37432edac65a6b85c7a3414a421f2afd3e67a14e (diff)
downloadmana-78e67de6f70aab502a85578264b60493a818b39f.tar.gz
mana-78e67de6f70aab502a85578264b60493a818b39f.tar.bz2
mana-78e67de6f70aab502a85578264b60493a818b39f.tar.xz
mana-78e67de6f70aab502a85578264b60493a818b39f.zip
Make network handler functions virtual
Diffstat (limited to 'src/net/guildhandler.h')
-rw-r--r--src/net/guildhandler.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/net/guildhandler.h b/src/net/guildhandler.h
index 2385819a..d7bd73e6 100644
--- a/src/net/guildhandler.h
+++ b/src/net/guildhandler.h
@@ -25,33 +25,33 @@
#include <iosfwd>
namespace Net {
- class GuildHandler
- {
- public:
- void create(const std::string &name) {}
+class GuildHandler
+{
+ public:
+ virtual void create(const std::string &name) {}
- void join(int guildId) {}
+ virtual void join(int guildId) {}
- void invite(int guidId, int playerId) {}
+ virtual void invite(int guidId, int playerId) {}
- void inviteResponse(int guidId, bool response) {}
+ virtual void inviteResponse(int guidId, bool response) {}
- void leave(int guidId) {}
+ virtual void leave(int guidId) {}
- void kick(int guidId, int playerId) {}
+ virtual void kick(int guidId, int playerId) {}
- void chat(int guidId, const std::string &text) {}
+ virtual void chat(int guidId, const std::string &text) {}
- void memberList(int guidId) {}
+ virtual void memberList(int guidId) {}
- void changeMemberPostion(int guildId, int playerId, int level) {}
+ virtual void changeMemberPostion(int guildId, int playerId, int level) {}
- void requestAlliance(int guildId, int otherGuildId) {}
+ virtual void requestAlliance(int guildId, int otherGuildId) {}
- void requestAllianceResponse(int guildId, int otherGuildId, bool response) {}
+ virtual void requestAllianceResponse(int guildId, int otherGuildId, bool response) {}
- void endAlliance(int guildId, int otherGuildId) {}
- };
+ virtual void endAlliance(int guildId, int otherGuildId) {}
+};
}
#endif // GUILDHANDLER_H