From 78e67de6f70aab502a85578264b60493a818b39f Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 31 Mar 2009 21:52:04 -0600 Subject: Make network handler functions virtual --- src/net/partyhandler.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/net/partyhandler.h') 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 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 -- cgit v1.2.3-60-g2f50