summaryrefslogtreecommitdiff
path: root/src/message.hpp
blob: 7b47a9dbfed44d4478a83c1f16e75aca303b3e55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#pragma once

#include "h-basic.h"

#include <string>

/**
 * Message
 */
struct message {
	/**
	 * Message color.
	 */
	byte color = 0;

	/**
	 * Repetation count for this message.
	 */
	u32b count = 0;

	/**
	 * Message text.
	 */
	std::string text;

	/**
	 * Get message text with count
	 */
	std::string text_with_count() const;

};