OpenTTD Source: ChatMessage Struct Reference

OpenTTD Source 15.3

Data Fields
ChatMessage Struct Reference

Container for a message. More...

## Data Fields
std::string | message
| The action message.
TextColour | colour
| The colour of the message.
std::chrono::steady_clock::time_point | remove_time
| The time to remove the message.

## Detailed Description

Container for a message.

Definition at line 37 of file network_chat_gui.cpp.

## Field Documentation

## ◆ colour

TextColour ChatMessage::colour

The colour of the message.

Definition at line 39 of file network_chat_gui.cpp.

Referenced by NetworkAddChatMessage().

## ◆ message

std::string ChatMessage::message

The action message.

Definition at line 38 of file network_chat_gui.cpp.

Referenced by NetworkAddChatMessage().

## ◆ remove_time

std::chrono::steady_clock::time_point ChatMessage::remove_time

The time to remove the message.

Definition at line 40 of file network_chat_gui.cpp.

Referenced by NetworkAddChatMessage().

The documentation for this struct was generated from the following file:

- src/network/network_chat_gui.cpp