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

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

#include <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 27 of file data.hpp.

Constructor & Destructor Documentation

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

Create a chat message.

Definition at line 42 of file data.cpp.

Member Data Documentation

std::string chat_message::message

Definition at line 36 of file data.hpp.

time_t chat_message::timestamp

Definition at line 34 of file data.hpp.

std::string chat_message::user

Definition at line 35 of file data.hpp.


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