From 6dcb99e42257de276814d3fe42a19c8f85e776d2 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 6 Jul 2006 23:39:24 +0000 Subject: - 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 --- src/common/mmo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/common/mmo.h') diff --git a/src/common/mmo.h b/src/common/mmo.h index 3509692a3..4f6a92b11 100644 --- a/src/common/mmo.h +++ b/src/common/mmo.h @@ -244,6 +244,7 @@ struct party_member { int account_id; int char_id; char name[NAME_LENGTH]; + unsigned short class_; unsigned short map; unsigned short lv; unsigned leader : 1, @@ -253,6 +254,7 @@ struct party_member { struct party { int party_id; char name[NAME_LENGTH]; + unsigned char count; //Count of online characters. unsigned exp : 1, item : 2; //&1: Party-Share (round-robin), &2: pickup style: shared. struct party_member member[MAX_PARTY]; -- cgit v1.2.3-70-g09d2