summaryrefslogtreecommitdiffstats
path: root/src/CompositeChat.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-31 22:51:14 +0200
committermadmaxoft <github@xoft.cz>2014-03-31 22:51:14 +0200
commit8126d9e66ef1ac90db2660ae357c9aa1c14c7126 (patch)
tree50b5d1fe0106761a31de387f4574b592bc9fb28d /src/CompositeChat.h
parentAPIDump: Added code completion support file to ZBS tutorial. (diff)
downloadcuberite-8126d9e66ef1ac90db2660ae357c9aa1c14c7126.tar
cuberite-8126d9e66ef1ac90db2660ae357c9aa1c14c7126.tar.gz
cuberite-8126d9e66ef1ac90db2660ae357c9aa1c14c7126.tar.bz2
cuberite-8126d9e66ef1ac90db2660ae357c9aa1c14c7126.tar.lz
cuberite-8126d9e66ef1ac90db2660ae357c9aa1c14c7126.tar.xz
cuberite-8126d9e66ef1ac90db2660ae357c9aa1c14c7126.tar.zst
cuberite-8126d9e66ef1ac90db2660ae357c9aa1c14c7126.zip
Diffstat (limited to 'src/CompositeChat.h')
-rw-r--r--src/CompositeChat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CompositeChat.h b/src/CompositeChat.h
index d5f4ebb24..0f56cde9b 100644
--- a/src/CompositeChat.h
+++ b/src/CompositeChat.h
@@ -164,6 +164,11 @@ public:
/** Returns the message type set previously by SetMessageType(). */
eMessageType GetMessageType(void) const { return m_MessageType; }
+ /** Returns the text from the parts that comprises the human-readable data.
+ Used for older protocols that don't support composite chat
+ and for console-logging. */
+ AString ExtractText(void) const;
+
// tolua_end
const cParts & GetParts(void) const { return m_Parts; }