diff options
author | madmaxoft <github@xoft.cz> | 2014-08-08 16:38:38 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-08-08 16:38:38 +0200 |
commit | a5b35e09ce1e352d4c57e66750a72335fc60d4b2 (patch) | |
tree | b06b5b1354af8729695eba10ac6623fcfddf064b /src/RankManager.h | |
parent | RankMgr: Implemented the basic API functions. (diff) | |
download | cuberite-a5b35e09ce1e352d4c57e66750a72335fc60d4b2.tar cuberite-a5b35e09ce1e352d4c57e66750a72335fc60d4b2.tar.gz cuberite-a5b35e09ce1e352d4c57e66750a72335fc60d4b2.tar.bz2 cuberite-a5b35e09ce1e352d4c57e66750a72335fc60d4b2.tar.lz cuberite-a5b35e09ce1e352d4c57e66750a72335fc60d4b2.tar.xz cuberite-a5b35e09ce1e352d4c57e66750a72335fc60d4b2.tar.zst cuberite-a5b35e09ce1e352d4c57e66750a72335fc60d4b2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/RankManager.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/RankManager.h b/src/RankManager.h index 0c35b555f..9a1828275 100644 --- a/src/RankManager.h +++ b/src/RankManager.h @@ -28,13 +28,16 @@ public: /** Returns the permissions that the specified player has assigned to them. */ AStringVector GetPlayerPermissions(const AString & a_PlayerUUID); - /** Returns the names of groups that the specified rank has assigned to it. */ + /** Returns the names of groups that the specified rank has assigned to it. + Returns an empty vector if the rank doesn't exist. */ AStringVector GetRankGroups(const AString & a_RankName); - /** Returns the permissions that the specified group has assigned to it. */ + /** Returns the permissions that the specified group has assigned to it. + Returns an empty vector if the group doesn't exist. */ AStringVector GetGroupPermissions(const AString & a_GroupName); - /** Returns all permissions that the specified rank has assigned to it, through all its groups. */ + /** Returns all permissions that the specified rank has assigned to it, through all its groups. + Returns an empty vector if the rank doesn't exist. Any non-existent groups are ignored. */ AStringVector GetRankPermissions(const AString & a_RankName); /** Returns the names of all defined ranks. */ |