summaryrefslogtreecommitdiff
path: root/src/net/charhandler.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/charhandler.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/charhandler.h')
-rw-r--r--src/net/charhandler.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/net/charhandler.h b/src/net/charhandler.h
index f1535ac3..e7871aab 100644
--- a/src/net/charhandler.h
+++ b/src/net/charhandler.h
@@ -25,16 +25,16 @@
#include <iosfwd>
namespace Net {
- class CharHandler
- {
- public:
- void ChooseCharacter(int slot);
+class CharHandler
+{
+ public:
+ virtual void ChooseCharacter(int slot) {}
- void NewCharacter(const std::string &name, bool gender,
- int hairstyle, int hairColor);
+ virtual void NewCharacter(const std::string &name, bool gender,
+ int hairstyle, int hairColor) {}
- void DeleteCharacter(int slot);
- };
+ virtual void DeleteCharacter(int slot) {}
+};
}
#endif // CHARHANDLER_H