Public Member Functions | Public Attributes

chat_message Struct Reference

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

#include <lobby_data.hpp>

Collaboration diagram for chat_message:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

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

Detailed Description

This class represenst a single stored chat message.

Definition at line 28 of file lobby_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 lobby_data.cpp.


Member Data Documentation

std::string chat_message::message

Definition at line 35 of file lobby_data.hpp.

Definition at line 33 of file lobby_data.hpp.

std::string chat_message::user

Definition at line 34 of file lobby_data.hpp.


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:11:44 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs