diff options
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; |