diff options
author | madmaxoft <github@xoft.cz> | 2014-04-01 09:32:14 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-01 09:32:14 +0200 |
commit | 7aa6a3b86663ef28295ffb914f66a8f0359a353f (patch) | |
tree | 13285d8d715722e89c5eb61b40b0550b82858c4b /src/CompositeChat.h | |
parent | APIDump: Documented the cCompositeChat support in logging functions. (diff) | |
download | cuberite-7aa6a3b86663ef28295ffb914f66a8f0359a353f.tar cuberite-7aa6a3b86663ef28295ffb914f66a8f0359a353f.tar.gz cuberite-7aa6a3b86663ef28295ffb914f66a8f0359a353f.tar.bz2 cuberite-7aa6a3b86663ef28295ffb914f66a8f0359a353f.tar.lz cuberite-7aa6a3b86663ef28295ffb914f66a8f0359a353f.tar.xz cuberite-7aa6a3b86663ef28295ffb914f66a8f0359a353f.tar.zst cuberite-7aa6a3b86663ef28295ffb914f66a8f0359a353f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/CompositeChat.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CompositeChat.h b/src/CompositeChat.h index 0f56cde9b..5b9c5f612 100644 --- a/src/CompositeChat.h +++ b/src/CompositeChat.h @@ -173,6 +173,10 @@ public: const cParts & GetParts(void) const { return m_Parts; } + /** Converts the MessageType to a LogLevel value. + Used by the logging bindings when logging a cCompositeChat object. */ + static cMCLogger::eLogLevel MessageTypeToLogLevel(eMessageType a_MessageType); + protected: /** All the parts that */ cParts m_Parts; |