From 52865ff4b24e3ea85967e76099b73f2e581a856d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 8 Jan 2016 21:24:02 +0300 Subject: Add function for return current npc dialog. --- src/net/npchandler.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/npchandler.h') diff --git a/src/net/npchandler.h b/src/net/npchandler.h index a47e25963..529765bb0 100644 --- a/src/net/npchandler.h +++ b/src/net/npchandler.h @@ -36,6 +36,7 @@ #include "localconsts.h" +class NpcDialog; class ShopItem; namespace Net @@ -105,6 +106,8 @@ class NpcHandler notfinal virtual void selectArrow(const int nameId) const = 0; virtual void selectAutoSpell(const int skillId) const = 0; + + virtual NpcDialog *getCurrentNpcDialog() const = 0; }; } // namespace Net -- cgit v1.2.3-60-g2f50