Info: Stores a chat history element.
More...
#include <gem.h>
|
| ChatHistoryEntry (const char *szLine, time_t t=0) |
| Info: Constructor. When no time is given, current time is used. More...
|
|
void | GetLogLine (csString &line) const |
| Prepends a string representation of the time to this chat line so it can be written to a log file. More...
|
|
|
csString | _line |
| Info: Actual text. (Preformated depending on chat type) More...
|
|
time_t | _time |
| Info: Time this line was said. More...
|
|
Info: Stores a chat history element.
Definition at line 1217 of file gem.h.
gemActor::ChatHistoryEntry::ChatHistoryEntry |
( |
const char * |
szLine, |
|
|
time_t |
t = 0 |
|
) |
| |
Info: Constructor. When no time is given, current time is used.
void gemActor::ChatHistoryEntry::GetLogLine |
( |
csString & |
line | ) |
const |
Prepends a string representation of the time to this chat line so it can be written to a log file.
The resulting line is written to 'line' argument (reference). Note: this function also applies
to the line end.
csString gemActor::ChatHistoryEntry::_line |
Info: Actual text. (Preformated depending on chat type)
Definition at line 1223 of file gem.h.
time_t gemActor::ChatHistoryEntry::_time |
Info: Time this line was said.
Definition at line 1220 of file gem.h.
The documentation for this struct was generated from the following file: