OpenTTD Source 20241224-master-gee860a5c8e
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 38 of file network_chat_gui.cpp.

Field Documentation

◆ colour

TextColour ChatMessage::colour

The colour of the message.

Definition at line 40 of file network_chat_gui.cpp.

Referenced by NetworkAddChatMessage().

◆ message

std::string ChatMessage::message

The action message.

Definition at line 39 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 41 of file network_chat_gui.cpp.

Referenced by NetworkAddChatMessage().


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