summaryrefslogtreecommitdiff
path: root/src/map/clif.h
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-28 00:07:12 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-28 00:07:12 +0000
commitb3f8687feebcd9fd8d4f27e97ed33e4b0f951a63 (patch)
tree5c8c8f44d5645f35e894a03aed4d5fc0334851fe /src/map/clif.h
parentaafdd20c6f7ea338999bbf7b42bbb948aa8c7a0b (diff)
downloadhercules-b3f8687feebcd9fd8d4f27e97ed33e4b0f951a63.tar.gz
hercules-b3f8687feebcd9fd8d4f27e97ed33e4b0f951a63.tar.bz2
hercules-b3f8687feebcd9fd8d4f27e97ed33e4b0f951a63.tar.xz
hercules-b3f8687feebcd9fd8d4f27e97ed33e4b0f951a63.zip
* Reconstructed a list of all PACKETVER types, by reverse-engineering it from places in the code where the define is used
- recovered PACKETVER 6 which was added in r51, but overwritten by r141, one of the dumbest commits that I have seen so far - since 6 was the 'new trade window' update, it and its corresponding reply packet will now be used from now on instead the old version git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11830 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.h')
-rw-r--r--src/map/clif.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/map/clif.h b/src/map/clif.h
index daca310ef..a1246f97a 100644
--- a/src/map/clif.h
+++ b/src/map/clif.h
@@ -26,6 +26,13 @@ struct guild;
#include <stdarg.h>
// server->client protocol version
+// v0 - pre-?
+// v1 - ? - 0x196
+// v2 - ? - 0x78, 0x79
+// v3 - ? - 0x1c8, 0x1c9, 0x1de
+// v4 - ? - 0x1d7, 0x1d8, 0x1d9, 0x1da
+// v5 - 2003-12-18aSakexe+ - 0x1ee, 0x1ef, 0x1f0
+// v6 - 2004-03-02aSakexe+ - 0x1f4, 0x1f5
// v7 - 2005-04-11aSakexe+ - 0x229, 0x22a, 0x22b, 0x22c
// v8 - 2007-05-21aSakexe+ - 0x283
// v9 - 2007-11-06aSakexe+ - 0x78, 0x7c, 0x22c
@@ -168,7 +175,7 @@ void clif_hotkeys_send(struct map_session_data *sd);
// trade
void clif_traderequest(struct map_session_data* sd, const char* name);
-void clif_tradestart(struct map_session_data* sd, int type);
+void clif_tradestart(struct map_session_data* sd, uint8 type);
void clif_tradeadditem(struct map_session_data* sd, struct map_session_data* tsd, int index, int amount);
void clif_tradeitemok(struct map_session_data* sd, int index, int fail);
void clif_tradedeal_lock(struct map_session_data* sd, int fail);