summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-21 20:19:42 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-21 20:19:42 +0300
commitfb0dad2c1b014efe72f67a9da149083aee703f92 (patch)
treedff380a2f4e6cbba8ee8f24fca1c6636d2814460 /src/gui/windows/npcdialog.h
parent1b2f49cb65200eaab379fed577f61277d2b2ebba (diff)
downloadmv-fb0dad2c1b014efe72f67a9da149083aee703f92.tar.gz
mv-fb0dad2c1b014efe72f67a9da149083aee703f92.tar.bz2
mv-fb0dad2c1b014efe72f67a9da149083aee703f92.tar.xz
mv-fb0dad2c1b014efe72f67a9da149083aee703f92.zip
Add support for send item indexes to server. Change protocol version to 11.
Diffstat (limited to 'src/gui/windows/npcdialog.h')
-rw-r--r--src/gui/windows/npcdialog.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/windows/npcdialog.h b/src/gui/windows/npcdialog.h
index 3bc2aabcb..fcd4b7e15 100644
--- a/src/gui/windows/npcdialog.h
+++ b/src/gui/windows/npcdialog.h
@@ -163,6 +163,8 @@ class NpcDialog final : public Window,
void itemRequest(const int size);
+ void itemIndexRequest(const int size);
+
void move(const int amount);
void setVisible(Visible visible) override final;
@@ -278,7 +280,8 @@ class NpcDialog final : public Window,
NPC_INPUT_LIST,
NPC_INPUT_STRING,
NPC_INPUT_INTEGER,
- NPC_INPUT_ITEM
+ NPC_INPUT_ITEM,
+ NPC_INPUT_ITEM_INDEX
};
enum NpcActionState