diff options
author | David Athay <ko2fan@gmail.com> | 2008-07-03 16:52:52 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-07-03 16:52:52 +0000 |
commit | 1c1c3ad9029ab4796b0c27013ac317e566716039 (patch) | |
tree | 25193ad310ae7b70f140d22b8f285b191d78af7f /src/game-server/character.hpp | |
parent | b4277aadb5c24b3459f7085bcdb8911fdb70799d (diff) | |
download | manaserv-1c1c3ad9029ab4796b0c27013ac317e566716039.tar.gz manaserv-1c1c3ad9029ab4796b0c27013ac317e566716039.tar.bz2 manaserv-1c1c3ad9029ab4796b0c27013ac317e566716039.tar.xz manaserv-1c1c3ad9029ab4796b0c27013ac317e566716039.zip |
Removed guild stuff from game server and added some party stuff to it.
Diffstat (limited to 'src/game-server/character.hpp')
-rw-r--r-- | src/game-server/character.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/game-server/character.hpp b/src/game-server/character.hpp index 5e26b96c..220f5c38 100644 --- a/src/game-server/character.hpp +++ b/src/game-server/character.hpp @@ -187,6 +187,14 @@ class Character : public Being void setAccountLevel(int l) { mAccountLevel = l; } + /** Gets the party id of the character */ + int getParty() const + { return mPartyId; } + + /** Sets the party id of the character */ + void setParty(int party) + { mParty = party; } + /** * Sends a message that informs the client about attribute * modified since last call. @@ -336,6 +344,7 @@ class Character : public Being bool mUpdateLevelProgress; /**< flag raised when percent to next level changed */ bool mRecalculateLevel; /**< flag raised when the character level might have increased */ unsigned char mAccountLevel; /**< Account level of the user. */ + int mParty; /**< Party id of the character */ TransactionType mTransaction; /**< Trade/buy/sell action the character is involved in. */ protected: |