diff options
Diffstat (limited to 'src/chatlogpiece.h')
| -rw-r--r-- | src/chatlogpiece.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/chatlogpiece.h b/src/chatlogpiece.h new file mode 100644 index 00000000..d6a00339 --- /dev/null +++ b/src/chatlogpiece.h @@ -0,0 +1,21 @@ +#pragma once + +#include <QCoreApplication> +#include <QDateTime> +#include <QString> + +class ChatLogPiece +{ + Q_DECLARE_TR_FUNCTIONS(ChatLogPiece) + +public: + QString character; + QString character_name; + QString message; + QString action; + QDateTime timestamp; + bool local_player = false; + int color = 0; + + QString toString(); +}; |
