The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
mp::chat_message Struct Reference

This class represents a single stored chat message. More...

#include <lobby_data.hpp>

Public Member Functions

 chat_message (const time_t &timestamp, const std::string &user, const std::string &message)
 Create a chat message. More...
 

Public Attributes

time_t timestamp
 
std::string user
 
std::string message
 

Detailed Description

This class represents a single stored chat message.

Definition at line 28 of file lobby_data.hpp.

Constructor & Destructor Documentation

mp::chat_message::chat_message ( const time_t &  timestamp,
const std::string &  user,
const std::string &  message 
)

Create a chat message.

Definition at line 50 of file lobby_data.cpp.

Member Data Documentation

std::string mp::chat_message::message

Definition at line 37 of file lobby_data.hpp.

time_t mp::chat_message::timestamp

Definition at line 35 of file lobby_data.hpp.

std::string mp::chat_message::user

Definition at line 36 of file lobby_data.hpp.


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