summaryrefslogtreecommitdiffstats
path: root/src/Entities/Player.h
diff options
context:
space:
mode:
authorHeiko Hund <heiko.hund@sophos.com>2017-05-27 03:15:56 +0200
committerworktycho <work.tycho@gmail.com>2017-05-27 03:15:56 +0200
commita0341d561a177bcd1ed45229129065556c261049 (patch)
treec67f40459dfe67a331511ac6255d9fb2cae9f87c /src/Entities/Player.h
parentExported boat (diff)
downloadcuberite-a0341d561a177bcd1ed45229129065556c261049.tar
cuberite-a0341d561a177bcd1ed45229129065556c261049.tar.gz
cuberite-a0341d561a177bcd1ed45229129065556c261049.tar.bz2
cuberite-a0341d561a177bcd1ed45229129065556c261049.tar.lz
cuberite-a0341d561a177bcd1ed45229129065556c261049.tar.xz
cuberite-a0341d561a177bcd1ed45229129065556c261049.tar.zst
cuberite-a0341d561a177bcd1ed45229129065556c261049.zip
Diffstat (limited to 'src/Entities/Player.h')
-rw-r--r--src/Entities/Player.h6
1 files changed, 6 insertions, 0 deletions
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;