diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-06 23:39:24 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-06 23:39:24 +0000 |
commit | 6dcb99e42257de276814d3fe42a19c8f85e776d2 (patch) | |
tree | f1c78b005030bdb010ef54e49b96d44127e98b9a /src/map/intif.h | |
parent | 5b1d1678fd03d6c780e933f6e464e3b02a860c0d (diff) | |
download | hercules-6dcb99e42257de276814d3fe42a19c8f85e776d2.tar.gz hercules-6dcb99e42257de276814d3fe42a19c8f85e776d2.tar.bz2 hercules-6dcb99e42257de276814d3fe42a19c8f85e776d2.tar.xz hercules-6dcb99e42257de276814d3fe42a19c8f85e776d2.zip |
- Modified the party_data structure on the map server to remove some redundant data. Added a party_data structure on the char-server to hold a more complete set of information about parties. Added to the party_member structure the class of each member so that the map server can do the appropiate checks even if the character is on another mapserver/offline. Due to the format changes in the party structure, txt servers will have to wipe their party file... (sql save format has not been changed)
- Added function char_family to check if there's a family state given the three character ids, instead of doing individual checks all the time.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7553 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/intif.h')
-rw-r--r-- | src/map/intif.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/intif.h b/src/map/intif.h index 43a6c17a2..38a2cace7 100644 --- a/src/map/intif.h +++ b/src/map/intif.h @@ -21,9 +21,10 @@ int intif_request_guild_storage(int account_id, int guild_id); int intif_send_guild_storage(int account_id, struct guild_storage *gstor);
-int intif_create_party(struct map_session_data *sd,char *name,int item,int item2);
+int intif_create_party(struct party_member *member,char *name,int item,int item2);
int intif_request_partyinfo(int party_id);
-int intif_party_addmember(int party_id, struct map_session_data *sd);
+
+int intif_party_addmember(int party_id,struct party_member *member);
int intif_party_changeoption(int party_id, int account_id, int exp, int item);
int intif_party_leave(int party_id,int account_id, int char_id);
int intif_party_changemap(struct map_session_data *sd, int online);
|