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/ea/npchandler.h | |
parent | 37432edac65a6b85c7a3414a421f2afd3e67a14e (diff) | |
download | mana-client-78e67de6f70aab502a85578264b60493a818b39f.tar.gz mana-client-78e67de6f70aab502a85578264b60493a818b39f.tar.bz2 mana-client-78e67de6f70aab502a85578264b60493a818b39f.tar.xz mana-client-78e67de6f70aab502a85578264b60493a818b39f.zip |
Make network handler functions virtual
Diffstat (limited to 'src/net/ea/npchandler.h')
-rw-r--r-- | src/net/ea/npchandler.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/net/ea/npchandler.h b/src/net/ea/npchandler.h index 71e15e02..a8212ce0 100644 --- a/src/net/ea/npchandler.h +++ b/src/net/ea/npchandler.h @@ -30,27 +30,27 @@ class NPCHandler : public MessageHandler, public Net::NpcHandler public: NPCHandler(); - void handleMessage(MessageIn &msg); + virtual void handleMessage(MessageIn &msg); - void talk(int npcId); + virtual void talk(int npcId); - void nextDialog(int npcId); + virtual void nextDialog(int npcId); - void closeDialog(int npcId); + virtual void closeDialog(int npcId); - void listInput(int npcId, int value); + virtual void listInput(int npcId, int value); - void integerInput(int npcId, int value); + virtual void integerInput(int npcId, int value); - void stringInput(int npcId, const std::string &value); + virtual void stringInput(int npcId, const std::string &value); - void buy(int beingId); + virtual void buy(int beingId); - void sell(int beingId); + virtual void sell(int beingId); - void buyItem(int beingId, int itemId, int amount); + virtual void buyItem(int beingId, int itemId, int amount); - void sellItem(int beingId, int itemId, int amount); + virtual void sellItem(int beingId, int itemId, int amount); }; extern NPCHandler *npcHandler; |