summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorDastgir <dastgirpojee@rocketmail.com>2015-12-17 14:36:42 +0530
committerDastgir <dastgirpojee@rocketmail.com>2015-12-17 14:36:42 +0530
commit8d964e8c0f8bb7834428e84349450f21baf6927e (patch)
treecd9da3002f9c93bbf7695c27d76870045b09281b /src/map/clif.c
parentd4460ce0fcca62cd4fe6d45b12c55eb286244fee (diff)
downloadhercules-8d964e8c0f8bb7834428e84349450f21baf6927e.tar.gz
hercules-8d964e8c0f8bb7834428e84349450f21baf6927e.tar.bz2
hercules-8d964e8c0f8bb7834428e84349450f21baf6927e.tar.xz
hercules-8d964e8c0f8bb7834428e84349450f21baf6927e.zip
Dressroom Packet implemented
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 6fb7dd04e..b5688becd 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -18515,6 +18515,19 @@ void clif_cancelmergeitem (int fd, struct map_session_data *sd)
return;
}
+void clif_dressroom_open(struct map_session_data *sd, int view)
+{
+ int fd;
+
+ nullpo_retv(sd);
+
+ fd = sd->fd;
+ WFIFOHEAD(fd,packet_len(0xa02));
+ WFIFOW(fd,0)=0xa02;
+ WFIFOW(fd,2)=view;
+ WFIFOSET(fd,packet_len(0xa02));
+}
+
/* */
unsigned short clif_decrypt_cmd( int cmd, struct map_session_data *sd ) {
if( sd ) {
@@ -19570,4 +19583,5 @@ void clif_defaults(void) {
/* */
clif->add_random_options = clif_add_random_options;
clif->pHotkeyRowShift = clif_parse_HotkeyRowShift;
+ clif->dressroom_open = clif_dressroom_open;
}