summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-12-28 17:08:51 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-12-28 17:08:51 +0000
commit69d5bbb1866f9dd0570de23ede78240e94a067e9 (patch)
treefee8f9c47281a678e92591d139fed489ce06c7af /src/map/clif.c
parentbb34b7681e824a17be7d60d351187977310b99a9 (diff)
downloadhercules-69d5bbb1866f9dd0570de23ede78240e94a067e9.tar.gz
hercules-69d5bbb1866f9dd0570de23ede78240e94a067e9.tar.bz2
hercules-69d5bbb1866f9dd0570de23ede78240e94a067e9.tar.xz
hercules-69d5bbb1866f9dd0570de23ede78240e94a067e9.zip
- Book reading script command.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13417 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 5f258a5fa..c61ed1366 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -12662,6 +12662,18 @@ void clif_rental_expired(int fd, int nameid)
WFIFOSET(fd,6);
}
+/*------------------------------------------
+ * Book Reading
+ *------------------------------------------*/
+void clif_readbook(int fd, int book_id, int page)
+{
+ WFIFOHEAD(fd,10);
+ WFIFOW(fd,0) = 0x0294;
+ WFIFOL(fd,2) = book_id;
+ WFIFOL(fd,6) = page;
+ WFIFOSET(fd,10);
+}
+
/*==========================================
* パケットデバッグ
*------------------------------------------*/