From 8d964e8c0f8bb7834428e84349450f21baf6927e Mon Sep 17 00:00:00 2001 From: Dastgir Date: Thu, 17 Dec 2015 14:36:42 +0530 Subject: Dressroom Packet implemented --- src/map/clif.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/map/clif.c') 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; } -- cgit v1.2.3-60-g2f50