diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-31 21:52:04 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-31 21:52:04 -0600 |
commit | 78e67de6f70aab502a85578264b60493a818b39f (patch) | |
tree | 33e99673a23bd5d08ba116c3f8756cffc5f6779f /src/net/partyhandler.h | |
parent | 37432edac65a6b85c7a3414a421f2afd3e67a14e (diff) | |
download | mana-78e67de6f70aab502a85578264b60493a818b39f.tar.gz mana-78e67de6f70aab502a85578264b60493a818b39f.tar.bz2 mana-78e67de6f70aab502a85578264b60493a818b39f.tar.xz mana-78e67de6f70aab502a85578264b60493a818b39f.zip |
Make network handler functions virtual
Diffstat (limited to 'src/net/partyhandler.h')
-rw-r--r-- | src/net/partyhandler.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/net/partyhandler.h b/src/net/partyhandler.h index 6c400bf1..b58bd5f4 100644 --- a/src/net/partyhandler.h +++ b/src/net/partyhandler.h @@ -25,29 +25,29 @@ #include <iosfwd> namespace Net { - class PartyHandler - { - public: - void create(const std::string &name="") {} +class PartyHandler +{ + public: + virtual void create(const std::string &name="") {} - void join(int partyId) {} + virtual void join(int partyId) {} - void invite(int playerId) {} + virtual void invite(int playerId) {} - void inviteResponse(bool accept) {} + virtual void inviteResponse(bool accept) {} - void leave() {} + virtual void leave() {} - void kick(int playerId) {} + virtual void kick(int playerId) {} - void chat(const std::string &text) {} + virtual void chat(const std::string &text) {} - void partyMembers() {} + virtual void partyMembers() {} - // void options() {} + // virtual void options() {} - // void message() {} - }; + // virtual void message() {} +}; } #endif // PARTYHANDLER_H |