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

#include <replay.hpp>

Public Member Functions

const std::stringtext () const
 
const std::stringnick () const
 
const std::stringcolor () const
 
const time_t & time () const
 
 chat_msg (const config &cfg)
 
virtual ~chat_msg ()
 

Private Attributes

std::string color_
 
std::string nick_
 
std::string text_
 
time_t time_
 

Detailed Description

Definition at line 37 of file replay.hpp.

Constructor & Destructor Documentation

chat_msg::chat_msg ( const config cfg)

Definition at line 146 of file replay.cpp.

References color_, team::get_side_highlight_pango(), get_time(), LOG_REPLAY, nick_, and time_.

chat_msg::~chat_msg ( )
virtual

Definition at line 178 of file replay.cpp.

Member Function Documentation

const std::string& chat_msg::color ( ) const
inline

Definition at line 41 of file replay.hpp.

References color_.

const std::string& chat_msg::nick ( ) const
inline

Definition at line 40 of file replay.hpp.

References nick_.

const std::string& chat_msg::text ( ) const
inline

Definition at line 39 of file replay.hpp.

References text_.

const time_t& chat_msg::time ( ) const
inline

Definition at line 42 of file replay.hpp.

References time_.

Member Data Documentation

std::string chat_msg::color_
private

Definition at line 46 of file replay.hpp.

Referenced by chat_msg(), and color().

std::string chat_msg::nick_
private

Definition at line 47 of file replay.hpp.

Referenced by chat_msg(), and nick().

std::string chat_msg::text_
private

Definition at line 48 of file replay.hpp.

Referenced by text().

time_t chat_msg::time_
private

Definition at line 49 of file replay.hpp.

Referenced by chat_msg(), and time().


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