summaryrefslogtreecommitdiffstats
path: root/src/CompositeChat.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-20 23:49:21 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-20 23:49:21 +0200
commit576e17ae08ddd0dcff625134325bfceeab956906 (patch)
treeca186993781472a5c8138f64e966f6355b6e329e /src/CompositeChat.h
parentUpdate Player.cpp (diff)
downloadcuberite-576e17ae08ddd0dcff625134325bfceeab956906.tar
cuberite-576e17ae08ddd0dcff625134325bfceeab956906.tar.gz
cuberite-576e17ae08ddd0dcff625134325bfceeab956906.tar.bz2
cuberite-576e17ae08ddd0dcff625134325bfceeab956906.tar.lz
cuberite-576e17ae08ddd0dcff625134325bfceeab956906.tar.xz
cuberite-576e17ae08ddd0dcff625134325bfceeab956906.tar.zst
cuberite-576e17ae08ddd0dcff625134325bfceeab956906.zip
Diffstat (limited to 'src/CompositeChat.h')
-rw-r--r--src/CompositeChat.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/CompositeChat.h b/src/CompositeChat.h
index 209d9d925..1ad196f1d 100644
--- a/src/CompositeChat.h
+++ b/src/CompositeChat.h
@@ -169,8 +169,10 @@ public:
Recognizes "http:" and "https:" URLs and @color-codes. */
void ParseText(const AString & a_ParseText);
- /** Sets the message type, which is indicated by prefixes added to the message when serializing. */
- void SetMessageType(eMessageType a_MessageType, const AString & a_AdditionalMessageTypeata = "");
+ /** Sets the message type, which is indicated by prefixes added to the message when serializing
+ Takes optional AdditionalMessageTypeData to set m_AdditionalMessageTypeData. See said variable for more documentation.
+ */
+ void SetMessageType(eMessageType a_MessageType, const AString & a_AdditionalMessageTypeData = "");
/** Adds the "underline" style to each part that is an URL. */
void UnderlineUrls(void);