summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-29 23:10:29 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-29 23:10:29 +0000
commitc14faa2c92a458259abfa14a71e7c05bbdc08027 (patch)
tree691259cc2a4f9d1517fcdbd7a8bbb30a0500a374 /src/map/clif.c
parent2c7f11d977221665d99f7b1d4fe494ace4558786 (diff)
downloadhercules-c14faa2c92a458259abfa14a71e7c05bbdc08027.tar.gz
hercules-c14faa2c92a458259abfa14a71e7c05bbdc08027.tar.bz2
hercules-c14faa2c92a458259abfa14a71e7c05bbdc08027.tar.xz
hercules-c14faa2c92a458259abfa14a71e7c05bbdc08027.zip
- Starting preparatives for Auctions System.
- Added the @auction command to open the auctions. Just to start working on it and if someone wants to help. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12270 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 4ce9ff3c4..3378d785c 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11753,6 +11753,24 @@ void clif_parse_cashshop_buy(int fd, struct map_session_data *sd)
}
/*==========================================
+ * AUCTIONS SYSTEM
+ *==========================================*/
+void clif_Auction_openwindow(struct map_session_data *sd)
+{
+ int fd = sd->fd;
+
+ WFIFOHEAD(fd,12);
+ WFIFOW(fd,0) = 0x25f;
+ WFIFOL(fd,2) = 0;
+ WFIFOB(fd,6) = 0xb6;
+ WFIFOB(fd,7) = 0x00;
+ WFIFOB(fd,8) = 0xa6;
+ WFIFOB(fd,9) = 0xde;
+ WFIFOW(fd,10) = 0;
+ WFIFOSET(fd,12);
+}
+
+/*==========================================
* Requesting equip of a player
*------------------------------------------*/
void clif_parse_ViewPlayerEquip(int fd, struct map_session_data* sd)