summaryrefslogtreecommitdiff
path: root/src/net/npchandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-17 23:03:03 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-17 23:03:03 +0300
commit84b67aacfdedd8d526d246e3d3c0914a899d491c (patch)
treeee24b23538b0e68cf8addb5240fbdc2182247006 /src/net/npchandler.h
parent0567d32aa605e66563abdb34d998cce18cea3cc2 (diff)
downloadmv-84b67aacfdedd8d526d246e3d3c0914a899d491c.tar.gz
mv-84b67aacfdedd8d526d246e3d3c0914a899d491c.tar.bz2
mv-84b67aacfdedd8d526d246e3d3c0914a899d491c.tar.xz
mv-84b67aacfdedd8d526d246e3d3c0914a899d491c.zip
Add static in npchandler.
Diffstat (limited to 'src/net/npchandler.h')
-rw-r--r--src/net/npchandler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/npchandler.h b/src/net/npchandler.h
index 706f6d7c3..9ba358068 100644
--- a/src/net/npchandler.h
+++ b/src/net/npchandler.h
@@ -32,12 +32,16 @@
namespace Net
{
+class MessageIn;
+
class NpcHandler notfinal
{
public:
virtual ~NpcHandler()
{ }
+ virtual int getNpc(Net::MessageIn &msg) = 0;
+
virtual void talk(const int npcId) const = 0;
virtual void nextDialog(const int npcId) const = 0;