summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-26 20:22:29 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-26 20:22:29 +0300
commitd3010ba93e3f30b4af2314434c21f114459b8ef7 (patch)
treeb9543202b56c239d48588fc4811bb0297a59a2a3 /src/gui
parentb42dbb1ac4b05fc137ca3f18b4af43905ce5bcf0 (diff)
downloadplus-d3010ba93e3f30b4af2314434c21f114459b8ef7.tar.gz
plus-d3010ba93e3f30b4af2314434c21f114459b8ef7.tar.bz2
plus-d3010ba93e3f30b4af2314434c21f114459b8ef7.tar.xz
plus-d3010ba93e3f30b4af2314434c21f114459b8ef7.zip
Add packet SMSG_NPC_SKIN 0x0b1c.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/npcdialog.cpp4
-rw-r--r--src/gui/windows/npcdialog.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index f81b3c9a7..32bf7bdab 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -1061,3 +1061,7 @@ void NpcDialog::copyToClipboard(const BeingId npcId,
sendBuffer(str);
}
}
+
+void NpcDialog::setSkin(const std::string &skin)
+{
+}
diff --git a/src/gui/windows/npcdialog.h b/src/gui/windows/npcdialog.h
index fcd4b7e15..4f6a0f3cf 100644
--- a/src/gui/windows/npcdialog.h
+++ b/src/gui/windows/npcdialog.h
@@ -214,6 +214,8 @@ class NpcDialog final : public Window,
int isCloseState() const
{ return mActionState == NPC_ACTION_CLOSE; }
+ void setSkin(const std::string &skin);
+
static void copyToClipboard(const BeingId npcId,
const int x, const int y);