Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
ChatMessage Struct Reference

#include <chatmessage.h>

+ Collaboration diagram for ChatMessage:

Public Member Functions

 ChatMessage (const std::wstring &m=L"")
 
 ChatMessage (ChatMessageType t, const std::wstring &m, const std::wstring &s=L"", std::time_t ts=std::time(0))
 

Public Attributes

ChatMessageType type = CHATMESSAGE_TYPE_RAW
 
std::wstring message = L""
 
std::wstring sender = L""
 
std::time_t timestamp = std::time(0)
 

Constructor & Destructor Documentation

◆ ChatMessage() [1/2]

ChatMessage::ChatMessage ( const std::wstring & m = L"")
inline

◆ ChatMessage() [2/2]

ChatMessage::ChatMessage ( ChatMessageType t,
const std::wstring & m,
const std::wstring & s = L"",
std::time_t ts = std::time(0) )
inline

Member Data Documentation

◆ message

std::wstring ChatMessage::message = L""

◆ sender

std::wstring ChatMessage::sender = L""

◆ timestamp

std::time_t ChatMessage::timestamp = std::time(0)

◆ type


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