diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-09-28 15:16:11 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-09-28 15:16:11 +0200 |
commit | 63c53a8e23776cc3011fd0260857bd22274e2c62 (patch) | |
tree | 014d4498cffa77ce5bf504abe96e7d23832c9d5b /src/RankManager.h | |
parent | Updated api documentation. (diff) | |
download | cuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.tar cuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.tar.gz cuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.tar.bz2 cuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.tar.lz cuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.tar.xz cuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.tar.zst cuberite-63c53a8e23776cc3011fd0260857bd22274e2c62.zip |
Diffstat (limited to '')
-rw-r--r-- | src/RankManager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/RankManager.h b/src/RankManager.h index b577fad05..acfcdb01d 100644 --- a/src/RankManager.h +++ b/src/RankManager.h @@ -217,6 +217,10 @@ public: /** Returns the name of the default rank. */ const AString & GetDefaultRank(void) const { return m_DefaultRank; } + + /** Removes all player ranks from the database. Note that this doesn't change the cPlayer instances + for the already connected players, you need to update all the instances manually. */ + void ClearPlayerRanks(void); /** Updates the playername that is saved with this uuid. Returns false if a error occurred */ bool UpdatePlayerName(const AString & a_PlayerUUID, const AString & a_NewPlayerName); |