diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-07-18 12:11:39 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-07-18 12:25:37 -0600 |
commit | 060b5d24f824de45342c8ea1bab8fc98c08b369d (patch) | |
tree | 57b304d388277310990775ee5c9bb0f67b7bb7e6 /src/net/npchandler.h | |
parent | 81d8168bb5796ccb1704bcce9f5327c35e55d281 (diff) | |
download | mana-060b5d24f824de45342c8ea1bab8fc98c08b369d.tar.gz mana-060b5d24f824de45342c8ea1bab8fc98c08b369d.tar.bz2 mana-060b5d24f824de45342c8ea1bab8fc98c08b369d.tar.xz mana-060b5d24f824de45342c8ea1bab8fc98c08b369d.zip |
Replace some state-related netcode methods with events
Also move the virtual destructors of the Net handler base classes to
the top of their method lists.
Reviewed-by: Chuck Miller
Diffstat (limited to 'src/net/npchandler.h')
-rw-r--r-- | src/net/npchandler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/npchandler.h b/src/net/npchandler.h index bba8dc31..2a9cfab5 100644 --- a/src/net/npchandler.h +++ b/src/net/npchandler.h @@ -29,6 +29,8 @@ namespace Net { class NpcHandler { public: + virtual ~NpcHandler() {} + virtual void talk(int npcId) = 0; virtual void nextDialog(int npcId) = 0; @@ -55,8 +57,6 @@ class NpcHandler virtual void sellItem(int beingId, int itemId, int amount) = 0; virtual void endShopping(int beingId) = 0; - - virtual ~NpcHandler() {} }; } // namespace Net |