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/char/char.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/char/char.h')
-rw-r--r-- | src/char/char.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/char/char.h b/src/char/char.h index 773532035..780e8ba6e 100644 --- a/src/char/char.h +++ b/src/char/char.h @@ -23,6 +23,7 @@ struct mmo_map_server{ unsigned short map[MAX_MAP_PER_SERVER];
};
+struct mmo_charstatus* search_character(int aid, int cid);
int search_character_index(char* character_name);
char * search_character_name(int index);
@@ -32,6 +33,7 @@ int mapif_send(int fd,unsigned char *buf, unsigned int len); int char_married(int pl1,int pl2);
int char_child(int parent_id, int child_id);
+int char_family(int cid1, int cid2, int cid3);
int char_log(char *fmt, ...);
|