From a0341d561a177bcd1ed45229129065556c261049 Mon Sep 17 00:00:00 2001 From: Heiko Hund Date: Sat, 27 May 2017 03:15:56 +0200 Subject: Add rank prefix and suffix to player name in chat (#3730) Fixes issue #1721 --- src/Entities/Player.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Entities/Player.h') diff --git a/src/Entities/Player.h b/src/Entities/Player.h index 02f187e31..d25432e9f 100644 --- a/src/Entities/Player.h +++ b/src/Entities/Player.h @@ -285,6 +285,12 @@ public: The returned value either is empty, or includes the cChatColor::Delimiter. */ AString GetColor(void) const; + /** Returns the player name prefix, may contain @ format directives */ + AString GetPrefix(void) const; + + /** Returns the player name suffix, may contain @ format directives */ + AString GetSuffix(void) const; + /** Returns the name that is used in the playerlist. */ AString GetPlayerListName(void) const; -- cgit v1.2.3