diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-02-24 06:50:35 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-02-24 07:55:20 -0700 |
commit | f6d50d0cbe12f8799e6fec844816defc8711df37 (patch) | |
tree | 344f28132bd3aa54ce058e92b4696d00f3a7bc0c /src/player.h | |
parent | 3adb0710b9b0262b7d7a03aa687e78c232f04d06 (diff) | |
download | mana-f6d50d0cbe12f8799e6fec844816defc8711df37.tar.gz mana-f6d50d0cbe12f8799e6fec844816defc8711df37.tar.bz2 mana-f6d50d0cbe12f8799e6fec844816defc8711df37.tar.xz mana-f6d50d0cbe12f8799e6fec844816defc8711df37.zip |
Add more to eAthena guild support
It's not complete yet, but it is closer. Also fix up handling of guild/party members.
Reviewed-by: Chuck Miller
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h index 170bcb72..670f6d84 100644 --- a/src/player.h +++ b/src/player.h @@ -105,6 +105,16 @@ class Player : public Being Guild *getGuild(int id) const; /** + * Returns all guilds the player is in. + */ + const std::map<int, Guild*> &getGuilds() const; + + /** + * Removes all guilds the player is in. + */ + void clearGuilds(); + + /** * Get number of guilds the player belongs to. */ short getNumberOfGuilds() const { return mGuilds.size(); } |