diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-05-20 23:49:21 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-05-20 23:49:21 +0200 |
commit | 576e17ae08ddd0dcff625134325bfceeab956906 (patch) | |
tree | ca186993781472a5c8138f64e966f6355b6e329e /src | |
parent | Update Player.cpp (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/CompositeChat.h | 6 |
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); |