summaryrefslogtreecommitdiff
path: root/src/net/npchandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/npchandler.h')
-rw-r--r--src/net/npchandler.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/npchandler.h b/src/net/npchandler.h
index 29ecc5632..bad291fc8 100644
--- a/src/net/npchandler.h
+++ b/src/net/npchandler.h
@@ -27,6 +27,8 @@
#include "enums/being/cookingtype.h"
+#include "enums/net/npcaction.h"
+
#include "enums/simpletypes/beingid.h"
#include "enums/simpletypes/itemcolor.h"
@@ -43,7 +45,8 @@ class NpcHandler notfinal
virtual ~NpcHandler()
{ }
- virtual BeingId getNpc(Net::MessageIn &msg) = 0;
+ virtual BeingId getNpc(Net::MessageIn &msg,
+ const NpcAction action) = 0;
virtual void talk(const BeingId npcId) const = 0;