summaryrefslogtreecommitdiff
path: root/src/net/npchandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-08 21:24:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-08 21:24:02 +0300
commit52865ff4b24e3ea85967e76099b73f2e581a856d (patch)
tree9b3a26f33d7ea69479fe8dcdf1b84de7176edc79 /src/net/npchandler.h
parent5d0b4c09a67f279847337aa06bc3066c07f63114 (diff)
downloadmanaverse-52865ff4b24e3ea85967e76099b73f2e581a856d.tar.gz
manaverse-52865ff4b24e3ea85967e76099b73f2e581a856d.tar.bz2
manaverse-52865ff4b24e3ea85967e76099b73f2e581a856d.tar.xz
manaverse-52865ff4b24e3ea85967e76099b73f2e581a856d.zip
Add function for return current npc dialog.
Diffstat (limited to 'src/net/npchandler.h')
-rw-r--r--src/net/npchandler.h3
1 files changed, 3 insertions, 0 deletions
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