summaryrefslogtreecommitdiffstats
path: root/src/RankManager.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-08-09 17:36:19 +0200
committermadmaxoft <github@xoft.cz>2014-08-09 17:36:19 +0200
commit0001a7c9fc2359078968565a8ab464509362b776 (patch)
treee075ad4035364380a3ee26aa1714996a7ff364bb /src/RankManager.h
parentMerge remote-tracking branch 'origin/master' into Ranks (diff)
downloadcuberite-0001a7c9fc2359078968565a8ab464509362b776.tar
cuberite-0001a7c9fc2359078968565a8ab464509362b776.tar.gz
cuberite-0001a7c9fc2359078968565a8ab464509362b776.tar.bz2
cuberite-0001a7c9fc2359078968565a8ab464509362b776.tar.lz
cuberite-0001a7c9fc2359078968565a8ab464509362b776.tar.xz
cuberite-0001a7c9fc2359078968565a8ab464509362b776.tar.zst
cuberite-0001a7c9fc2359078968565a8ab464509362b776.zip
Diffstat (limited to '')
-rw-r--r--src/RankManager.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/RankManager.h b/src/RankManager.h
index e13febdac..0a43bfe5d 100644
--- a/src/RankManager.h
+++ b/src/RankManager.h
@@ -121,6 +121,15 @@ public:
const AString & a_MsgNameColorCode
);
+ /** Returns the message visuals of an existing rank.
+ Returns true if successful, false on error (rank doesn't exist). */
+ bool GetRankVisuals(
+ const AString & a_RankName,
+ AString & a_MsgPrefix,
+ AString & a_MsgSuffix,
+ AString & a_MsgNameColorCode
+ );
+
/** Returns true iff the specified rank exists in the DB. */
bool RankExists(const AString & a_RankName);